|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjme.geometry.primitive.Primitive
jme.geometry.primitive.Quadric
Quadric
extends Primitive
to include
Quadric features of the OpenGL Utilities library.
Field Summary | |
protected int |
quadricPointer
a pointer to the quadric object returned from a call to gluNewQuadric(). |
Fields inherited from class jme.geometry.primitive.Primitive |
alpha, blue, green, red |
Constructor Summary | |
Quadric()
|
Method Summary | |
void |
initialize()
initialize should be called during the creation of the
subclass geometry. |
void |
preRender()
preRender should be called prior to any render
call. |
abstract void |
render()
render is an abstract method that should handle the
displaying of the geometry data. |
Methods inherited from class jme.geometry.primitive.Primitive |
clean, getTextureId, setColor, setTexture, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jme.geometry.Geometry |
getPoints |
Field Detail |
protected int quadricPointer
Constructor Detail |
public Quadric()
Method Detail |
public abstract void render()
render
is an abstract method that should handle the
displaying of the geometry data.
render
in interface Geometry
render
in class Primitive
public void initialize()
initialize
should be called during the creation of the
subclass geometry. This creates a new quadric object.
public void preRender()
preRender
should be called prior to any render
call. This sets up the texture if appropriate and sets the color values.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |