H3D API
2.4.1
|
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>
Public Attributes | |
H3DUniquePtr< SFVec3f > | bboxCenter |
Specifies a the center of an axis-aligned bounding box enclosing the node. More... | |
H3DUniquePtr< SFVec3f > | bboxSize |
Specifies a the size of an axis-aligned bounding box enclosing the node. More... | |
![]() | |
H3DUniquePtr< SFBound > | bound |
The field containing the bound object. More... | |
Additional Inherited Members | |
![]() | |
H3DBoundedObject (Inst< SFBound > _bound=0) | |
Constructor. | |
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.
H3DUniquePtr< SFVec3f > H3D::X3DBoundedObject::bboxCenter |
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::FrameBufferTextureGenerator::initialize(), H3D::HAnimHumanoid::initialize(), and H3D::ParticleSystem::initialize().
H3DUniquePtr< SFVec3f > H3D::X3DBoundedObject::bboxSize |
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::FrameBufferTextureGenerator::initialize(), H3D::HAnimHumanoid::initialize(), H3D::ParticleSystem::initialize(), and H3D::ParticleSystem::traverseSG().