Class: MPRPlane

X3DOM
Component: VolumeRendering

.nodeTypes. MPRPlane

class for defining an arbitrary plane for the MPRVolumeStyle.

HTML Encoding and Default Values

<MPRPlane enabled='true' metadata='X3DMetadataObject' normal='0.0,1.0,0.0' position='0.5' ></MPRPlane>

Inheritance


Constructor

MPRPlane(ctx)

Constructor for a MPRPlane

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 Specifies if the reconstructed plane is visible or not.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
normal SFVec3f 0.0,1.0,0.0 The normal vector of the plane.
position SFFloat 0.5 The position field specifies the position along the plane normal direction where the slice plane is rendered.


Properties

Access Name Type Inheritance Description
planeID Static class ID counter (needed to allow duplicate planes)