Class CartoonVolumeStyle

All Implemented Interfaces:
X3DNode, CartoonVolumeStyle, X3DComposableVolumeRenderStyleNode, X3DVolumeRenderStyleNode

public class CartoonVolumeStyle extends X3DConcreteNode implements CartoonVolumeStyle
CartoonVolumeStyle generates cartoon-style non-photorealistic rendering of associated volumetric data.

X3D node tooltip: (X3D version 3.3 or later) [X3DComposableVolumeRenderStyleNode] CartoonVolumeStyle generates cartoon-style non-photorealistic rendering of associated volumetric data.
  • Hint: contains single Texture3D node with containerField='surfaceNormals'
  • Warning: requires X3D profile='Full' or else include <component name='VolumeRendering' level='3'/>

Note that SFColor provides a variety of color constants.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
X3D Abstract Specification: CartoonVolumeStyle, X3D Tooltips: CartoonVolumeStyle, X3D Scene Authoring Hints: Volume
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: CartoonVolumeStyle.
      See Also:
      Constant Field Values
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the CartoonVolumeStyle element: VolumeRendering
      See Also:
      Constant Field Values
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D VolumeRendering component level for this element: 3
      See Also:
      Constant Field Values
    • COLORSTEPS_DEFAULT_VALUE

      public static final int COLORSTEPS_DEFAULT_VALUE
      SFInt32 field named colorSteps has default value 4 (Java syntax) or 4 (XML syntax).
      See Also:
      Constant Field Values
    • ENABLED_DEFAULT_VALUE

      public static final boolean ENABLED_DEFAULT_VALUE
      SFBool field named enabled has default value true (Java syntax) or true (XML syntax).
      See Also:
      Constant Field Values
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • ORTHOGONALCOLOR_DEFAULT_VALUE

      public static final float[] ORTHOGONALCOLOR_DEFAULT_VALUE
      SFColorRGBA field named orthogonalColor has default value {1f,1f,1f,1f} (Java syntax) or 1 1 1 1 (XML syntax).
    • PARALLELCOLOR_DEFAULT_VALUE

      public static final float[] PARALLELCOLOR_DEFAULT_VALUE
      SFColorRGBA field named parallelColor has default value {0f,0f,0f,1f} (Java syntax) or 0 0 0 1 (XML syntax).
    • SURFACENORMALS_DEFAULT_VALUE

      public static final X3DTexture3DNode SURFACENORMALS_DEFAULT_VALUE
      SFNode field named surfaceNormals has default value null (Java syntax) or NULL (XML syntax).
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, default value is provided for informational purposes.
      See Also:
      X3D Scene Authoring Hints: containerField, X3D Unified Object Model (X3DUOM), Constant Field Values
    • fromField_COLORSTEPS

      public static final String fromField_COLORSTEPS
      fromField ROUTE name for SFInt32 field named colorSteps.
      See Also:
      Constant Field Values
    • toField_COLORSTEPS

      public static final String toField_COLORSTEPS
      toField ROUTE name for SFInt32 field named colorSteps.
      See Also:
      Constant Field Values
    • fromField_ENABLED

      public static final String fromField_ENABLED
      fromField ROUTE name for SFBool field named enabled.
      See Also:
      Constant Field Values
    • toField_ENABLED

      public static final String toField_ENABLED
      toField ROUTE name for SFBool field named enabled.
      See Also:
      Constant Field Values
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
      Constant Field Values
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • fromField_ORTHOGONALCOLOR

      public static final String fromField_ORTHOGONALCOLOR
      fromField ROUTE name for SFColorRGBA field named orthogonalColor.
      See Also:
      Constant Field Values
    • toField_ORTHOGONALCOLOR

      public static final String toField_ORTHOGONALCOLOR
      toField ROUTE name for SFColorRGBA field named orthogonalColor.
      See Also:
      Constant Field Values
    • fromField_PARALLELCOLOR

      public static final String fromField_PARALLELCOLOR
      fromField ROUTE name for SFColorRGBA field named parallelColor.
      See Also:
      Constant Field Values
    • toField_PARALLELCOLOR

      public static final String toField_PARALLELCOLOR
      toField ROUTE name for SFColorRGBA field named parallelColor.
      See Also:
      Constant Field Values
    • fromField_SURFACENORMALS

      public static final String fromField_SURFACENORMALS
      fromField ROUTE name for SFNode field named surfaceNormals.
      See Also:
      Constant Field Values
    • toField_SURFACENORMALS

      public static final String toField_SURFACENORMALS
      toField ROUTE name for SFNode field named surfaceNormals.
      See Also:
      Constant Field Values
  • Constructor Details

    • CartoonVolumeStyle

      public CartoonVolumeStyle()
      Constructor for CartoonVolumeStyle to initialize member variables with default values.
    • CartoonVolumeStyle

      public CartoonVolumeStyle(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details