gestalt.extension.quadline
Class QuadLine

java.lang.Object
  extended by gestalt.shape.AbstractShape
      extended by gestalt.extension.quadline.QuadLine
All Implemented Interfaces:
Drawable, java.io.Serializable
Direct Known Subclasses:
JoglQuadLine, QuadBezierCurve

public abstract class QuadLine
extends AbstractShape

See Also:
Serialized Form

Field Summary
 Color[] colors
           
 float linewidth
           
 float[] linewidths
           
 Vector3f[] points
           
 
Constructor Summary
QuadLine()
           
 
Method Summary
 void autoupdate(boolean theAutoUpdate)
           
 QuadFragment[] getLineFragments()
           
 QuadProducer getProducer()
           
 float[] getSortData()
          returns the position of the shape as an array.
 float getSortValue()
          returns the last sort value.
 void propagateUpVector(boolean theFlag)
           
 void setLineWidthInterpolator(Interpolator theInterpolator)
           
 void setSortValue(float theSortValue)
          caches the current sort value.
 void update()
           
 Vector3f upvector()
           
 
Methods inherited from class gestalt.shape.AbstractShape
add, getTransformMode, isActive, isSortable, material, position, position, position, position, rotation, rotation, scale, scale, scale, setActive, setChildContainer, setMaterialRef, setPositionRef, setRotationRef, setScaleRef, setTransformMode, setTransformRef, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gestalt.render.Drawable
draw
 

Field Detail

points

public Vector3f[] points

colors

public Color[] colors

linewidths

public float[] linewidths

linewidth

public float linewidth
Constructor Detail

QuadLine

public QuadLine()
Method Detail

propagateUpVector

public void propagateUpVector(boolean theFlag)

autoupdate

public void autoupdate(boolean theAutoUpdate)

upvector

public Vector3f upvector()

update

public void update()

setLineWidthInterpolator

public void setLineWidthInterpolator(Interpolator theInterpolator)

getProducer

public QuadProducer getProducer()

getLineFragments

public QuadFragment[] getLineFragments()

getSortValue

public float getSortValue()
Description copied from interface: Drawable
returns the last sort value.

Specified by:
getSortValue in interface Drawable
Overrides:
getSortValue in class AbstractShape
Returns:
float

getSortData

public float[] getSortData()
Description copied from class: AbstractShape
returns the position of the shape as an array. this value is used to calculate a sort value.

Specified by:
getSortData in interface Drawable
Overrides:
getSortData in class AbstractShape
Returns:
float[]

setSortValue

public void setSortValue(float theSortValue)
Description copied from interface: Drawable
caches the current sort value.

Specified by:
setSortValue in interface Drawable
Overrides:
setSortValue in class AbstractShape
Parameters:
theSortValue - float


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009