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

X3DTK::X3D::Transform Class Reference

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

Inheritance diagram for X3DTK::X3D::Transform:

X3DTK::X3D::X3DGroupingNode X3DTK::X3D::X3DBoundedObject X3DTK::X3D::X3DChildNode X3DTK::X3D::X3DObject X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

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


Constructor & Destructor Documentation

X3DTK::X3D::Transform::Transform  ) 
 

Constructor.

X3DTK::X3D::Transform::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 X3DTK::X3D::Transform::~Transform  )  [virtual]
 

Destructor.

X3DTK::X3D::Transform::Transform const Transform &  T  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode X3DTK::X3D::Transform::clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3D::X3DGroupingNode.

const SFVec3f& X3DTK::X3D::Transform::getCenter  )  const [inline]
 

Gets the center of the transformation.

const SFRotation& X3DTK::X3D::Transform::getRotation  )  const [inline]
 

Gets the rotation of the transformation.

const SFVec3f& X3DTK::X3D::Transform::getScale  )  const [inline]
 

Gets the scale of the transformation.

const SFRotation& X3DTK::X3D::Transform::getScaleOrientation  )  const [inline]
 

Gets the scale orientation of the transformation.

const SFVec3f& X3DTK::X3D::Transform::getTranslation  )  const [inline]
 

Gets the translation of the transformation.

void X3DTK::X3D::Transform::load const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DTK::X3D::X3DBoundedObject.

void X3DTK::X3D::Transform::setCenter const SFVec3f center  ) 
 

Sets the center of the transformation.

void X3DTK::X3D::Transform::setRotation const SFRotation &  rotation  ) 
 

Sets the rotation of the transformation.

void X3DTK::X3D::Transform::setScale const SFVec3f scale  ) 
 

Sets the scale of the transformation.

void X3DTK::X3D::Transform::setScaleOrientation const SFRotation &  scaleOrientation  ) 
 

Sets the scale orientation of the transformation.

void X3DTK::X3D::Transform::setTranslation const SFVec3f translation  ) 
 

Sets the translation of the transformation.

virtual SFString X3DTK::X3D::Transform::write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DBoundedObject.


Generated on Wed Sep 10 11:25:24 2003 for X3DToolKit by doxygen1.3