VHTK::ScalarVolume Class Reference
[Volumetric Data Nodes]

Inheritance diagram for VHTK::ScalarVolume:

Inheritance graph
[legend]

List of all members.


Detailed Description

The ScalarVolume node defines an scalar field by specifying an image file and loaders to read this file.

The data is read from the URL specified by the url field using the H3DImageLoaderNode nodes from the imageLoader field. The data used will be the first texture that is successfully loaded. Each file in the url field be tried with the first H3DImageLoaderNode, if none of those succeed the next H3DImageLoaderNode will be tried on all the urls and so on.

X3D Interface

 NameTypeDefault valueDescription
imageLoader MFImageLoader   []    

Public Types

typedef H3D::TypedMFNode
< H3D::H3DImageLoaderNode
MFImageLoader
 A MFNode containing ImageLoader.

Public Member Functions

 H3D_API_EXCEPTION (CouldNotLoadImage)
 CouldNotLoadImage is thrown when not any of the urls could be read with any of the image loaders in a ScalarVolume.
 ScalarVolume (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::Field > _dataChanged=0, H3D::Inst< H3D::SFBool > _scaleVectors=0, H3D::Inst< SFImage > _image=0, H3D::Inst< H3D::MFString > _url=0, H3D::Inst< MFImageLoader > _imageLoader=0)
 Constructor.

Public Attributes

auto_ptr< MFImageLoaderimageLoader
 The ImageLoader nodes to use to read the image files.

Static Public Attributes

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

Classes

class  SFImage
 SFImage is overridden to update the value from the url and imageLoader fields of the ScalarVolume. More...


Member Typedef Documentation

A MFNode containing ImageLoader.


Constructor & Destructor Documentation

VHTK::ScalarVolume::ScalarVolume ( H3D::Inst< H3D::SFNode _metadata = 0,
H3D::Inst< H3D::Field _dataChanged = 0,
H3D::Inst< H3D::SFBool _scaleVectors = 0,
H3D::Inst< SFImage _image = 0,
H3D::Inst< H3D::MFString _url = 0,
H3D::Inst< MFImageLoader _imageLoader = 0 
)

Constructor.


Member Function Documentation

VHTK::ScalarVolume::H3D_API_EXCEPTION ( CouldNotLoadImage   ) 

CouldNotLoadImage is thrown when not any of the urls could be read with any of the image loaders in a ScalarVolume.


Member Data Documentation

The ImageLoader nodes to use to read the image files.

The H3DNodeDatabase for this node.

Reimplemented from VHTK::VHTKDataNode.


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