public interface ViewpointGroup extends X3DChildNode
| Modifier and Type | Method and Description |
|---|---|
void |
addChildren(X3DNode[] newValue)
Add array of children nodes to array of existing nodes (if any).
|
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) with acceptable node types limited to X3DViewpointNode|ViewpointGroup, from inputOutput MFNode field children.
|
java.lang.String |
getDescription()
Provide String value from inputOutput SFString field named description.
|
boolean |
getDisplayed()
Provide boolean value from inputOutput SFBool field named displayed.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
boolean |
getRetainUserOffsets()
Provide boolean value from inputOutput SFBool field named retainUserOffsets.
|
float[] |
getSize()
Provide array of 3-tuple float results from initializeOnly SFVec3f field named size.
|
ViewpointGroup |
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).
|
ViewpointGroup |
setChildren(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) with acceptable node types limited to X3DViewpointNode|ViewpointGroup, to inputOutput MFNode field children.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(newValue instanceof org.web3d.x3d.jsail.Core.CommentsBlock) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ROUTEObject) ||
(newValue instanceof org.web3d.x3d.jsail.Networking.IMPORTObject) ||
(newValue instanceof org.web3d.x3d.jsail.Networking.EXPORTObject) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ProtoDeclareObject) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ExternProtoDeclareObject) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Navigation.X3DViewpointNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Navigation.ViewpointGroupObject);
if (!
|
ViewpointGroup |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ViewpointGroup |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ViewpointGroup |
setDescription(java.lang.String newValue)
Assign String value to inputOutput SFString field named description.
|
ViewpointGroup |
setDisplayed(boolean newValue)
Assign boolean value to inputOutput SFBool field named displayed.
|
ViewpointGroup |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ViewpointGroup |
setRetainUserOffsets(boolean newValue)
Assign boolean value to inputOutput SFBool field named retainUserOffsets.
|
ViewpointGroup |
setSize(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named size.
|
ViewpointGroup |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getCenter()
ViewpointGroup setCenter(float[] newValue)
newValue - is new value for the center field.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getChildren()
X3DViewpointNode,
ViewpointGroupObjectViewpointGroup setChildren(X3DNode[] newValue)
newValue - is new value for the children field.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addChildren(X3DNode[] newValue)
newValue - is new value array to be appended the children field.void setChildren(X3DNode newValue)
newValue - is new node for the children fieldjava.lang.String getDescription()
ViewpointGroup setDescription(java.lang.String newValue)
newValue - is new value for the description field.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getDisplayed()
ViewpointGroup setDisplayed(boolean newValue)
newValue - is new value for the displayed field.ViewpointGroup - 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 X3DNodeViewpointGroup setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getRetainUserOffsets()
ViewpointGroup setRetainUserOffsets(boolean newValue)
newValue - is new value for the retainUserOffsets field.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getSize()
ViewpointGroup setSize(float[] newValue)
newValue - is new value for the size field.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ViewpointGroup setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ViewpointGroup 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.ViewpointGroup - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ViewpointGroup setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.ViewpointGroup - 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.