Post

ProjectionVolumeStyle

Overview

ProjectionVolumeStyle uses voxel data to directly generate output color.

The ProjectionVolumeStyle node belongs to the VolumeRendering component and requires at least level 2, its default container field is renderStyle. It is available from X3D version 3.3 or higher.

Hierarchy

1
2
3
+ X3DNode
  + X3DVolumeRenderStyleNode
    + ProjectionVolumeStyle

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFBool [in, out] enabled TRUE

Enables/disables node operation.

SFString [in, out] type “MAX” [“MAX”|”MIN”|”AVERAGE”]

If type=MAX then Maximum Intensity Projection (MIP) or Least MIP (LMIP) algorithm is used to generate output color. If type=MIN then Minimum Intensity Projection algorithm is used. If type=AVERAGE then all voxels along ray are averaged.

Hint

  • type=AVERAGE matches a simple approximation of an X-ray.#10;

Warning

  • Do not wrap extra quotation marks around these SFString enumeration values, since “quotation” “marks” are only used for MFString values.

SFFloat [in, out] intensityThreshold 0 [0,1]

Threshold value used when type=MIN (LMIP) or type=MAX (MIP).

Hint

  • Ignored if type=AVERAGE (no thresholding).

Advice

Warning

  • Requires X3D profile='Full' or else include <component name='VolumeRendering' level='2'/>

Example

See Also

This post is licensed under CC BY 4.0 by the author.