Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

Transform Class Reference

Class of the Grouping component defining a Transform (X3D documentation). More...

Inherits X3DGroupingNode, and X3DBoundedObject.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class of the Grouping component defining a Transform (X3D documentation).


Constructor & Destructor Documentation

Transform  ) 
 

Constructor.

Transform const SFVec3f center,
const SFRotation &  rotation,
const SFVec3f scale,
const SFRotation &  scaleOrientation,
const SFVec3f translation,
const SFVec3f bboxCenter,
const SFVec3f bboxSize
 

Constructs a Transform from its attributes.

virtual ~Transform  )  [virtual]
 

Destructor.

Transform const Transform &  T  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DGroupingNode.

SFVec3f getCenter  )  const [inline]
 

Gets the center of the transformation.

SFRotation getRotation  )  const [inline]
 

Gets the rotation of the transformation.

SFVec3f getScale  )  const [inline]
 

Gets the scale of the transformation.

SFRotation getScaleOrientation  )  const [inline]
 

Gets the scale orientation of the transformation.

SFVec3f getTranslation  )  const [inline]
 

Gets the translation of the transformation.

void load const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DBoundedObject.

void setCenter const SFVec3f center  ) 
 

Sets the center of the transformation.

void setRotation const SFRotation &  rotation  ) 
 

Sets the rotation of the transformation.

void setScale const SFVec3f scale  ) 
 

Sets the scale of the transformation.

void setScaleOrientation const SFRotation &  scaleOrientation  ) 
 

Sets the scale orientation of the transformation.

void setTranslation const SFVec3f translation  ) 
 

Sets the translation of the transformation.

virtual SFString write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DBoundedObject.


Generated on Mon May 26 16:04:23 2003 for X3DToolKit by doxygen1.3