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 Methods

Protected Methods


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 SFAbstractNode X3DTK::X3D::Transform::clone   [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3DAbstractNode.

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 SFString   output const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DBoundedObject.


Generated on Mon Jan 19 10:32:23 2004 for X3DToolKit by doxygen1.2.18