Interface ShadedVolumeStyle
- All Superinterfaces:
X3DComposableVolumeRenderStyleNode,X3DNode,X3DVolumeRenderStyleNode
- All Known Implementing Classes:
ShadedVolumeStyleObject
public interface ShadedVolumeStyle extends X3DComposableVolumeRenderStyleNode
All fields fully supported except shadows supported with at least Phong shading at level 3. All fields fully supported with at least Phong shading and Henyey-Greenstein phase function, shadows fully supported at level 4.
X3D node tooltip: (X3D version 3.3 or later) [X3DComposableVolumeRenderStyleNode] ShadedVolumeStyle applies Blinn-Phong illumination model to volume rendering.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
X3D node tooltip: (X3D version 3.3 or later) [X3DComposableVolumeRenderStyleNode] ShadedVolumeStyle applies Blinn-Phong illumination model to volume rendering.
- Hint: ShadedVolumeStyle can contain a single Texture3D node with containerField='surfaceNormals' and a single Material node.
- Warning: requires X3D profile='Full' or else include <component name='VolumeRendering' level='3'/> or level='4' to include shadows.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description booleangetEnabled()Provide boolean value from inputOutput SFBool field named enabled.booleangetLighting()Provide boolean value from inputOutput SFBool field named lighting.X3DMaterialNodegetMaterial()Provide X3DMaterialNode instance (using a properly typed node) from inputOutput SFNode field material.X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.java.lang.StringgetPhaseFunction()Provide String enumeration value (baseType phaseFunctionValues) ["Henyey-Greenstein" | "NONE" | 'etc.'] from initializeOnly SFString field named phaseFunction.booleangetShadows()Provide boolean value from inputOutput SFBool field named shadows.X3DTexture3DNodegetSurfaceNormals()Provide X3DTexture3DNode instance (using a properly typed node) from inputOutput SFNode field surfaceNormals.ShadedVolumeStylesetEnabled(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named enabled.ShadedVolumeStylesetLighting(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named lighting.ShadedVolumeStylesetMaterial(X3DMaterialNode newValue)Accessor method to assign X3DMaterialNode instance (using a properly typed node) to inputOutput SFNode field material.ShadedVolumeStylesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.ShadedVolumeStylesetPhaseFunction(java.lang.String newValue)Accessor method to assign String enumeration value ("Henyey-Greenstein" | "NONE") to initializeOnly SFString field named phaseFunction.ShadedVolumeStylesetShadows(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named shadows.ShadedVolumeStylesetSurfaceNormals(X3DTexture3DNode newValue)Accessor method to assign X3DTexture3DNode instance (using a properly typed node) to inputOutput SFNode field surfaceNormals.
-
Method Details
-
getEnabled
boolean getEnabled()Provide boolean value from inputOutput SFBool field named enabled.
Tooltip: Enables/disables node operation. *- Specified by:
getEnabledin interfaceX3DComposableVolumeRenderStyleNode- Specified by:
getEnabledin interfaceX3DVolumeRenderStyleNode- Returns:
- value of enabled field
-
setEnabled
Accessor method to assign boolean value to inputOutput SFBool field named enabled.
Tooltip: Enables/disables node operation. *- Specified by:
setEnabledin interfaceX3DComposableVolumeRenderStyleNode- Specified by:
setEnabledin interfaceX3DVolumeRenderStyleNode- Parameters:
newValue- is new value for the enabled field.- Returns:
ShadedVolumeStyle- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getLighting
boolean getLighting()Provide boolean value from inputOutput SFBool field named lighting.
Tooltip: Whether rendering calculates and applies shading effects to visual output. *- Returns:
- value of lighting field
-
setLighting
Accessor method to assign boolean value to inputOutput SFBool field named lighting.
Tooltip: Whether rendering calculates and applies shading effects to visual output. *- Parameters:
newValue- is new value for the lighting field.- Returns:
ShadedVolumeStyle- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMaterial
X3DMaterialNode getMaterial()Provide X3DMaterialNode instance (using a properly typed node) from inputOutput SFNode field material.- Returns:
- value of material field
-
setMaterial
Accessor method to assign X3DMaterialNode instance (using a properly typed node) to inputOutput SFNode field material.- Parameters:
newValue- is new value for the material field.- Returns:
ShadedVolumeStyle- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#Metadata
- Specified by:
getMetadatain interfaceX3DComposableVolumeRenderStyleNode- Specified by:
getMetadatain interfaceX3DNode- Specified by:
getMetadatain interfaceX3DVolumeRenderStyleNode- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#Metadata
- Specified by:
setMetadatain interfaceX3DComposableVolumeRenderStyleNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain interfaceX3DVolumeRenderStyleNode- Parameters:
newValue- is new value for the metadata field.- Returns:
ShadedVolumeStyle- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
getPhaseFunction
java.lang.String getPhaseFunction()Provide String enumeration value (baseType phaseFunctionValues) ["Henyey-Greenstein" | "NONE" | 'etc.'] from initializeOnly SFString field named phaseFunction.
Tooltip: define scattering model for implementations using global illumination (NONE or Henyey-Greenstein phase function).#10;- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Returns:
- value of phaseFunction field
-
setPhaseFunction
Accessor method to assign String enumeration value ("Henyey-Greenstein" | "NONE") to initializeOnly SFString field named phaseFunction.
Tooltip: define scattering model for implementations using global illumination (NONE or Henyey-Greenstein phase function).#10;- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Parameters:
newValue- is new value for the phaseFunction field.- Returns:
ShadedVolumeStyle- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getShadows
boolean getShadows()Provide boolean value from inputOutput SFBool field named shadows.
Tooltip: Whether rendering calculates and applies shadows to visual output (using global illumination model). *- Returns:
- value of shadows field
-
setShadows
Accessor method to assign boolean value to inputOutput SFBool field named shadows.
Tooltip: Whether rendering calculates and applies shadows to visual output (using global illumination model). *- Parameters:
newValue- is new value for the shadows field.- Returns:
ShadedVolumeStyle- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getSurfaceNormals
X3DTexture3DNode getSurfaceNormals()Provide X3DTexture3DNode instance (using a properly typed node) from inputOutput SFNode field surfaceNormals.- Returns:
- value of surfaceNormals field
-
setSurfaceNormals
Accessor method to assign X3DTexture3DNode instance (using a properly typed node) to inputOutput SFNode field surfaceNormals.- Parameters:
newValue- is new value for the surfaceNormals field.- Returns:
ShadedVolumeStyle- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-