
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | scalarVolume | SFScalarDataNode | null | Data to use as source. |
![]() | vectorVolume | SFVectorDataNode | null | Data to use as source. |
![]() | width | SFInt32 | 32 | X-resolution |
![]() | height | SFInt32 | 32 | Y-resolution |
![]() | depth | SFInt32 | 32 | Z-resolution |
![]() | transferFunction | SFTransferFunction | (s'=s) | |
![]() | property | SFString | "" | The property that should be sampled to the texture. Valid values are \p SCALAR, \p GRADIENT, \p VECTOR, \p CURL and \p DIV |
Public Member Functions | |
| Texture3DVolume (H3D::Inst< DisplayList > _displayList=0, H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::SFBool > _repeatS=0, H3D::Inst< H3D::SFBool > _repeatT=0, H3D::Inst< H3D::SFBool > _repeatR=0, H3D::Inst< H3D::SFBool > _scaleToP2=0, H3D::Inst< SFImage > _image=0, H3D::Inst< SFTextureProperties > _textureProperties=0, H3D::Inst< H3D::SFInt32 > _width=0, H3D::Inst< H3D::SFInt32 > _height=0, H3D::Inst< H3D::SFInt32 > _depth=0, H3D::Inst< SFTransferFunction > _tf=0, H3D::Inst< H3D::SFString > _prop=0, H3D::Inst< SFScalarDataNode > _s_data=0, H3D::Inst< SFVectorDataNode > _v_data=0) | |
| Constructor. | |
Public Attributes | |
| auto_ptr< H3D::SFInt32 > | width |
| The width of the texture. | |
| auto_ptr< H3D::SFInt32 > | height |
| The height of the texture. | |
| auto_ptr< H3D::SFInt32 > | depth |
| The depth of the texture. | |
| auto_ptr< SFTransferFunction > | transferFunction |
| Mapping between volumetric data and texture values. | |
| auto_ptr< H3D::SFString > | property |
| The property that should be sampled to the texture. | |
| auto_ptr< SFScalarDataNode > | scalarVolume |
| Data to sample. | |
| auto_ptr< SFVectorDataNode > | vectorVolume |
| Data to sample. | |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Classes | |
| class | SFImage |
| The image of this texture. More... | |
| VHTK::Texture3DVolume::Texture3DVolume | ( | H3D::Inst< DisplayList > | _displayList = 0, |
|
| H3D::Inst< H3D::SFNode > | _metadata = 0, |
|||
| H3D::Inst< H3D::SFBool > | _repeatS = 0, |
|||
| H3D::Inst< H3D::SFBool > | _repeatT = 0, |
|||
| H3D::Inst< H3D::SFBool > | _repeatR = 0, |
|||
| H3D::Inst< H3D::SFBool > | _scaleToP2 = 0, |
|||
| H3D::Inst< SFImage > | _image = 0, |
|||
| H3D::Inst< SFTextureProperties > | _textureProperties = 0, |
|||
| H3D::Inst< H3D::SFInt32 > | _width = 0, |
|||
| H3D::Inst< H3D::SFInt32 > | _height = 0, |
|||
| H3D::Inst< H3D::SFInt32 > | _depth = 0, |
|||
| H3D::Inst< SFTransferFunction > | _tf = 0, |
|||
| H3D::Inst< H3D::SFString > | _prop = 0, |
|||
| H3D::Inst< SFScalarDataNode > | _s_data = 0, |
|||
| H3D::Inst< SFVectorDataNode > | _v_data = 0 | |||
| ) |
Constructor.
| auto_ptr< H3D::SFInt32 > VHTK::Texture3DVolume::width |
The width of the texture.
| auto_ptr< H3D::SFInt32 > VHTK::Texture3DVolume::height |
The height of the texture.
| auto_ptr< H3D::SFInt32 > VHTK::Texture3DVolume::depth |
The depth of the texture.
Mapping between volumetric data and texture values.
The texture scalars are regarded as normalized to the range 0--1 and not 0--255.
| auto_ptr< H3D::SFString > VHTK::Texture3DVolume::property |
The property that should be sampled to the texture.
If this field is not set, the scalar value of the scalar volume is sampled if present. If the scalar volume is not present, the vector magnitude of the vector volume is sampled.
Valid values are
SCALAR - scalar value of the scalar volumeGRADIENT - scalar field gradient magnitudeVECTOR - vector magnitude of the vector volumeCURL - vector curl of the vector volumeDIV - vector divergent of the vector volume | auto_ptr< SFScalarDataNode > VHTK::Texture3DVolume::scalarVolume |
Data to sample.
| auto_ptr< SFVectorDataNode > VHTK::Texture3DVolume::vectorVolume |
Data to sample.
1.5.6