Package org.web3d.x3d.sai.NURBS
Interface X3DNurbsSurfaceGeometryNode
- All Superinterfaces:
X3DGeometryNode,X3DNode,X3DParametricGeometryNode
- All Known Subinterfaces:
NurbsPatchSurface,NurbsTrimmedSurface
- All Known Implementing Classes:
NurbsPatchSurfaceObject,NurbsTrimmedSurfaceObject
public interface X3DNurbsSurfaceGeometryNode extends X3DParametricGeometryNode
Abstract geometry type for all types of NURBS surfaces.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description X3DCoordinateNodegetControlPoint()Provide X3DCoordinateNode instance (using a properly typed node) from inputOutput SFNode field controlPoint.X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.booleangetSolid()Provide boolean value from initializeOnly SFBool field named solid.X3DNodegetTexCoord()Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTextureCoordinateNode|NurbsTextureCoordinate, from inputOutput SFNode field texCoord.booleangetUClosed()Provide boolean value from initializeOnly SFBool field named uClosed.intgetUDimension()Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named uDimension.double[]getUKnot()Provide array of double results from initializeOnly MFDouble field named uKnot.intgetUOrder()Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named uOrder.intgetUTessellation()Provide int value from inputOutput SFInt32 field named uTessellation.booleangetVClosed()Provide boolean value from initializeOnly SFBool field named vClosed.intgetVDimension()Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named vDimension.double[]getVKnot()Provide array of double results from initializeOnly MFDouble field named vKnot.intgetVOrder()Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named vOrder.intgetVTessellation()Provide int value from inputOutput SFInt32 field named vTessellation.double[]getWeight()Provide array of double results within allowed range of (0,infinity) from inputOutput MFDouble field named weight.X3DNurbsSurfaceGeometryNodesetControlPoint(X3DCoordinateNode newValue)Accessor method to assign X3DCoordinateNode instance (using a properly typed node) to inputOutput SFNode field controlPoint.X3DNurbsSurfaceGeometryNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.X3DNurbsSurfaceGeometryNodesetSolid(boolean newValue)Accessor method to assign boolean value to initializeOnly SFBool field named solid.X3DNurbsSurfaceGeometryNodesetTexCoord(X3DNode newValue)Accessor method to assign X3DNode instance (using a properly typed node) to inputOutput SFNode field texCoord. // newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1 boolean isNodeTypeAllowed = (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTextureCoordinateNode) || (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.NURBS.NurbsTextureCoordinateObject); if (!X3DNurbsSurfaceGeometryNodesetUClosed(boolean newValue)Accessor method to assign boolean value to initializeOnly SFBool field named uClosed.X3DNurbsSurfaceGeometryNodesetUDimension(int newValue)Accessor method to assign int value to initializeOnly SFInt32 field named uDimension.X3DNurbsSurfaceGeometryNodesetUKnot(double[] newValue)Accessor method to assign double array to initializeOnly MFDouble field named uKnot.X3DNurbsSurfaceGeometryNodesetUOrder(int newValue)Accessor method to assign int value to initializeOnly SFInt32 field named uOrder.X3DNurbsSurfaceGeometryNodesetUTessellation(int newValue)Accessor method to assign int value to inputOutput SFInt32 field named uTessellation.X3DNurbsSurfaceGeometryNodesetVClosed(boolean newValue)Accessor method to assign boolean value to initializeOnly SFBool field named vClosed.X3DNurbsSurfaceGeometryNodesetVDimension(int newValue)Accessor method to assign int value to initializeOnly SFInt32 field named vDimension.X3DNurbsSurfaceGeometryNodesetVKnot(double[] newValue)Accessor method to assign double array to initializeOnly MFDouble field named vKnot.X3DNurbsSurfaceGeometryNodesetVOrder(int newValue)Accessor method to assign int value to initializeOnly SFInt32 field named vOrder.X3DNurbsSurfaceGeometryNodesetVTessellation(int newValue)Accessor method to assign int value to inputOutput SFInt32 field named vTessellation.X3DNurbsSurfaceGeometryNodesetWeight(double[] newValue)Accessor method to assign double array to inputOutput MFDouble field named weight.
-
Method Details
-
getControlPoint
X3DCoordinateNode getControlPoint()Provide X3DCoordinateNode instance (using a properly typed node) from inputOutput SFNode field controlPoint.- Returns:
- value of controlPoint field
-
setControlPoint
Accessor method to assign X3DCoordinateNode instance (using a properly typed node) to inputOutput SFNode field controlPoint.- Parameters:
newValue- is new value for the controlPoint field.- Returns:
X3DNurbsSurfaceGeometryNode- 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:
getMetadatain interfaceX3DGeometryNode- Specified by:
getMetadatain interfaceX3DNode- Specified by:
getMetadatain interfaceX3DParametricGeometryNode- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DGeometryNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain interfaceX3DParametricGeometryNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DNurbsSurfaceGeometryNode- 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
-
getSolid
boolean getSolid()Provide boolean value from initializeOnly SFBool field named solid.- Returns:
- value of solid field
-
setSolid
Accessor method to assign boolean value to initializeOnly SFBool field named solid.- Parameters:
newValue- is new value for the solid field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTexCoord
X3DNode getTexCoord()Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTextureCoordinateNode|NurbsTextureCoordinate, from inputOutput SFNode field texCoord.- Returns:
- value of texCoord field
-
setTexCoord
Accessor method to assign X3DNode instance (using a properly typed node) to inputOutput SFNode field texCoord. // newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1 boolean isNodeTypeAllowed = (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTextureCoordinateNode) || (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.NURBS.NurbsTextureCoordinateObject); if (!isNodeTypeAllowed) { throw new org.web3d.x3d.sai.InvalidFieldValueException("X3DNode newValue is not instanceof " + "acceptableNodeTypes X3DTextureCoordinateNode|NurbsTextureCoordinate; newValue=" + newValue); }- Parameters:
newValue- is new value for the texCoord field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUClosed
boolean getUClosed()Provide boolean value from initializeOnly SFBool field named uClosed.- Returns:
- value of uClosed field
-
setUClosed
Accessor method to assign boolean value to initializeOnly SFBool field named uClosed.- Parameters:
newValue- is new value for the uClosed field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUDimension
int getUDimension()Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named uDimension.- Returns:
- value of uDimension field
-
setUDimension
Accessor method to assign int value to initializeOnly SFInt32 field named uDimension.- Parameters:
newValue- is new value for the uDimension field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUKnot
double[] getUKnot()Provide array of double results from initializeOnly MFDouble field named uKnot.- Returns:
- value of uKnot field
-
setUKnot
Accessor method to assign double array to initializeOnly MFDouble field named uKnot.- Parameters:
newValue- is new value for the uKnot field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUOrder
int getUOrder()Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named uOrder.- Returns:
- value of uOrder field
-
setUOrder
Accessor method to assign int value to initializeOnly SFInt32 field named uOrder.- Parameters:
newValue- is new value for the uOrder field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUTessellation
int getUTessellation()Provide int value from inputOutput SFInt32 field named uTessellation.- Returns:
- value of uTessellation field
-
setUTessellation
Accessor method to assign int value to inputOutput SFInt32 field named uTessellation.- Parameters:
newValue- is new value for the uTessellation field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVClosed
boolean getVClosed()Provide boolean value from initializeOnly SFBool field named vClosed.- Returns:
- value of vClosed field
-
setVClosed
Accessor method to assign boolean value to initializeOnly SFBool field named vClosed.- Parameters:
newValue- is new value for the vClosed field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVDimension
int getVDimension()Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named vDimension.- Returns:
- value of vDimension field
-
setVDimension
Accessor method to assign int value to initializeOnly SFInt32 field named vDimension.- Parameters:
newValue- is new value for the vDimension field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVKnot
double[] getVKnot()Provide array of double results from initializeOnly MFDouble field named vKnot.- Returns:
- value of vKnot field
-
setVKnot
Accessor method to assign double array to initializeOnly MFDouble field named vKnot.- Parameters:
newValue- is new value for the vKnot field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVOrder
int getVOrder()Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named vOrder.- Returns:
- value of vOrder field
-
setVOrder
Accessor method to assign int value to initializeOnly SFInt32 field named vOrder.- Parameters:
newValue- is new value for the vOrder field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVTessellation
int getVTessellation()Provide int value from inputOutput SFInt32 field named vTessellation.- Returns:
- value of vTessellation field
-
setVTessellation
Accessor method to assign int value to inputOutput SFInt32 field named vTessellation.- Parameters:
newValue- is new value for the vTessellation field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getWeight
double[] getWeight()Provide array of double results within allowed range of (0,infinity) from inputOutput MFDouble field named weight.- Returns:
- value of weight field
-
setWeight
Accessor method to assign double array to inputOutput MFDouble field named weight.- Parameters:
newValue- is new value for the weight field.- Returns:
X3DNurbsSurfaceGeometryNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-