Class: EdgeEnhancementVolumeStyle

X3DOM
Component: VolumeRendering

.nodeTypes. EdgeEnhancementVolumeStyle

HTML Encoding and Default Values

<EdgeEnhancementVolumeStyle edgeColor='0,0,0' enabled='true' gradientThreshold='0.4' metadata='X3DMetadataObject' surfaceNormals='x3dom.nodeTypes.Texture' ></EdgeEnhancementVolumeStyle>

Inheritance


Constructor

EdgeEnhancementVolumeStyle(ctx)

Constructor for EdgeEnhancementVolumeStyle

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace The EdgeEnhancementVolumeStyle node specifies that the edges of the assocciated volume data shall be enhanced. The edge enhancement is performed by changing the color of the edges to the specified one.

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
edgeColor SFColor 0,0,0 The edgeColor field specifies the color to be used for the edge enhacement.
enabled SFBool true X3DVolumeRenderStyleNode Specifies whether the render style is enabled or disabled.
gradientThreshold SFFloat 4 The gradientThreshold field is used to adjust the edge detection.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
surfaceNormals SFNode Texture X3DComposableVolumeRenderStyleNode The surfaceNormals field allows to provide the normals of the volume data. It takes an ImageTextureAtlas of the same dimensions of the volume data. If it is not provided, it is computed on the fly.