|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.rendering.r3d.opengl.rendering.model.geometry.RenderableGeometry org.deegree.rendering.r3d.opengl.rendering.model.prototype.BOXGeometry
public class BOXGeometry
The BOXGeometry
a simple box, which might be used as a prototype reference.
Constructor Summary | |
---|---|
BOXGeometry()
An empty consturctor. |
Method Summary | |
---|---|
void |
drawCube(javax.media.opengl.GL gl)
draws the cube |
protected void |
enableArrays(RenderContext glRenderContext,
DirectGeometryBuffer geomBuffer)
Load the float buffers and enable the client state. |
void |
render(RenderContext glRenderContext)
Called to render this object to an OpenGL context. |
Methods inherited from class org.deegree.rendering.r3d.opengl.rendering.model.geometry.RenderableGeometry |
---|
disableArrays, getCoordBuffer, getCoordPosition, getNormalBuffer, getNormalPosition, getOpenGLType, getOrdinateCount, getReadOnlyCoordBuffer, getStyle, getTextureOrdinateCount, getVertexCount, getVertexNormals, renderPrepared, setCoordPosition, setNormPosition, setVertexNormals, setVertices, sizeOf, toString, useDirectBuffers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BOXGeometry()
Method Detail |
---|
public void render(RenderContext glRenderContext)
JOGLRenderable
The following pre-conditions hold:
context
has been set up correctly by the caller.params
matches the projection and the screen size, so the callee can depend
on them to perform view frustum culling and LOD adaptation.
render
in interface JOGLRenderable
render
in class RenderableGeometry
glRenderContext
- TODOprotected void enableArrays(RenderContext glRenderContext, DirectGeometryBuffer geomBuffer)
RenderableGeometry
enableArrays
in class RenderableGeometry
geomBuffer
- for which the coord/normal Positions are valid for.public void drawCube(javax.media.opengl.GL gl)
gl
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |