vtHUD Class Reference
[Scene Graph]

Inheritance diagram for vtHUD:

Inheritance graph
[legend]
List of all members.

Detailed Description

A HUD ("heads-up display") is a group whose whose children are transformed to be drawn in window coordinates, rather than world coordinates.


Public Member Functions

 vtHUD (bool bPixelCoords=true)
void Release ()


Constructor & Destructor Documentation

vtHUD::vtHUD bool  bPixelCoords = true  ) 
 

Create a HUD node. A HUD ("heads-up display") is a group whose whose children are transformed to be drawn in window coordinates, rather than world coordinates.

You should only ever create one HUD node in your scenegraph.

Parameters:
bPixelCoords If true, the child transforms should be interpreted as pixel coordinates, from (0,0) in the lower-left of the viewpoint. Otherwise, they are considered in normalized window coordinates, from (0,0) in the lower-left to (1,1) in the upper right.


Member Function Documentation

void vtHUD::Release  )  [virtual]
 

Releases a node. Use this method instead of C++'s delete operator when you are done with a node. Internally, the node is reference counted so it is not deleted until all references to it are removed.

Reimplemented from vtGroup.


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