Interface NurbsPatchSurface
- All Superinterfaces:
X3DGeometryNode
,X3DNode
,X3DNurbsSurfaceGeometryNode
,X3DParametricGeometryNode
- All Known Implementing Classes:
NurbsPatchSurface
NurbsPatchSurface defines a contiguous 3D Non-Uniform Rational B-Spline (NURBS) surface.
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.
NurbsPatchSurface node tooltip: [X3DNurbsSurfaceGeometryNode] NurbsPatchSurface defines a contiguous 3D Non-Uniform Rational B-Spline (NURBS) surface. * 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 TypeMethodDescriptionProvide org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) with acceptable node types limited to Coordinate|CoordinateDouble, from inputOutput SFNode field controlPoint.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.boolean
getSolid()
Provide boolean value from initializeOnly SFBool field named solid.Provide org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) with acceptable node types limited to X3DSingleTextureCoordinateNode|NurbsTextureCoordinate, from inputOutput SFNode field texCoord.boolean
Provide boolean value from initializeOnly SFBool field named uClosed.int
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.int
Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named uOrder.int
Provide int value from inputOutput SFInt32 field named uTessellation.boolean
Provide boolean value from initializeOnly SFBool field named vClosed.int
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.int
Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named vOrder.int
Provide int value from inputOutput SFInt32 field named vTessellation.double[]
Provide array of double results within allowed range of (0,infinity) from inputOutput MFDouble field named weight.setControlPoint
(X3DNode newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) to inputOutput SFNode field controlPoint.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setSolid
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named solid.setTexCoord
(X3DNode newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) to inputOutput SFNode field texCoord.setUClosed
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named uClosed.setUDimension
(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named uDimension.setUKnot
(double[] newValue) Accessor method to assign double array to initializeOnly MFDouble field named uKnot.setUOrder
(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named uOrder.setUTessellation
(int newValue) Accessor method to assign int value to inputOutput SFInt32 field named uTessellation.setVClosed
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named vClosed.setVDimension
(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named vDimension.setVKnot
(double[] newValue) Accessor method to assign double array to initializeOnly MFDouble field named vKnot.setVOrder
(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named vOrder.setVTessellation
(int newValue) Accessor method to assign int value to inputOutput SFInt32 field named vTessellation.setWeight
(double[] newValue) Accessor method to assign double array to inputOutput MFDouble field named weight.
-
Method Details
-
getControlPoint
X3DNode getControlPoint()Provide org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) with acceptable node types limited to Coordinate|CoordinateDouble, from inputOutput SFNode field controlPoint.
Tooltip: [Coordinate|CoordinateDouble|GeoCoordinate] Single contained Coordinate or CoordinateDouble node that can specify control points for NURBS geometry definitions. *- Specified by:
getControlPoint
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of controlPoint field
-
setControlPoint
Accessor method to assign org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) to inputOutput SFNode field controlPoint.
Tooltip: [Coordinate|CoordinateDouble|GeoCoordinate] Single contained Coordinate or CoordinateDouble node that can specify control points for NURBS geometry definitions. *- Specified by:
setControlPoint
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the controlPoint field.- Returns:
NurbsPatchSurface
- 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 interfaceX3DGeometryNode
- Specified by:
getMetadata
in interfaceX3DNode
- Specified by:
getMetadata
in interfaceX3DNurbsSurfaceGeometryNode
- Specified by:
getMetadata
in interfaceX3DParametricGeometryNode
- 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 interfaceX3DGeometryNode
- Specified by:
setMetadata
in interfaceX3DNode
- Specified by:
setMetadata
in interfaceX3DNurbsSurfaceGeometryNode
- Specified by:
setMetadata
in interfaceX3DParametricGeometryNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
NurbsPatchSurface
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getSolid
boolean getSolid()Provide boolean value from initializeOnly SFBool field named solid.
Tooltip: Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).- Hint: mnemonic "this geometry is solid like a brick" (you don't render the inside of a brick).
- Warning: default value true can completely hide geometry if viewed from wrong side!
- Hint: if in doubt, use solid='false' for maximum visibility.
- Hint: accessType relaxed to inputOutput in order to support animation and visualization.
- Specified by:
getSolid
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of solid field
-
setSolid
Accessor method to assign boolean value to initializeOnly SFBool field named solid.
Tooltip: Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).- Hint: mnemonic "this geometry is solid like a brick" (you don't render the inside of a brick).
- Warning: default value true can completely hide geometry if viewed from wrong side!
- Hint: if in doubt, use solid='false' for maximum visibility.
- Hint: accessType relaxed to inputOutput in order to support animation and visualization.
- Specified by:
setSolid
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the solid field.- Returns:
NurbsPatchSurface
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTexCoord
X3DNode getTexCoord()Provide org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) with acceptable node types limited to X3DSingleTextureCoordinateNode|NurbsTextureCoordinate, from inputOutput SFNode field texCoord.
Tooltip: [X3DTextureCoordinateNode|NurbsTextureCoordinate] Single contained NurbsTextureCoordinate, TextureCoordinate, TextureCoordinateGenerator or MultiTextureCoordinate node that can specify coordinates for texture mapping onto corresponding geometry. *- Specified by:
getTexCoord
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of texCoord field
-
setTexCoord
Accessor method to assign org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) to inputOutput SFNode field texCoord.
Tooltip: [X3DTextureCoordinateNode|NurbsTextureCoordinate] Single contained NurbsTextureCoordinate, TextureCoordinate, TextureCoordinateGenerator or MultiTextureCoordinate node that can specify coordinates for texture mapping onto corresponding geometry. *- Specified by:
setTexCoord
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the texCoord field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: Whether opposite surface sides are closed (seamless) across u dimension. *- Specified by:
getUClosed
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of uClosed field
-
setUClosed
Accessor method to assign boolean value to initializeOnly SFBool field named uClosed.
Tooltip: Whether opposite surface sides are closed (seamless) across u dimension. *- Specified by:
setUClosed
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the uClosed field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: Number of control points in u dimension. *- Specified by:
getUDimension
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of uDimension field
-
setUDimension
Accessor method to assign int value to initializeOnly SFInt32 field named uDimension.
Tooltip: Number of control points in u dimension. *- Specified by:
setUDimension
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the uDimension field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: knot vector, where size = number of control points + order of curve. *- Specified by:
getUKnot
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of uKnot field
-
setUKnot
Accessor method to assign double array to initializeOnly MFDouble field named uKnot.
Tooltip: knot vector, where size = number of control points + order of curve. *- Specified by:
setUKnot
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the uKnot field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: define order of surface by polynomials of degree = order-1. *- Specified by:
getUOrder
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of uOrder field
-
setUOrder
Accessor method to assign int value to initializeOnly SFInt32 field named uOrder.
Tooltip: define order of surface by polynomials of degree = order-1. *- Specified by:
setUOrder
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the uOrder field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: hint for surface tessellation. *- Specified by:
getUTessellation
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of uTessellation field
-
setUTessellation
Accessor method to assign int value to inputOutput SFInt32 field named uTessellation.
Tooltip: hint for surface tessellation. *- Specified by:
setUTessellation
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the uTessellation field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: Whether opposite surface sides are closed (seamless) across u dimension. *- Specified by:
getVClosed
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of vClosed field
-
setVClosed
Accessor method to assign boolean value to initializeOnly SFBool field named vClosed.
Tooltip: Whether opposite surface sides are closed (seamless) across u dimension. *- Specified by:
setVClosed
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the vClosed field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: Number of control points in v dimension. *- Specified by:
getVDimension
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of vDimension field
-
setVDimension
Accessor method to assign int value to initializeOnly SFInt32 field named vDimension.
Tooltip: Number of control points in v dimension. *- Specified by:
setVDimension
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the vDimension field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: knot vector, where size = number of control points + order of curve. *- Specified by:
getVKnot
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of vKnot field
-
setVKnot
Accessor method to assign double array to initializeOnly MFDouble field named vKnot.
Tooltip: knot vector, where size = number of control points + order of curve. *- Specified by:
setVKnot
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the vKnot field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: define order of surface by polynomials of degree = order-1. *- Specified by:
getVOrder
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of vOrder field
-
setVOrder
Accessor method to assign int value to initializeOnly SFInt32 field named vOrder.
Tooltip: define order of surface by polynomials of degree = order-1. *- Specified by:
setVOrder
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the vOrder field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: hint for surface tessellation. *- Specified by:
getVTessellation
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of vTessellation field
-
setVTessellation
Accessor method to assign int value to inputOutput SFInt32 field named vTessellation.
Tooltip: hint for surface tessellation. *- Specified by:
setVTessellation
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the vTessellation field.- Returns:
NurbsPatchSurface
- 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.
Tooltip: Vector assigning relative weight value to each control point. *- Specified by:
getWeight
in interfaceX3DNurbsSurfaceGeometryNode
- Returns:
- value of weight field
-
setWeight
Accessor method to assign double array to inputOutput MFDouble field named weight.
Tooltip: Vector assigning relative weight value to each control point. *- Specified by:
setWeight
in interfaceX3DNurbsSurfaceGeometryNode
- Parameters:
newValue
- is new value for the weight field.- Returns:
NurbsPatchSurface
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-