vtSceneBase Class Reference
[Scene Graph]

Inheritance diagram for vtSceneBase:

Inheritance graph
[legend]
List of all members.

Detailed Description

vtSceneBase provides the Scene methods that are common across all 3D libraries supported by vtlib. See vtScene for an overview of the Scene class.


Public Member Functions

void SetRootEngine (vtEngine *ptr)
 Set the top engine in the Engine graph.
vtEngineGetRootEngine ()
 Get the top engine in the Engine graph.
void SetPostDrawEngine (vtEngine *ptr)
 Set the top engine in the Engine graph.
vtEngineGetPostDrawEngine ()
 Get the top engine in the Engine graph.
void AddEngine (vtEngine *ptr)
 Add an Engine to the scene. (for backward compatibility only).
void TargetRemoved (vtTarget *tar)
 Inform all engines in the scene that a target no longer exists.
void SetCamera (vtCamera *cam)
vtCameraGetCamera ()
 Get the camera associated with the scene.
vtGroupGetRoot ()
 Get the root node, which is the top of the scene graph.


Member Function Documentation

void vtSceneBase::SetCamera vtCamera cam  )  [inline]
 

Set the camera associated with this scene. The scene has a default camera already supplied; you can use GetCamera() to simply use it instead of making your own.


Generated on Tue Apr 22 10:11:08 2008 for vtlib library by  doxygen 1.4.5