public interface X3DShapeNode extends X3DChildNode, X3DBoundedObject
| Modifier and Type | Method and Description |
|---|---|
X3DAppearanceNode |
getAppearance()
Provide X3DAppearanceNode instance (using a properly typed node) from inputOutput SFNode field appearance.
|
float[] |
getBboxCenter()
Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.
|
float[] |
getBboxSize()
Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.
|
X3DGeometryNode |
getGeometry()
Provide X3DGeometryNode instance (using a properly typed node) from inputOutput SFNode field geometry.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
X3DShapeNode |
setAppearance(X3DAppearanceNode newValue)
Assign X3DAppearanceNode instance (using a properly typed node) to inputOutput SFNode field appearance.
|
X3DShapeNode |
setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
X3DShapeNode |
setBboxSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity), or default value [-1 -1 -1], to initializeOnly SFVec3f field named bboxSize.
|
X3DShapeNode |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
X3DShapeNode |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
X3DShapeNode |
setGeometry(X3DGeometryNode newValue)
Assign X3DGeometryNode instance (using a properly typed node) to inputOutput SFNode field geometry.
|
X3DShapeNode |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
X3DShapeNode |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DAppearanceNode getAppearance()
X3DShapeNode setAppearance(X3DAppearanceNode newValue)
newValue - is new value for the appearance field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBboxCenter()
getBboxCenter in interface X3DBoundedObjectX3DShapeNode setBboxCenter(float[] newValue)
setBboxCenter in interface X3DBoundedObjectnewValue - is new value for the bboxCenter field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBboxSize()
getBboxSize in interface X3DBoundedObjectX3DShapeNode setBboxSize(float[] newValue)
setBboxSize in interface X3DBoundedObjectnewValue - is new value for the bboxSize field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DGeometryNode getGeometry()
X3DShapeNode setGeometry(X3DGeometryNode newValue)
newValue - is new value for the geometry field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodeX3DShapeNode setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DShapeNode setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DShapeNode setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodenewValue - is new value for the USE field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DShapeNode setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.X3DShapeNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.