instantreality 1.0

Component:
VolumeRendering
Status:
interface only
Structure type:
concrete
Standard:
X3D

SegmentedVolumeData

Defines a segmented volume data set that allows for representation of different rendering styles for each segment identifier.

Inheritance

Code

XML encoding
<SegmentedVolumeData swapped='FALSE'
sliceThickness='1 1 1'
bboxCenter='0 0 0'
showBBox='FALSE'
render='TRUE'
bboxSize='-1 -1 -1'
logFeature=''
dimensions='1 1 1'
segmentEnabled=''
 />
Classic encoding
SegmentedVolumeData {
	swapped FALSE
	sliceThickness 1 1 1
	bboxCenter 0 0 0
	showBBox FALSE
	render TRUE
	bboxSize -1 -1 -1
	logFeature [""]
	dimensions 1 1 1
	segmentEnabled []
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFVec3f bboxCenter SFVec3f initializeOnly 0 0 0 Bounding box center: position offset from origin of local coordinate system.
SFVec3f bboxSize SFVec3f initializeOnly -1 -1 -1 Bounding box size: automatically calculated, can be specified as an optimization or constraint.
SFVec3f 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.
MFString 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
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFBool render SFBool inputOutput TRUE Flag to control the visibility of the node or subtree
MFNode 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.
MFNode renderStyle MFNode inputOutput [VolumeRenderStyle] The renderStyle field optionally describes a particular rendering style to be used. If this field has a non-zero number of values, then the defined rendering style is to be applied to the object. If the object is segmented, then the index of the segment shall look up the rendering style at the given index in this array of values and apply that style to data described by that segment ID.
MFBool segmentEnabled MFBool inputOutput The segmentEnabled field allows for controlling whether a segment should be rendered or not. The indices of this array corresponds to the segment ID. A value at index i of FALSE marks any data with the corresponding segment ID to be not rendered. If a segment ID is used that is greater than the length of the array, the value is assumed to be TRUE.
SFNode segmentIdentifiers SFNode inputOutput NULL [Texture] For each voxel there is a corresponding segment identifier supplied in the segmentIdentifiers field, which contains a single component texture. If the segmentIdentifiers texture is not identical in size to the main voxels, it shall be ignored. If it contains more than one colour component, only the red component of the colour shall be used to define the identifier.
SFBool showBBox SFBool inputOutput FALSE Show Bounding Box of Subtree.
SFVec3f sliceThickness SFVec3f inputOutput 1 1 1 [0, inf) The sliceThickness field specifies the slice thickness (if given).
SFBool swapped SFBool inputOutput FALSE especially 16 bit volumes are sometimes swapped
MFNode 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.