BALL
1.5.0
|
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 , UPDATE_PROPERTIES } |
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 |
![]() | |
Message () | |
Message (const Message &message) | |
virtual | ~Message () |
void | setSender (const ConnectionObject *sender) |
const ConnectionObject * | getSender () const |
void | setDeletable (bool flag=true) |
bool | isDeletable () const |
boost::any & | data () |
Base class for all messages concerning a Representation.
Types of RepresentationMessage.
Enumerator | |
---|---|
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 don't update in Scene. |
UPDATE_PROPERTIES | Update properties of Representation in GeometricControl, but don't update in Scene. |
BALL::VIEW::RepresentationMessage::RepresentationMessage | ( | ) |
|
virtual |
BALL::VIEW::RepresentationMessage::RepresentationMessage | ( | Representation & | rep, |
RepresentationMessageType | type | ||
) |
|
inline |
|
inline |
|
inline |
void BALL::VIEW::RepresentationMessage::setType | ( | RepresentationMessageType | type | ) |