VolumeData
Defines the volume information to be used on a simple non-segmented volumetric description that uses a single rendering style node for the complete volume.
Inheritance
Code
XML encoding
<VolumeData logFeature='' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' bboxCenter='0 0 0' sliceThickness='1 1 1' swapped='FALSE' dimensions='1 1 1' />
Classic encoding
VolumeData { logFeature [""] bboxSize -1 -1 -1 render TRUE showBBox FALSE bboxCenter 0 0 0 sliceThickness 1 1 1 swapped FALSE dimensions 1 1 1 }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
renderSettings | MFNode | inputOutput | [VolumeRenderSettings] | The renderSettings field allows the user to specify specific rendering options to be used on this volumetric object. If the value is not specified by the user, the implementation uses default settings for ray generation, acceleration and normals. | ||
voxels | MFNode | inputOutput | [Texture] | The voxels field provides the raw voxel information to be used by the specific rendering styles. The value is any Texture3D type and may have any number of colour components defined. The specific interpretation for the values at each voxel shall be defined by the value of the renderStyle field. If more than one node is defined for this field then each node after the first shall be treated as a mipmap level of monotonically decreasing size. Each level should be half the dimensions of the previous level. | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
swapped | SFBool | inputOutput | FALSE | especially 16 bit volumes are sometimes swapped | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
renderStyle | SFNode | inputOutput | NULL | [VolumeRenderStyle] | The renderStyle field allows the user to specify a specific rendering technique to be used on this volumetric object. If the value is not specified by the user, the implementation shall use an OpacityMapVolumeStyle node with default values. | |
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
dimensions | SFVec3f | inputOutput | 1 1 1 | [0, inf) | The dimensions field specifies the dimensions of this geometry in the local coordinate space using standard X3D units. It is assumed the volume is centered around the local origin. If the bounding box size is set, it will typically be the same size as the dimensions. If value is (-1,-1,-1) then the internally calculated size will be used. | |
sliceThickness | SFVec3f | inputOutput | 1 1 1 | [0, inf) | The sliceThickness field specifies the slice thickness (if given). |