public interface CADPart extends X3DProductStructureChildNode, X3DGroupingNode
| Modifier and Type | Method and Description |
|---|---|
void |
addChildren(X3DNode[] newValue)
Add array of children nodes to array of existing nodes (if any).
|
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.
|
float[] |
getCenter()
Provide array of 3-tuple float results from inputOutput SFVec3f field named center.
|
X3DNode[] |
getChildren()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field children.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String |
getName()
Provide String value from inputOutput SFString field named name.
|
float[] |
getRotation()
Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named rotation.
|
float[] |
getScale()
Provide array of 3-tuple float results from inputOutput SFVec3f field named scale.
|
float[] |
getScaleOrientation()
Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named scaleOrientation.
|
float[] |
getTranslation()
Provide array of 3-tuple float results from inputOutput SFVec3f field named translation.
|
CADPart |
setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
CADPart |
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.
|
CADPart |
setCenter(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named center.
|
void |
setChildren(X3DNode newValue)
Set single children node, replacing prior array of existing nodes (if any).
|
CADPart |
setChildren(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field children.
|
CADPart |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
CADPart |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
CADPart |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
CADPart |
setName(java.lang.String newValue)
Assign String value to inputOutput SFString field named name.
|
CADPart |
setRotation(float[] newValue)
Assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named rotation.
|
CADPart |
setScale(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named scale.
|
CADPart |
setScaleOrientation(float[] newValue)
Assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named scaleOrientation.
|
CADPart |
setTranslation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named translation.
|
CADPart |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getBboxCenter()
getBboxCenter in interface X3DBoundedObjectgetBboxCenter in interface X3DGroupingNodeCADPart setBboxCenter(float[] newValue)
setBboxCenter in interface X3DBoundedObjectsetBboxCenter in interface X3DGroupingNodenewValue - is new value for the bboxCenter field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBboxSize()
getBboxSize in interface X3DBoundedObjectgetBboxSize in interface X3DGroupingNodeCADPart setBboxSize(float[] newValue)
setBboxSize in interface X3DBoundedObjectsetBboxSize in interface X3DGroupingNodenewValue - is new value for the bboxSize field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getCenter()
CADPart setCenter(float[] newValue)
newValue - is new value for the center field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getChildren()
getChildren in interface X3DGroupingNodeCADFaceObjectCADPart setChildren(X3DNode[] newValue)
setChildren in interface X3DGroupingNodenewValue - is new value for the children field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addChildren(X3DNode[] newValue)
addChildren in interface X3DGroupingNodenewValue - is new value array to be appended the children field.void setChildren(X3DNode newValue)
setChildren in interface X3DGroupingNodenewValue - is new node for the children fieldX3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DGroupingNodegetMetadata in interface X3DNodegetMetadata in interface X3DProductStructureChildNodeCADPart setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DGroupingNodesetMetadata in interface X3DNodesetMetadata in interface X3DProductStructureChildNodenewValue - is new value for the metadata field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getName()
getName in interface X3DProductStructureChildNodeCADPart setName(java.lang.String newValue)
setName in interface X3DProductStructureChildNodenewValue - is new value for the name field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getRotation()
CADPart setRotation(float[] newValue)
newValue - is new value for the rotation field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getScale()
CADPart setScale(float[] newValue)
newValue - is new value for the scale field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getScaleOrientation()
CADPart setScaleOrientation(float[] newValue)
newValue - is new value for the scaleOrientation field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getTranslation()
CADPart setTranslation(float[] newValue)
newValue - is new value for the translation field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CADPart setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DGroupingNodesetDEF in interface X3DNodesetDEF in interface X3DProductStructureChildNodenewValue - is new value for the DEF field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CADPart 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 X3DGroupingNodesetUSE in interface X3DNodesetUSE in interface X3DProductStructureChildNodenewValue - is new value for the USE field.CADPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CADPart setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DGroupingNodesetCssClass in interface X3DNodesetCssClass in interface X3DProductStructureChildNodenewValue - is new value for the class field.CADPart - 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.