gestalt.candidates.quad
Class TesselatedQuad

java.lang.Object
  extended by gestalt.shape.AbstractShape
      extended by gestalt.candidates.quad.TesselatedQuad
All Implemented Interfaces:
Drawable, java.io.Serializable

public class TesselatedQuad
extends AbstractShape

Author:
dennis
See Also:
Serialized Form

Field Summary
 Vector3f a
           
 Vector3f b
           
 Vector3f c
           
 Vector3f d
           
 Vector2f texcoordend
           
 Vector2f texcoordstart
           
 
Constructor Summary
TesselatedQuad(DrawableFactory theFactory, int theTesselationWidth, int theTesselationHeight, boolean useVBO)
           
 
Method Summary
 void draw(GLContext theContext)
          this method is used to draw the drawable, when the context is ready.
 void setInterpolatorAD(InterpolatorVector3f theInterpolator)
           
 void setInterpolatorBC(InterpolatorVector3f theInterpolator)
           
 void update()
           
 
Methods inherited from class gestalt.shape.AbstractShape
add, getSortData, getSortValue, getTransformMode, isActive, isSortable, material, position, position, position, position, rotation, rotation, scale, scale, scale, setActive, setChildContainer, setMaterialRef, setPositionRef, setRotationRef, setScaleRef, setSortValue, setTransformMode, setTransformRef, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

public final Vector3f a

b

public final Vector3f b

c

public final Vector3f c

d

public final Vector3f d

texcoordstart

public Vector2f texcoordstart

texcoordend

public Vector2f texcoordend
Constructor Detail

TesselatedQuad

public TesselatedQuad(DrawableFactory theFactory,
                      int theTesselationWidth,
                      int theTesselationHeight,
                      boolean useVBO)
Method Detail

setInterpolatorAD

public void setInterpolatorAD(InterpolatorVector3f theInterpolator)

setInterpolatorBC

public void setInterpolatorBC(InterpolatorVector3f theInterpolator)

update

public void update()

draw

public void draw(GLContext theContext)
Description copied from interface: Drawable
this method is used to draw the drawable, when the context is ready. although the behavior sometimes varies and doesn t always need to have a visual representation depending on the implementation.

Parameters:
theContext - GLContext


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