|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimogl.geometry.AbstractMesh
simogl.geometry.MeshVA
public class MeshVA
This class represents a mesh. The mesh uses the vertex aray technology.
Constructor Summary | |
---|---|
MeshVA()
|
Method Summary | |
---|---|
void |
createVertexArray()
This method creates the vertex array for the mesh. |
void |
deleteMesh(javax.media.opengl.GL gl)
Deletes the mesh |
void |
draw(javax.media.opengl.GL gl)
Call this method to draw the mesh |
void |
specializedDraw(javax.media.opengl.GL gl)
Helper method to extract the specialised things just fitting to drawing of vertex arrays. |
Methods inherited from class simogl.geometry.AbstractMesh |
---|
addFace, disableRenderOptions, drawShadow, enableRenderOptions, getBoundingBox, getFaces, getMaterial, getPosition, getPositionX, getPositionY, getPositionZ, getRoationX, getRoationY, getRoationZ, getRotation, getTexture, isTransparent, performTransformations, rotate, rotateAxxisX, rotateAxxisY, rotateAxxisZ, scale, setDrawShadow, setEnabledFaceCulling, setMaterial, setPosition, setPosition, setPositionX, setPositionY, setPositionZ, setTexture, setTransparent, showBoundingBox, showWireFrame |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeshVA()
Method Detail |
---|
public void createVertexArray()
public void deleteMesh(javax.media.opengl.GL gl)
AbstractMesh
deleteMesh
in class AbstractMesh
public void draw(javax.media.opengl.GL gl)
AbstractMesh
draw
in class AbstractMesh
public void specializedDraw(javax.media.opengl.GL gl)
specializedDraw
in class AbstractMesh
gl
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |