Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

X3DTK::X3D::Box Class Reference
[X3DSceneGraph]

Class declared in <X3DTK/X3D/scenegraph.h>, part of the Geometry3D component defining a Box (documentation). More...

Inheritance diagram for X3DTK::X3D::Box:

X3DTK::X3D::X3DGeometry3DNode X3DTK::X3D::X3DGeometryNode X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class declared in <X3DTK/X3D/scenegraph.h>, part of the Geometry3D component defining a Box (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::Box::Box  ) 
 

Constructor.

X3DTK::X3D::Box::Box const SFVec3f size  ) 
 

Constructs a Box from size, the vector representing the diagonal of the Box.

The Box is centered on (0, 0, 0).

virtual X3DTK::X3D::Box::~Box  )  [virtual]
 

Destructor.

X3DTK::X3D::Box::Box const Box B  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFAbstractNode X3DTK::X3D::Box::clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3DAbstractNode.

const SFVec3f& X3DTK::X3D::Box::getSize  )  const [inline]
 

Gets the size attribute.

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

Loads the attributes from a X3DFileElement e.

Reimplemented from X3DTK::X3D::X3DNode.

void X3DTK::X3D::Box::setSize const SFVec3f size  ) 
 

Sets the size attribute.

virtual SFString& X3DTK::X3D::Box::write SFString output  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DNode.


Generated on Thu Jun 3 10:12:24 2004 for X3DToolKit by doxygen 1.3.6