instantreality 1.0

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

BlendedVolumeStyle

The BlendedVolumeStyle combines the rendering of two voxel data sets into one by blending the values according to a weight function. The first data set is the one that the style is being applied to.

Inheritance

Code

XML encoding
<BlendedVolumeStyle weightConstant1='0.5'
weightConstant2='0.5'
weightFunction1='CONSTANT'
weightFunction2='CONSTANT'
enabled='TRUE'
logFeature=''
 />
Classic encoding
BlendedVolumeStyle {
	weightConstant1 0.5
	weightConstant2 0.5
	weightFunction1 "CONSTANT"
	weightFunction2 "CONSTANT"
	enabled TRUE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFBool enabled SFBool inputOutput TRUE The enabled field defines whether this rendering style should be currently applied to the volume data. If the field is set to FALSE, then the rendering shall not be applied at all. The render shall act as though no volume data is rendered when set to FALSE. Effectively, this allows the end user to turn on and off volume rendering of specific parts of the volume without needing to add or remove style definitions from the volume data node.
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
SFNode renderStyle SFNode inputOutput NULL [ComposableVolumeRenderStyle] Defined just as in the VolumeData node.
SFNode surfaceNormals SFNode inputOutput NULL [Texture] The surfaceNormals field is used to provide pre-calculated surface normal information for each voxel. If provided, this shall be used for all lighting calculations. If not provided, the implementation shall automatically generate surface normals using an implementation-specific method. If a value is provided, it shall be exactly the same voxel dimensions as the base volume data that it represents. If the dimension are not identical then the browser shall generate a warning and automatically generate its own internal normals as though no value was provided for this field.
SFNode voxels SFNode inputOutput NULL [Texture] Defined just as in the VolumeData node.
SFFloat weightConstant1 SFFloat inputOutput 0.5 [0, 1] Specified for weightFunction1.
SFFloat weightConstant2 SFFloat inputOutput 0.5 [0, 1] Specified for weightFunction2.
SFString weightFunction1 SFString inputOutput CONSTANT [ CONSTANT, ALPHA0, ALPHA1, TABLE, ONE_MINUS_ALPHA0, ONE_MINUS_ALPHA1 ] Defines weight function type.
SFString weightFunction2 SFString inputOutput CONSTANT [ CONSTANT, ALPHA0, ALPHA1, TABLE, ONE_MINUS_ALPHA0, ONE_MINUS_ALPHA1 ] Defines weight function type.
SFNode weightTransferFunction1 SFNode inputOutput NULL [Texture] Used for weight function TABLE.
SFNode weightTransferFunction2 SFNode inputOutput NULL [Texture] Used for weight function TABLE.