Class: MPRVolumeStyle

X3DOM
Component: VolumeRendering

x3dom.nodeTypes. MPRVolumeStyle

The MPRVolumeStyle node renders a multiplanar reconstruction of the assocciated volume data.

HTML Encoding and Default Values

<MPRVolumeStyle enabled='true' finalLine='0.0,1.0,0.0' forceOpaque='true' metadata='X3DMetadataObject' originLine='1.0,1.0,0.0' positionLine='0.2' transferFunction='x3dom.nodeTypes.Texture' ></MPRVolumeStyle>

Inheritance


Constructor

MPRVolumeStyle(ctx)

Constructor for MPRVolumeStyle

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
enabled SFBool true X3DVolumeRenderStyleNode Specifies whether the render style is enabled or disabled.
finalLine SFVec3f 0 The finalLine field specifies the second line to calculate the normal plane.
forceOpaque SFBool true The forceOpaque field is a boolean flag that forces the reconstructed planes to be opaque, if false the opacity (alpha channel) from the transferFunction field will be applied.
metadata SFNode X3DMetadataObject X3DVolumeRenderStyleNode Field to add metadata information
originLine SFVec3f 0 The originLine field specifies the base line of the slice plane.
positionLine SFFloat 2 The positionLine field specifies the position along the line where the slice plane is rendered.
transferFunction SFNode Texture The transferFunction field is a texture that is going to be used to map each voxel value to a specific color output.