gestalt.shape
Class Mesh

java.lang.Object
  extended by gestalt.shape.AbstractShape
      extended by gestalt.shape.Mesh
All Implemented Interfaces:
Disposable, Drawable, java.io.Serializable
Direct Known Subclasses:
JoglMesh

public abstract class Mesh
extends AbstractShape
implements Disposable

See Also:
Serialized Form

Constructor Summary
Mesh(float[] theVertices, int theVertexComponents, float[] theColors, int theColorComponents, float[] theTexCoords, int theTexCoordComponents, float[] theNormals, int thePrimitive)
           
 
Method Summary
 int atomcount()
           
 float[] colors()
           
 int drawlength()
           
 void drawlength(int theLength)
           
 int drawstart()
           
 void drawstart(int theStart)
           
 int getLength()
          Deprecated.  
 int getNumberOfColorComponents()
           
 int getNumberOfTexCoordComponents()
           
 int getNumberOfVertexComponents()
           
abstract  int getPrimitive()
           
 int getStart()
          Deprecated.  
 float[] normals()
           
 void setLength(int theLength)
          Deprecated.  
abstract  void setPrimitive(int theGestaltPrimitive)
           
 void setStart(int theStart)
          Deprecated.  
 float[] texcoords()
           
abstract  void updateData()
           
 float[] vertices()
           
 
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
 
Methods inherited from interface gestalt.render.Disposable
dispose
 
Methods inherited from interface gestalt.render.Drawable
draw
 

Constructor Detail

Mesh

public Mesh(float[] theVertices,
            int theVertexComponents,
            float[] theColors,
            int theColorComponents,
            float[] theTexCoords,
            int theTexCoordComponents,
            float[] theNormals,
            int thePrimitive)
Method Detail

setPrimitive

public abstract void setPrimitive(int theGestaltPrimitive)

getPrimitive

public abstract int getPrimitive()

updateData

public abstract void updateData()

vertices

public float[] vertices()

colors

public float[] colors()

normals

public float[] normals()

texcoords

public float[] texcoords()

setStart

public void setStart(int theStart)
Deprecated. 


setLength

public void setLength(int theLength)
Deprecated. 


getStart

public int getStart()
Deprecated. 


getLength

public int getLength()
Deprecated. 


drawstart

public void drawstart(int theStart)

drawlength

public void drawlength(int theLength)

drawstart

public int drawstart()

drawlength

public int drawlength()

atomcount

public int atomcount()

getNumberOfColorComponents

public int getNumberOfColorComponents()

getNumberOfVertexComponents

public int getNumberOfVertexComponents()

getNumberOfTexCoordComponents

public int getNumberOfTexCoordComponents()


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