Interface NurbsOrientationInterpolator

All Superinterfaces:
X3DChildNode, X3DNode
All Known Implementing Classes:
NurbsOrientationInterpolator

public interface NurbsOrientationInterpolator extends X3DChildNode
NurbsOrientationInterpolator describes a 3D NURBS curve and outputs interpolated orientation values.

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. X3D node tooltip: [X3DChildNode] NurbsOrientationInterpolator describes a 3D NURBS curve and outputs interpolated orientation values. 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).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    double[]
    Provide array of double results from inputOutput MFDouble field named knot.
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    int
    Provide int value within allowed range of [2,infinity) from inputOutput SFInt32 field named order.
    float[]
    Provide array of 4-tuple float results unit axis, angle (in radians) from outputOnly SFRotation field named value_changed.
    double[]
    Provide array of double results from inputOutput MFDouble field named weight.
    Accessor method to assign org.web3d.x3d.sai.Core.X3DNode instance (using a properly typed node) to inputOutput SFNode field controlPoint.
    setKnot(double[] newValue)
    Accessor method to assign double array to inputOutput MFDouble field named knot.
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    setOrder(int newValue)
    Accessor method to assign int value to inputOutput SFInt32 field named order.
    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. *
      Returns:
      value of controlPoint field
    • setControlPoint

      NurbsOrientationInterpolator setControlPoint(X3DNode newValue)
      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. *
      Parameters:
      newValue - is new value for the controlPoint field.
      Returns:
      NurbsOrientationInterpolator - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getKnot

      double[] getKnot()
      Provide array of double results from inputOutput MFDouble field named knot.

      Tooltip: knot vector, where size = number of control points + order of curve. *
      Returns:
      value of knot field
    • setKnot

      NurbsOrientationInterpolator setKnot(double[] newValue)
      Accessor method to assign double array to inputOutput MFDouble field named knot.

      Tooltip: knot vector, where size = number of control points + order of curve. *
      Parameters:
      newValue - is new value for the knot field.
      Returns:
      NurbsOrientationInterpolator - 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 <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof//Part01/components/core.html#Metadata" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof//Part01/components/core.html#Metadata</a> *
      Specified by:
      getMetadata in interface X3DChildNode
      Specified by:
      getMetadata in interface X3DNode
      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 <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof//Part01/components/core.html#Metadata" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof//Part01/components/core.html#Metadata</a> *
      Specified by:
      setMetadata in interface X3DChildNode
      Specified by:
      setMetadata in interface X3DNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      NurbsOrientationInterpolator - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
    • getOrder

      int getOrder()
      Provide int value within allowed range of [2,infinity) from inputOutput SFInt32 field named order.

      Tooltip: define order of surface by polynomials of degree = order-1. *
      Returns:
      value of order field
    • setOrder

      NurbsOrientationInterpolator setOrder(int newValue)
      Accessor method to assign int value to inputOutput SFInt32 field named order.

      Tooltip: define order of surface by polynomials of degree = order-1. *
      Parameters:
      newValue - is new value for the order field.
      Returns:
      NurbsOrientationInterpolator - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getValue

      float[] getValue()
      Provide array of 4-tuple float results unit axis, angle (in radians) from outputOnly SFRotation field named value_changed.

      Tooltip: Computationaly interpolated output value determined by current key time and corresponding keyValue pair. Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events. *
      Returns:
      value of value_changed field
    • getWeight

      double[] getWeight()
      Provide array of double results from inputOutput MFDouble field named weight.

      Tooltip: Output values for computational interpolation, each corresponding to knots. Hint: number of weights must match number of knots!. *
      Returns:
      value of weight field
    • setWeight

      NurbsOrientationInterpolator setWeight(double[] newValue)
      Accessor method to assign double array to inputOutput MFDouble field named weight.

      Tooltip: Output values for computational interpolation, each corresponding to knots. Hint: number of weights must match number of knots!. *
      Parameters:
      newValue - is new value for the weight field.
      Returns:
      NurbsOrientationInterpolator - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).