
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... | |
| 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] |
| 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.
| 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.
| 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.
| 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.
1.5.6