#include <BALL/VIEW/KERNEL/message.h>
Public Member Functions | |
Constructors and Destructors | |
GeometricObjectSelectionMessage () | |
virtual | ~GeometricObjectSelectionMessage () |
Accessors: inspectors and mutators | |
void | setSelection (const List< GeometricObject * > &selection) |
const List< GeometricObject * > & | getSelection () const |
void | setSelected (bool state) |
Set the GeometricObject's to be selected or deselected. | |
bool | isSelected () const |
Query if the GeometricObject are selected or deselected. | |
Private Attributes | |
List< GeometricObject * > | selection_ |
bool | state_ |
GeometricObjectSelectionMessage class.
BALL::VIEW::GeometricObjectSelectionMessage::GeometricObjectSelectionMessage | ( | ) |
Default Constructor.
virtual BALL::VIEW::GeometricObjectSelectionMessage::~GeometricObjectSelectionMessage | ( | ) | [virtual] |
Destructor.
const List<GeometricObject*>& BALL::VIEW::GeometricObjectSelectionMessage::getSelection | ( | ) | const [inline] |
Non-mutable inspection of the selection of Composite objects.
bool BALL::VIEW::GeometricObjectSelectionMessage::isSelected | ( | ) | const [inline] |
Query if the GeometricObject are selected or deselected.
void BALL::VIEW::GeometricObjectSelectionMessage::setSelected | ( | bool | state | ) | [inline] |
Set the GeometricObject's to be selected or deselected.
void BALL::VIEW::GeometricObjectSelectionMessage::setSelection | ( | const List< GeometricObject * > & | selection | ) | [inline] |
Change the selection of Composite objects. The selection list will be copied from the given list.