#include <BALL/VIEW/KERNEL/message.h>
Public Types | |
Enumeration | |
enum | SceneMessageType { UNDEFINED = 0, REBUILD_DISPLAY_LISTS, REDRAW, UPDATE_CAMERA, REMOVE_COORDINATE_SYSTEM, EXPORT_PNG, EXPORT_POVRAY, ENTER_ROTATE_MODE, ENTER_PICKING_MODE, ENTER_MOVE_MODE } |
Types for SceneMessages. More... | |
Public Member Functions | |
Constructors and Destructors | |
SceneMessage (SceneMessageType type=UNDEFINED) | |
SceneMessage (const SceneMessage &message) | |
virtual | ~SceneMessage () |
Accessors: inspectors and mutators | |
void | setType (SceneMessageType type) |
Set the type of the Message. | |
SceneMessageType | getType () const |
Get the type of the message. | |
void | setStage (Stage stage) |
Stage & | getStage () |
Get the Stage in this message. | |
const Stage & | getStage () const |
Get the Stage in this message. | |
Private Attributes | |
SceneMessageType | type_ |
Stage | stage_ |
SceneMessage is the message class that is responsible for changing the content of the Scene. ConnectionObject objects that would like to have the Scene focus on another Composite or would like to update the contents of the Scene (because of some changes in the composite structure) will sent this message. There are methods available that will tell the Scene to update its contents or change the camera positions.
Types for SceneMessages.
UNDEFINED | |
REBUILD_DISPLAY_LISTS |
Rebuild the GLDisplayList objects in the GLRenderer. |
REDRAW |
Redraw from the GLDisplayList objects. |
UPDATE_CAMERA | |
REMOVE_COORDINATE_SYSTEM |
Remove the coordinate system in the Scene. |
EXPORT_PNG |
Export a PNG. |
EXPORT_POVRAY |
Export a POVRay. |
ENTER_ROTATE_MODE | |
ENTER_PICKING_MODE | |
ENTER_MOVE_MODE |
Move Composites or a Clipping Plane. |
BALL::VIEW::SceneMessage::SceneMessage | ( | SceneMessageType | type = UNDEFINED |
) |
Default Constructor. The state of this sceneMessage is set to:
BALL::VIEW::SceneMessage::SceneMessage | ( | const SceneMessage & | message | ) |
Copy constructor.
virtual BALL::VIEW::SceneMessage::~SceneMessage | ( | ) | [virtual] |
Destructor.
SceneMessageType BALL::VIEW::SceneMessage::getType | ( | ) | const [inline] |
Get the type of the message.
Referenced by BALL::VIEW::DemoTutorialDialog::onNotifyDemo_().
void BALL::VIEW::SceneMessage::setType | ( | SceneMessageType | type | ) |
Set the type of the Message.
Stage BALL::VIEW::SceneMessage::stage_ [private] |