Package org.web3d.x3d.sai.Shape
Interface FillProperties
- All Superinterfaces:
X3DAppearanceChildNode
,X3DNode
- All Known Implementing Classes:
FillProperties
FillProperties indicates whether appearance is filled or hatched for associated geometry nodes inside the same Shape.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
FillProperties 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:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Provide boolean value from inputOutput SFBool field named filled.float[]
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named hatchColor.boolean
Provide boolean value from inputOutput SFBool field named hatched.int
Provide int enumeration value (baseType SFInt32) ["1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19"] from inputOutput SFInt32 field named hatchStyle.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.setFilled
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named filled.setHatchColor
(float[] newValue) Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named hatchColor.setHatched
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named hatched.setHatchStyle
(int newValue) Accessor method to assign int enumeration value ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19") to inputOutput SFInt32 field named hatchStyle.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.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
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
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
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 enumeration value (baseType SFInt32) ["1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19"] from inputOutput SFInt32 field named hatchStyle.
Tooltip: hatchStyle selects a hatch pattern from ISO/IEC 9973 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).- Hint: detailed descriptions of hatchstyle values are found at the ISO/IEC 9973 International Register of Graphical Items https://www.iso.org/jtc1/sc24/register at https://isotc.iso.org/livelink/livelink/fetch/-8916524/8916549/8916590/6208440/class_pages/hatchstyle.html
- Returns:
- value of hatchStyle field
-
setHatchStyle
Accessor method to assign int enumeration value ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19") to inputOutput SFInt32 field named hatchStyle.
Tooltip: hatchStyle selects a hatch pattern from ISO/IEC 9973 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).- Hint: detailed descriptions of hatchstyle values are found at the ISO/IEC 9973 International Register of Graphical Items https://www.iso.org/jtc1/sc24/register at https://isotc.iso.org/livelink/livelink/fetch/-8916524/8916549/8916590/6208440/class_pages/hatchstyle.html
- 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 org.web3d.x3d.sai.Core.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/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/core.html#Metadata
- Specified by:
getMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.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/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/core.html#Metadata
- Specified by:
setMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
setMetadata
in interfaceX3DNode
- 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:
-