VolumeNode
This abstract node type is the base type for all node types that describe volumetric data to be rendered. It sits at the same level as the polygonal ShapeNode within the scene graph structure, but defines volumetric data rather polygons.
Inheritance
Code
XML encoding
<VolumeNode dimensions='1 1 1' swapped='FALSE' sliceThickness='1 1 1' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
VolumeNode { dimensions 1 1 1 swapped FALSE sliceThickness 1 1 1 bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
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. | |
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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
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. | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
sliceThickness | SFVec3f | inputOutput | 1 1 1 | [0, inf) | The sliceThickness field specifies the slice thickness (if given). | |
swapped | SFBool | inputOutput | FALSE | especially 16 bit volumes are sometimes swapped | ||
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. |