Package org.web3d.x3d.sai.NURBS
Interface NurbsTextureCoordinate
- All Superinterfaces:
X3DNode
- All Known Implementing Classes:
NurbsTextureCoordinate
public interface NurbsTextureCoordinate extends X3DNode
NurbsTextureCoordinate describes a 3D NURBS surface in the parametric domain of its surface host, specifying mapping of texture onto the surface.
X3D node tooltip: [X3DNode] NurbsTextureCoordinate describes a 3D NURBS surface in the parametric domain of its surface host, specifying mapping of texture onto the surface.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
X3D node tooltip: [X3DNode] NurbsTextureCoordinate describes a 3D NURBS surface in the parametric domain of its surface host, specifying mapping of texture onto the surface.
- Hint: the SFNode controlPoint field can contain a single Coordinate or CoordinateDouble node.
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 float[]
getControlPoint()
Provide array of 2-tuple float results from inputOutput MFVec2f field named controlPoint.X3DMetadataObject
getMetadata()
Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.int
getUDimension()
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
getUOrder()
Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named uOrder.int
getVDimension()
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
getVOrder()
Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named vOrder.float[]
getWeight()
Provide array of float results within allowed range of (0,infinity) from inputOutput MFFloat field named weight.NurbsTextureCoordinate
setControlPoint(float[] newValue)
Accessor method to assign 2-tuple float array to inputOutput MFVec2f field named controlPoint.NurbsTextureCoordinate
setMetadata(X3DMetadataObject newValue)
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.NurbsTextureCoordinate
setUDimension(int newValue)
Accessor method to assign int value to initializeOnly SFInt32 field named uDimension.NurbsTextureCoordinate
setUKnot(double[] newValue)
Accessor method to assign double array to initializeOnly MFDouble field named uKnot.NurbsTextureCoordinate
setUOrder(int newValue)
Accessor method to assign int value to initializeOnly SFInt32 field named uOrder.NurbsTextureCoordinate
setVDimension(int newValue)
Accessor method to assign int value to initializeOnly SFInt32 field named vDimension.NurbsTextureCoordinate
setVKnot(double[] newValue)
Accessor method to assign double array to initializeOnly MFDouble field named vKnot.NurbsTextureCoordinate
setVOrder(int newValue)
Accessor method to assign int value to initializeOnly SFInt32 field named vOrder.NurbsTextureCoordinate
setWeight(float[] newValue)
Accessor method to assign float array to inputOutput MFFloat field named weight.
-
Method Details
-
getControlPoint
float[] getControlPoint()Provide array of 2-tuple float results from inputOutput MFVec2f field named controlPoint.
Tooltip: controlPoint defines a set of control points of dimension uDimension by vDimension, and defines a mesh where the points do not have uniform spacing. *- Returns:
- value of controlPoint field
-
setControlPoint
Accessor method to assign 2-tuple float array to inputOutput MFVec2f field named controlPoint.
Tooltip: controlPoint defines a set of control points of dimension uDimension by vDimension, and defines a mesh where the points do not have uniform spacing. *- Parameters:
newValue
- is new value for the controlPoint field.- Returns:
NurbsTextureCoordinate
- 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/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/components/core.html#Metadata
- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
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/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/components/core.html#Metadata
- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
NurbsTextureCoordinate
- 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
-
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. *- 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. *- Parameters:
newValue
- is new value for the uDimension field.- Returns:
NurbsTextureCoordinate
- 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. *- 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. *- Parameters:
newValue
- is new value for the uKnot field.- Returns:
NurbsTextureCoordinate
- 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. *- 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. *- Parameters:
newValue
- is new value for the uOrder field.- Returns:
NurbsTextureCoordinate
- 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. *- 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. *- Parameters:
newValue
- is new value for the vDimension field.- Returns:
NurbsTextureCoordinate
- 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. *- 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. *- Parameters:
newValue
- is new value for the vKnot field.- Returns:
NurbsTextureCoordinate
- 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. *- 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. *- Parameters:
newValue
- is new value for the vOrder field.- Returns:
NurbsTextureCoordinate
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getWeight
float[] getWeight()Provide array of float results within allowed range of (0,infinity) from inputOutput MFFloat field named weight.
Tooltip: Output values for linear interpolation, each corresponding to knots.- Hint: number of weights must match number of knots!.
- Returns:
- value of weight field
-
setWeight
Accessor method to assign float array to inputOutput MFFloat field named weight.
Tooltip: Output values for linear interpolation, each corresponding to knots.- Hint: number of weights must match number of knots!.
- Parameters:
newValue
- is new value for the weight field.- Returns:
NurbsTextureCoordinate
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-