Selection Class Reference
[Scene]

Collection of selected items. More...

#include <Selection.hpp>

List of all members.

Public Types

typedef set< Drawable
*, Identifiable::Comparator >
::iterator 
iterator

Public Member Functions

void add (Node *node)
void addAll (Node *node)
void addListener (NodeListener *listener)
iterator begin ()
void clear ()
void fireEvent ()
iterator end ()
void remove (Node *node)

Private Attributes

set< Drawable
*, Identifiable::Comparator > 
items
NodeNotifier notifier
Nodeactive

Detailed Description

Collection of selected items.


Member Function Documentation

void add ( Node node  ) 

Adds a single item to the selection.

void addAll ( Node node  ) 

Recursively adds all the children of a node.

Selection::iterator begin (  )  [inline]
Returns:
iterator to the beginning of the selection.
void clear (  ) 

Removes all the items from the selection.

Selection::iterator end (  )  [inline]
Returns:
iterator to the end of the selection.
void remove ( Node node  ) 

Removes a single item from the selection.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:36 2010 for Gander by  doxygen 1.6.3