Class: ProjectionVolumeStyle

X3DOM
Component: VolumeRendering

.nodeTypes. ProjectionVolumeStyle

The ProjectionVolumeStyle node generates an output color based on the voxel data values traversed by a ray following the view direction.

HTML Encoding and Default Values

<ProjectionVolumeStyle enabled='true' intensityThreshold='0' metadata='X3DMetadataObject' type='"MAX"' ></ProjectionVolumeStyle>

Inheritance


Constructor

ProjectionVolumeStyle(ctx)

Constructor for ProjectionVolumeStyle

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.
intensityThreshold SFFloat 0 The intensityThreshold field is used to define a local maximum or minimum value along the ray traversal. It is ignored on the AVERAGE intensity projection.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
type SFString "MAX" The type field specifies the type of intensity projection to be used. It can be MAX, MIN or AVERAGE.