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

Scale Class Reference
[Transformations]

#include <lvt/Transform.h>

Inheritance diagram for Scale:

Inheritance graph
[legend]
List of all members.

Detailed Description

Scales a scene graph.


Public Member Functions

void Render ()
 Renders the node.
 Scale (float x, float y, float z)
 Initializing constructor.
 Scale (const Vec &v)
 Initializing constructor.
 Scale ()
 Default constructor.
void Set (float x, float y, float z)
 Sets the scale value.
void Set (const Vec &v)
 Sets the scale value.


Constructor & Destructor Documentation

Scale  ) 
 

Default constructor.

Sets the initial scale value to (1, 1, 1). That is, an identity scaling.

Scale const Vec v  ) 
 

Initializing constructor.

Parameters:
v scale value.
Sets the initial scale value to v.

Scale float  x,
float  y,
float  z
 

Initializing constructor.

Parameters:
x x-axis scale value.
y y-axis scale value.
z z-axis scale value.
Sets the initial scale value to the value specified by x, y, and z.


Member Function Documentation

void Render  )  [virtual]
 

Renders the node.

Multiplies the current matrix stack (usualy the ModelView matrix) by the objects scaling value.

Implements Node.

void Set float  x,
float  y,
float  z
 

Sets the scale value.

Parameters:
x x-axis scale value.
y y-axis scale value.
z z-axis scale value.
Sets the scale value to the value specified by x, y, and z.

void Set const Vec v  ) 
 

Sets the scale value.

Parameters:
v scale value.
Sets the scale value to v.


Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1