Base class for all messages concerning a Representation. More...
#include <BALL/VIEW/KERNEL/message.h>
Public Types | |
enum | RepresentationMessageType { UNDEFINED = -1, ADD = 0, REMOVE, UPDATE, SELECTED, STARTED_UPDATE, FINISHED_UPDATE, ADD_TO_GEOMETRIC_CONTROL } |
Types of RepresentationMessage. More... | |
Public Member Functions | |
RepresentationMessage () | |
virtual | ~RepresentationMessage () |
RepresentationMessage (Representation &rep, RepresentationMessageType type) | |
void | setRepresentation (Representation &rep) |
Representation * | getRepresentation () |
void | setType (RepresentationMessageType type) |
RepresentationMessageType | getType () const |
Private Attributes | |
Representation * | representation_ |
RepresentationMessageType | type_ |
Base class for all messages concerning a Representation.
Definition at line 558 of file message.h.
Types of RepresentationMessage.
UNDEFINED |
Default Value. |
ADD |
Add a Representation. |
REMOVE |
Remove a Representation. |
UPDATE |
Update the Representation. |
SELECTED |
Representation was selected in GeometriControl. |
STARTED_UPDATE |
Started the update of a Representation, no changes allowed in GeometricControl. |
FINISHED_UPDATE |
Finished the update of a Representation. |
ADD_TO_GEOMETRIC_CONTROL |
Add a Representation to GeometricControl, but dont update in Scene. |
BALL::VIEW::RepresentationMessage::RepresentationMessage | ( | ) |
virtual BALL::VIEW::RepresentationMessage::~RepresentationMessage | ( | ) | [virtual] |
BALL::VIEW::RepresentationMessage::RepresentationMessage | ( | Representation & | rep, | |
RepresentationMessageType | type | |||
) |
Representation* BALL::VIEW::RepresentationMessage::getRepresentation | ( | ) | [inline] |
RepresentationMessageType BALL::VIEW::RepresentationMessage::getType | ( | ) | const [inline] |
void BALL::VIEW::RepresentationMessage::setRepresentation | ( | Representation & | rep | ) | [inline] |
void BALL::VIEW::RepresentationMessage::setType | ( | RepresentationMessageType | type | ) |