H3D::X3DBoundedObject Class Reference
[Abstract interface classes.]

This X3D abstract interface type is basis for all X3D node types that have bounds specified as part of the definition. More...

#include <H3D/X3DBoundedObject.h>

Inheritance diagram for H3D::X3DBoundedObject:

Inheritance graph

List of all members.

Public Attributes

auto_ptr< SFVec3fbboxCenter
 Specifies a the center of an axis-aligned bounding box enclosing the node.
auto_ptr< SFVec3fbboxSize
 Specifies a the size of an axis-aligned bounding box enclosing the node.


Detailed Description

This X3D abstract interface type is basis for all X3D node types that have bounds specified as part of the definition.

The bboxCenter and bboxSize fields specify a bounding box that encloses the Node. This is a hint that may be used for optimization purposes. The results are undefined if the specified bounding box is smaller than the actual bounding box of the Node at any time. A default bboxSize value, (-1, -1, -1), implies that the bounding box is not specified and, if needed, is calculated automatically.


Member Data Documentation

Specifies a the center of an axis-aligned bounding box enclosing the node.

This field can be set in order to specify the bounding box of an object manually. The actual bounding volume can be found in the bound field. Only used if bboxSize != (-1,-1,-1)

Access type: initializeOnly
Default value: Vec3f( 0, 0, 0 )

Referenced by H3D::ParticleSystem::initialize().

Specifies a the size of an axis-aligned bounding box enclosing the node.

This field can be set in order to specify the bounding box of an object manually. The actual bounding volume can be found in the bound field. If bboxSize is (-1, -1, -1) the bounding volume will be automatically generated.

Access type: initializeOnly
Default value: Vec3f( -1, -1, -1 )

Referenced by H3D::ParticleSystem::initialize(), and H3D::ParticleSystem::traverseSG().


The documentation for this class was generated from the following file:

Generated on Fri Nov 7 10:31:23 2008 for H3D API by  doxygen 1.5.7