Interface X3DComposedGeometryNode

All Superinterfaces:
X3DGeometryNode, X3DNode
All Known Subinterfaces:
IndexedFaceSet, IndexedQuadSet, IndexedTriangleFanSet, IndexedTriangleSet, IndexedTriangleStripSet, QuadSet, TriangleFanSet, TriangleSet, TriangleStripSet
All Known Implementing Classes:
IndexedFaceSetObject, IndexedQuadSetObject, IndexedTriangleFanSetObject, IndexedTriangleSetObject, IndexedTriangleStripSetObject, QuadSetObject, TriangleFanSetObject, TriangleSetObject, TriangleStripSetObject

public interface X3DComposedGeometryNode
extends X3DGeometryNode
Composed geometry nodes produce renderable geometry, can contain Color Coordinate Normal TextureCoordinate, and are contained by a Shape node.


Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification: TODO, X3D Abstract Specification: TODO, X3D Tooltips, X3D Scene Authoring Hints
  • Method Details

    • getAttrib

      X3DNode[] getAttrib()
      Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field attrib.

      Warning: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DVertexAttributeNode.
      Returns:
      value of attrib field
      See Also:
      X3DVertexAttributeNode
    • setAttrib

      X3DComposedGeometryNode setAttrib​(X3DNode[] newValue)
      Accessor method to assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field attrib.

      Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DVertexAttributeNode.
      Parameters:
      newValue - is new value for the attrib field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • addAttrib

      void addAttrib​(X3DNode[] newValue)
      Add array of child attrib nodes to array of existing nodes (if any).

      Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DVertexAttributeNode.
      Parameters:
      newValue - is new value array to be appended the attrib field.
    • setAttrib

      void setAttrib​(X3DNode newValue)
      Set single child attrib node, replacing prior array of existing nodes (if any).
      Parameters:
      newValue - is new node for the attrib field
    • getCcw

      boolean getCcw()
      Provide boolean value from initializeOnly SFBool field named ccw.
      Returns:
      value of ccw field
    • setCcw

      X3DComposedGeometryNode setCcw​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named ccw.
      Parameters:
      newValue - is new value for the ccw field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getColor

      X3DColorNode getColor()
      Provide X3DColorNode instance (using a properly typed node) using RGB values [0..1] from inputOutput SFNode field color.
      Returns:
      value of color field
    • setColor

      X3DComposedGeometryNode setColor​(X3DColorNode newValue)
      Accessor method to assign X3DColorNode instance (using a properly typed node) to inputOutput SFNode field color.
      Parameters:
      newValue - is new value for the color field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getColorPerVertex

      boolean getColorPerVertex()
      Provide boolean value from initializeOnly SFBool field named colorPerVertex.
      Returns:
      value of colorPerVertex field
    • setColorPerVertex

      X3DComposedGeometryNode setColorPerVertex​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named colorPerVertex.
      Parameters:
      newValue - is new value for the colorPerVertex field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getCoord

      X3DCoordinateNode getCoord()
      Provide X3DCoordinateNode instance (using a properly typed node) from inputOutput SFNode field coord.
      Returns:
      value of coord field
    • setCoord

      Accessor method to assign X3DCoordinateNode instance (using a properly typed node) to inputOutput SFNode field coord.
      Parameters:
      newValue - is new value for the coord field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getFogCoord

      FogCoordinate getFogCoord()
      Provide FogCoordinate instance (using a properly typed node) from inputOutput SFNode field fogCoord.
      Returns:
      value of fogCoord field
    • setFogCoord

      X3DComposedGeometryNode setFogCoord​(FogCoordinate newValue)
      Accessor method to assign FogCoordinate instance (using a properly typed node) to inputOutput SFNode field fogCoord.
      Parameters:
      newValue - is new value for the fogCoord field.
      Returns:
      X3DComposedGeometryNode - 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.
      Specified by:
      getMetadata in interface X3DGeometryNode
      Specified by:
      getMetadata in interface X3DNode
      Returns:
      value of metadata field
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • setMetadata

      X3DComposedGeometryNode setMetadata​(X3DMetadataObject newValue)
      Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in interface X3DGeometryNode
      Specified by:
      setMetadata in interface X3DNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      X3DComposedGeometryNode - 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
    • getNormal

      X3DNormalNode getNormal()
      Provide X3DNormalNode instance (using a properly typed node) from inputOutput SFNode field normal.
      Returns:
      value of normal field
    • setNormal

      X3DComposedGeometryNode setNormal​(X3DNormalNode newValue)
      Accessor method to assign X3DNormalNode instance (using a properly typed node) to inputOutput SFNode field normal.
      Parameters:
      newValue - is new value for the normal field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getNormalPerVertex

      boolean getNormalPerVertex()
      Provide boolean value from initializeOnly SFBool field named normalPerVertex.
      Returns:
      value of normalPerVertex field
    • setNormalPerVertex

      X3DComposedGeometryNode setNormalPerVertex​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named normalPerVertex.
      Parameters:
      newValue - is new value for the normalPerVertex field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSolid

      boolean getSolid()
      Provide boolean value from initializeOnly SFBool field named solid.
      Returns:
      value of solid field
    • setSolid

      X3DComposedGeometryNode setSolid​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named solid.
      Parameters:
      newValue - is new value for the solid field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getTexCoord

      Provide X3DTextureCoordinateNode instance (using a properly typed node) from inputOutput SFNode field texCoord.
      Returns:
      value of texCoord field
    • setTexCoord

      Accessor method to assign X3DTextureCoordinateNode instance (using a properly typed node) to inputOutput SFNode field texCoord.
      Parameters:
      newValue - is new value for the texCoord field.
      Returns:
      X3DComposedGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).