Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::SceneMessage Class Reference
[Messages]

SceneMessage is the message class that is responsible for changing the content of the Scene. More...

#include <message.h>

Inheritance diagram for VIEW::SceneMessage:

VIEW::Message List of all members.

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) throw ()
 Default Constructor.
 SceneMessage (const SceneMessage &message) throw ()
 Copy constructor.
virtual ~SceneMessage () throw ()
 Destructor.
Accessors: inspectors and mutators
void setType (SceneMessageType type) throw ()
 Set the type of the Message.
SceneMessageType getType () const throw ()
 Get the type of the message.
void setStage (Stage stage) throw ()
 Set the Stage in this message.
StagegetStage () throw ()
 Get the Stage in this message.
const StagegetStage () const throw ()
 Get the Stage in this message.

Detailed Description

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.

Send by MainControl, GeometricControl and several dialogs.
Received by Scene


Member Enumeration Documentation

enum VIEW::SceneMessage::SceneMessageType
 

Types for SceneMessages.

Enumeration values:
REBUILD_DISPLAY_LISTS  Rebuild the GLDisplayList objects in the GLRenderer.
REDRAW  Redraw from the GLDisplayList objects.
UPDATE_CAMERA  Move the Camera in the Scene to the value in this message.
REMOVE_COORDINATE_SYSTEM  Remove the coordinate system in the Scene.
EXPORT_PNG  Export a PNG.
EXPORT_POVRAY  Export a POVRay.
ENTER_MOVE_MODE  Move Composites or a Clipping Plane.


Constructor & Destructor Documentation

VIEW::SceneMessage::SceneMessage SceneMessageType  type = UNDEFINED  )  throw ()
 

Default Constructor.

The state of this sceneMessage is set to:

  • type - UNDEFINED
  • camera - set to defaults

VIEW::SceneMessage::SceneMessage const SceneMessage message  )  throw ()
 

Copy constructor.

virtual VIEW::SceneMessage::~SceneMessage  )  throw () [virtual]
 

Destructor.


Member Function Documentation

void VIEW::SceneMessage::setStage Stage  stage  )  throw ()
 

Set the Stage in this message.