Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

oxygen::Scene Class Reference

Scene is the root node of a simulatable/displayable hierarchy. More...

#include <scene.h>

Inheritance diagram for oxygen::Scene:

Inheritance graph
[legend]
Collaboration diagram for oxygen::Scene:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Scene ()
 ~Scene ()
virtual const salt::MatrixGetWorldTransform () const
 returns the world transform of this node (always identity, terminates upward recursion)
virtual void SetWorldTransform (const salt::Matrix &transform)
 sets the world transform of this node
void SetModified (bool modified)
 marks the scene as modified, i.e.
bool GetModified ()
 returns true iff the scene is marked modified

Protected Attributes

bool mModified
 true, if the scene is modified

Detailed Description

Scene is the root node of a simulatable/displayable hierarchy.

It is usually created via the scene server.

Definition at line 46 of file scene.h.


Constructor & Destructor Documentation

Scene::Scene  ) 
 

Definition at line 29 of file scene.cpp.

Scene::~Scene  ) 
 

Definition at line 33 of file scene.cpp.


Member Function Documentation

bool Scene::GetModified  ) 
 

returns true iff the scene is marked modified

Definition at line 51 of file scene.cpp.

References mModified.

const salt::Matrix & Scene::GetWorldTransform  )  const [virtual]
 

returns the world transform of this node (always identity, terminates upward recursion)

Reimplemented from oxygen::BaseNode.

Definition at line 37 of file scene.cpp.

References oxygen::BaseNode::mIdentityMatrix.

void Scene::SetModified bool  modified  ) 
 

marks the scene as modified, i.e.

scene nodes were added or removed since the last update. This useful for monitors to decide between an incremental or a full state update

Definition at line 46 of file scene.cpp.

References mModified.

void Scene::SetWorldTransform const salt::Matrix transform  )  [virtual]
 

sets the world transform of this node

Reimplemented from oxygen::BaseNode.

Definition at line 42 of file scene.cpp.


Member Data Documentation

bool oxygen::Scene::mModified [protected]
 

true, if the scene is modified

Definition at line 70 of file scene.h.

Referenced by GetModified(), and SetModified().


The documentation for this class was generated from the following files:
Generated on Thu Apr 6 15:47:07 2006 for rcssserver3d by  doxygen 1.4.4