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

Transform Class Reference

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

Inheritance diagram for Transform:

X3DGroupingNode X3DBoundedObject X3DChildNode X3DObject X3DNode X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

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

Definition at line 19 of file Transform.h.


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.

~Transform  ) 
 

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.

Definition at line 49 of file Transform.h.

SFRotation getRotation  )  const [inline]
 

Gets the rotation of the transformation.

Definition at line 51 of file Transform.h.

SFVec3f getScale  )  const [inline]
 

Gets the scale of the transformation.

Definition at line 53 of file Transform.h.

SFRotation getScaleOrientation  )  const [inline]
 

Gets the scale orientation of the transformation.

Definition at line 55 of file Transform.h.

SFVec3f getTranslation  )  const [inline]
 

Gets the translation of the transformation.

Definition at line 57 of file Transform.h.

void loadAttributes 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 writeAttributes  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DBoundedObject.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:16 2003 for X3DToolKit by doxygen1.3