VHTK::VHTKVectorImageNode Class Reference
[Volumetric Data Nodes]

Inheritance diagram for VHTK::VHTKVectorImageNode:

Inheritance graph
[legend]

List of all members.


Detailed Description

This is the abstract base class nodes that contains an Image object the specifies the vector field.

Public Member Functions

 VHTKVectorImageNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::Field > _dataChanged=0, H3D::Inst< H3D::SFBool > _scaleVectors=0, H3D::Inst< SFImage > _image=0)
virtual void getVolumeResolution (int &x, int &y, int &z)
 Get the size of the volume in number of voxels.
virtual H3D::Vec3f getVolumeSize ()
 Get the size of the volume in metres.
virtual H3D::Vec3f getVector (int x, int y, int z)
 Get the vector value of a given voxel.
virtual H3D::Vec3f getVector (const H3D::Matrix4f &T, const H3D::Vec3f &x)
 Get the vector value at a given position in space.
virtual H3D::Vec3f getCurl (int x, int y, int z)
 Get the curl of the vector field at a given voxel.
virtual H3D::Vec3f getCurl (const H3D::Matrix4f &T, const H3D::Vec3f &x)
 Get the curl of the vector field at a given position in space.
virtual H3D::H3DFloat getDivergence (int x, int y, int z)
 Get the divergent of the vector field at a given voxel.
virtual H3D::H3DFloat getDivergence (const H3D::Matrix4f &T, const H3D::Vec3f &x)
 Get the divergence at a given position in space.

Protected Attributes

GradientKernel kernel

Classes

class  SFImage
 The SFImage class is specialized to hold a separate reference for use by the haptics loop in order for Image objects not be deleted in the scenegraph loop while still being used in the haptics loop. More...

Member Function Documentation

virtual void VHTK::VHTKVectorImageNode::getVolumeResolution ( int &  x,
int &  y,
int &  z 
) [virtual]

Get the size of the volume in number of voxels.

All parameters are outout parameters.

virtual H3D::Vec3f VHTK::VHTKVectorImageNode::getVolumeSize (  )  [virtual]

Get the size of the volume in metres.

Implements VHTK::VHTKDataNode.

virtual H3D::Vec3f VHTK::VHTKVectorImageNode::getVector ( int  x,
int  y,
int  z 
) [virtual]

Get the vector value of a given voxel.

virtual H3D::Vec3f VHTK::VHTKVectorImageNode::getVector ( const H3D::Matrix4f &  T,
const H3D::Vec3f &  x 
) [virtual]

Get the vector value at a given position in space.

Parameters:
T is the transforation matrix from local space to the space the volume data is specified in.
x is the local position in space.

Implements VHTK::VHTKVectorDataNode.

virtual H3D::Vec3f VHTK::VHTKVectorImageNode::getCurl ( int  x,
int  y,
int  z 
) [virtual]

Get the curl of the vector field at a given voxel.

virtual H3D::Vec3f VHTK::VHTKVectorImageNode::getCurl ( const H3D::Matrix4f &  T,
const H3D::Vec3f &  x 
) [virtual]

Get the curl of the vector field at a given position in space.

Parameters:
T is the transforation matrix from local space to the space the volume data is specified in.
x is the local position in space.

Implements VHTK::VHTKVectorDataNode.

virtual H3D::H3DFloat VHTK::VHTKVectorImageNode::getDivergence ( int  x,
int  y,
int  z 
) [virtual]

Get the divergent of the vector field at a given voxel.

virtual H3D::H3DFloat VHTK::VHTKVectorImageNode::getDivergence ( const H3D::Matrix4f &  T,
const H3D::Vec3f &  x 
) [virtual]

Get the divergence at a given position in space.

Parameters:
T is the transforation matrix from local space to the space the volume data is specified in.
x is the local position in space.

Implements VHTK::VHTKVectorDataNode.


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