VHTK::VHTKDataNode Class Reference
[Volumetric Data Nodes]

Inheritance diagram for VHTK::VHTKDataNode:

Inheritance graph
[legend]

List of all members.


Detailed Description

This is the abstract base class for all nodes containing data in the Volume Haptics Toolkit(VHTK).

Public Member Functions

 VHTKDataNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::Field > _dataChanged=0, H3D::Inst< H3D::SFBool > _scaleVectors=0)
virtual H3D::Vec3f getVolumeSize ()=0
 Get the size of the volume in metres.
virtual string defaultXMLContainerField ()
 Returns the default xml containerField attribute value.

Public Attributes

auto_ptr< H3D::FielddataChanged
 Field that indicates that data has changed.
auto_ptr< H3D::SFBoolscaleVectors
 If this field is set to true, any vector valued property of the volume will be scaled by the parent transforms.

Static Public Attributes

static H3D::H3DNodeDatabase database

Member Function Documentation

virtual H3D::Vec3f VHTK::VHTKDataNode::getVolumeSize (  )  [pure virtual]

virtual string VHTK::VHTKDataNode::defaultXMLContainerField (  )  [inline, virtual]

Returns the default xml containerField attribute value.

For this node it is "data".

Reimplemented from H3D::Node.

Reimplemented in VHTK::VHTKScalarDataNode, and VHTK::VHTKVectorDataNode.


Member Data Documentation

Field that indicates that data has changed.

Subclasses route to this field their fields that determine the data contents.

If this field is set to true, any vector valued property of the volume will be scaled by the parent transforms.


Generated on Thu Mar 5 08:46:57 2009 for Volume Haptics Toolkit by  doxygen 1.5.6