Interface FillProperties

All Superinterfaces:
X3DAppearanceChildNode, X3DNode
All Known Implementing Classes:
FillPropertiesObject

public interface FillProperties
extends X3DAppearanceChildNode
FillProperties indicates whether appearance is filled or hatched for associated geometry nodes inside the same Shape.

X3D node tooltip: [X3DAppearanceChildNode] FillProperties indicates whether appearance is filled or hatched for associated geometry nodes inside the same Shape. Hatches are applied on top of the already rendered appearance of the node, and are not affected by lighting.
  • Hint: DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
  • Warning: requires X3D profile='Full' or else include <component name='Shape' level='3'/>

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: FillProperties, X3D Tooltips: FillProperties, X3D Scene Authoring Hints
  • Method Summary

    Modifier and Type Method Description
    boolean getFilled()
    Provide boolean value from inputOutput SFBool field named filled.
    float[] getHatchColor()
    Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named hatchColor.
    boolean getHatched()
    Provide boolean value from inputOutput SFBool field named hatched.
    int getHatchStyle()
    Provide int value from inputOutput SFInt32 field named hatchStyle.
    X3DMetadataObject getMetadata()
    Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    FillProperties setFilled​(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named filled.
    FillProperties setHatchColor​(float[] newValue)
    Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named hatchColor.
    FillProperties setHatched​(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named hatched.
    FillProperties setHatchStyle​(int newValue)
    Accessor method to assign int value to inputOutput SFInt32 field named hatchStyle.
    FillProperties setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
  • Method Details

    • getFilled

      boolean getFilled()
      Provide boolean value from inputOutput SFBool field named filled.

      Tooltip: Whether or not associated geometry is filled. *
      Returns:
      value of filled field
    • setFilled

      FillProperties setFilled​(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named filled.

      Tooltip: Whether or not associated geometry is filled. *
      Parameters:
      newValue - is new value for the filled field.
      Returns:
      FillProperties - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getHatchColor

      float[] getHatchColor()
      Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named hatchColor.

      Tooltip: [0,1] Color of the hatch pattern. *
      Returns:
      value of hatchColor field
    • setHatchColor

      FillProperties setHatchColor​(float[] newValue)
      Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named hatchColor.

      Tooltip: [0,1] Color of the hatch pattern. *
      Parameters:
      newValue - is new value for the hatchColor field.
      Returns:
      FillProperties - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getHatched

      boolean getHatched()
      Provide boolean value from inputOutput SFBool field named hatched.

      Tooltip: Whether or not associated geometry is hatched. *
      Returns:
      value of hatched field
    • setHatched

      FillProperties setHatched​(boolean newValue)
      Accessor method to assign boolean value to inputOutput SFBool field named hatched.

      Tooltip: Whether or not associated geometry is hatched. *
      Parameters:
      newValue - is new value for the hatched field.
      Returns:
      FillProperties - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getHatchStyle

      int getHatchStyle()
      Provide int value from inputOutput SFInt32 field named hatchStyle.

      Tooltip: hatchStyle selects a hatch pattern from International Register of Graphical Items. 1=Horizontal equally spaced parallel lines. 2=Vertical equally spaced parallel lines. 3=Positive slope equally spaced parallel lines. 4=Negative slope equally spaced parallel lines. 5=Horizontal/vertical crosshatch. 6=Positive slope/negative slope crosshatch. 7=(cast iron or malleable iron and general use for all materials). 8=(steel). 9=(bronze, brass, copper, and compositions). 10=(white metal, zinc, lead, babbit, and alloys). 11=(magnesium, aluminum, and aluminum alloys). 12=(rubber, plastic, and electrical insulation). 13=(cork, felt, fabric, leather, and fibre). 14=(thermal insulation). 15=(titanium and refi-actory material). 16=(marble, slate, porcelain, glass, etc.). 17=(earth). 18=(sand). 19=(repeating dot).
      Returns:
      value of hatchStyle field
    • setHatchStyle

      FillProperties setHatchStyle​(int newValue)
      Accessor method to assign int value to inputOutput SFInt32 field named hatchStyle.

      Tooltip: hatchStyle selects a hatch pattern from International Register of Graphical Items. 1=Horizontal equally spaced parallel lines. 2=Vertical equally spaced parallel lines. 3=Positive slope equally spaced parallel lines. 4=Negative slope equally spaced parallel lines. 5=Horizontal/vertical crosshatch. 6=Positive slope/negative slope crosshatch. 7=(cast iron or malleable iron and general use for all materials). 8=(steel). 9=(bronze, brass, copper, and compositions). 10=(white metal, zinc, lead, babbit, and alloys). 11=(magnesium, aluminum, and aluminum alloys). 12=(rubber, plastic, and electrical insulation). 13=(cork, felt, fabric, leather, and fibre). 14=(thermal insulation). 15=(titanium and refi-actory material). 16=(marble, slate, porcelain, glass, etc.). 17=(earth). 18=(sand). 19=(repeating dot).
      Parameters:
      newValue - is new value for the hatchStyle field.
      Returns:
      FillProperties - 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 X3DAppearanceChildNode
      Specified by:
      getMetadata in interface X3DNode
      Returns:
      value of metadata field
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • setMetadata

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