
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 | ||||
| Name | Type | Default value | Description | |
![]() | 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< MFImageLoader > | imageLoader |
| 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... | |
A MFNode containing ImageLoader.
| 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.
| 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.
| auto_ptr< MFImageLoader > VHTK::ScalarVolume::imageLoader |
The ImageLoader nodes to use to read the image files.
1.5.6