
A specified number of view aligned planes are rendered textured by the texture. A fragment shader is used to convert the scalar value of the texture to a color, using the specified transfer functions for colour and opacity. The transfer functions are applied after interpolation (post interpolation classification).
The size of the rendered data is specified by the pixel size of the texture that is being rendered.
X3D Interface | ||||
| Name | Type | Default value | Description | |
![]() | texture | TypedSFNode< X3DTexture3DNode > | null | The volume to visualize as a 3D texture. |
![]() | colorFunction | SFColorFunction | (0) | The color function that defines the RGB colour components from the scalar value of the 3D texture. |
![]() | alphaFunction | SFTransferFunction | (0) | The transfer function that defines the opacity from the scalar value of the 3D texture. |
![]() | planes | SFFloat | 80 | The number of planes to use. |
![]() | blendMode | SFString | "OVER" | The blending function to use. One of NONE, OVER, ATTENUATE and MIP. |
Public Types | |
|
typedef H3D::DependentSFNode < H3D::X3DTexture3DNode, H3D::FieldRef < H3D::H3DDisplayListObject, H3D::H3DDisplayListObject::DisplayList,&H3D::H3DDisplayListObject::displayList > , true > | SFTexture3DNode |
Public Member Functions | |
| virtual void | traverseSG (H3D::TraverseInfo &ti) |
| virtual void | render () |
Public Attributes | |
| auto_ptr< SFTexture3DNode > | texture |
| The volume to visualize as a 3D texture. | |
| auto_ptr< SFColorFunction > | colorFunction |
| The transfer function that defines the RGB colour components from the scalar value of the 3D texture. | |
| auto_ptr< SFTransferFunction > | alphaFunction |
| The transfer function that defines the opacity from the scalar value of the 3D texture. | |
| auto_ptr< H3D::SFFloat > | planes |
| The number of planes to use. | |
| auto_ptr< H3D::SFString > | blendMode |
| The blending function to use. | |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
Protected Member Functions | |
| void | setup_shaders () |
| virtual void | update_lut () |
Protected Attributes | |
| auto_ptr< UpdateLUT > | updateLUT |
| auto_ptr< H3D::SFMatrix4f > | transform |
| GLuint | lut_texid |
| bool | broken |
Friends | |
| struct | UpdateLUT |
Classes | |
| struct | SFBound |
| struct | UpdateLUT |
| auto_ptr< SFTexture3DNode > VHTK::VolumeRenderer::texture |
The volume to visualize as a 3D texture.
| auto_ptr< SFColorFunction > VHTK::VolumeRenderer::colorFunction |
The transfer function that defines the RGB colour components from the scalar value of the 3D texture.
The transfer function that defines the opacity from the scalar value of the 3D texture.
| auto_ptr< H3D::SFFloat > VHTK::VolumeRenderer::planes |
The number of planes to use.
| auto_ptr< H3D::SFString > VHTK::VolumeRenderer::blendMode |
The blending function to use.
One of NONE, OVER, ATTENUATE and MIP.
1.5.6