VHTK::VectorSimulatedFlowField Class Reference
[Volumetric Data Nodes]

Inheritance diagram for VHTK::VectorSimulatedFlowField:

Inheritance graph
[legend]

List of all members.


Detailed Description

This vector field generates typical features found in real flow data.

Use this field to test visualization methods on these typical structures.

X3D Interface

 NameTypeDefault valueDescription
type SFInt32   0   The type of features to render - 0 divergence, 1 convergence, 2 divergence and convergence, and 3 rotation.  
r2angle SFTransferFunction   (null)   The correlation between the radial position and the angle of the vectors.  
z2angle SFTransferFunction   (null)   The correlation between the z position and the angle of the vectors.  
r2length SFTransferFunction   (null)   The correlation between the radial position and the length of the vectors.  
z2length SFTransferFunction   (null)   The correlation between the z position and the length of the vectors.  
 
Derived from VHTKVectorFieldNode  
size SFVec3f   (2,2,2)   The size of this field.  

Public Member Functions

 VectorSimulatedFlowField (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::Field > _dataChanged=0, H3D::Inst< H3D::SFBool > _scaleVectors=0, H3D::Inst< H3D::SFVec3f > _size=0, H3D::Inst< H3D::SFInt32 > _type=0, H3D::Inst< SFTransferFunction > _r2angle=0, H3D::Inst< SFTransferFunction > _z2angle=0, H3D::Inst< SFTransferFunction > _r2length=0, H3D::Inst< SFTransferFunction > _z2length=0)
 Constructor.
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 (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 (const H3D::Matrix4f &T, const H3D::Vec3f &x)
 Get the divergent at a given position in space.

Public Attributes

std::auto_ptr< H3D::SFInt32type
 The type of features to render - 0 divergence, 1 convergence, 2 divergence and convergence, and 3 rotation.
std::auto_ptr< SFTransferFunctionr2angle
 The correlation between the radial position and the angle of the vectors.
std::auto_ptr< SFTransferFunctionz2angle
 The correlation between the z position and the angle of the vectors.
std::auto_ptr< SFTransferFunctionr2length
 The correlation between the radial position and the length of the vectors.
std::auto_ptr< SFTransferFunctionz2length
 The correlation between the z position and the length of the vectors.

Static Public Attributes

static H3D::H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Constructor & Destructor Documentation

VHTK::VectorSimulatedFlowField::VectorSimulatedFlowField ( H3D::Inst< H3D::SFNode _metadata = 0,
H3D::Inst< H3D::Field _dataChanged = 0,
H3D::Inst< H3D::SFBool _scaleVectors = 0,
H3D::Inst< H3D::SFVec3f _size = 0,
H3D::Inst< H3D::SFInt32 _type = 0,
H3D::Inst< SFTransferFunction _r2angle = 0,
H3D::Inst< SFTransferFunction _z2angle = 0,
H3D::Inst< SFTransferFunction _r2length = 0,
H3D::Inst< SFTransferFunction _z2length = 0 
)

Constructor.


Member Function Documentation

virtual H3D::Vec3f VHTK::VectorSimulatedFlowField::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::VectorSimulatedFlowField::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.

Reimplemented from VHTK::VHTKVectorFieldNode.

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

Get the divergent 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.

Reimplemented from VHTK::VHTKVectorFieldNode.


Member Data Documentation

The type of features to render - 0 divergence, 1 convergence, 2 divergence and convergence, and 3 rotation.

The correlation between the radial position and the angle of the vectors.

The correlation between the z position and the angle of the vectors.

The correlation between the radial position and the length of the vectors.

The correlation between the z position and the length of the vectors.

The H3DNodeDatabase for this node.

Reimplemented from VHTK::VHTKVectorFieldNode.


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