shout3d.core
Class NurbsLineSet

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Geometry
              |
              +--shout3d.core.Mesh
                    |
                    +--shout3d.core.S3DPolyLineMesh
                          |
                          +--shout3d.core.IndexedLineSet
                                |
                                +--shout3d.core.NurbsLineSet

public class NurbsLineSet
extends IndexedLineSet
implements FieldObserver

NurbsLineSet. Subclass of IndexedLineSet Adds fields that define a NurbsLineSet When any of these changes, retesselates the geometry and sets the base class IndexedLineSet fields (coordinates, coordIndex) accordingly


Field Summary
 FloatArrayField controlPoint
           
 IntField uDimension
           
 FloatArrayField uKnot
           
 IntField uOrder
           
 IntField uTesselation
           
 IntField vDimension
           
 FloatArrayField vKnot
           
 IntField vOrder
           
 IntField vTesselation
           
 FloatArrayField weight
           
 
Fields inherited from class shout3d.core.IndexedLineSet
color, colorIndex, colorPerVertex, coord, coordIndex, lineWidth
 
Constructor Summary
NurbsLineSet()
          Constructs a default NurbsLineSet
 
Method Summary
 void onFieldChange(Field theField, java.lang.Object userData)
          Subclasses must call this from within their own onFieldChange() method.
 
Methods inherited from class shout3d.core.Node
cleanUp, getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, getViewer, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uDimension

public final IntField uDimension

vDimension

public final IntField vDimension

uKnot

public final FloatArrayField uKnot

vKnot

public final FloatArrayField vKnot

uOrder

public final IntField uOrder

vOrder

public final IntField vOrder

controlPoint

public final FloatArrayField controlPoint

weight

public final FloatArrayField weight

uTesselation

public final IntField uTesselation

vTesselation

public final IntField vTesselation
Constructor Detail

NurbsLineSet

public NurbsLineSet()
Constructs a default NurbsLineSet
Method Detail

onFieldChange

public void onFieldChange(Field theField,
                          java.lang.Object userData)
Subclasses must call this from within their own onFieldChange() method.
Specified by:
onFieldChange in interface FieldObserver
Overrides:
onFieldChange in class IndexedLineSet