|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.graphics.opengl.geometry.BoxGeometry
public class BoxGeometry
A simple box object, centered at origin rendered using direct mode OpenGL
| Field Summary | |
|---|---|
(package private) float[] |
origin
|
(package private) float[] |
vMax
|
(package private) float[] |
vMin
|
| Constructor Summary | |
|---|---|
BoxGeometry(float[] halfExtends)
|
|
BoxGeometry(float[] halfExtends,
float[] orig)
Constructor |
|
BoxGeometry(float[] halfExtends,
float ox,
float oy,
float oz)
Constructor |
|
BoxGeometry(float xSize,
float ySize,
float zSize)
Constructor |
|
| Method Summary | |
|---|---|
void |
glInit(GLRenderContext glc)
Called during OpenGL initialization. |
void |
glRender(GLRenderContext gl)
Called during openGL rendering. |
void |
setHalfExtends(float[] halfExtends)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
float[] vMin
float[] vMax
float[] origin
| Constructor Detail |
|---|
public BoxGeometry(float xSize,
float ySize,
float zSize)
xSize - x dimensionySize - y dimensionzSize - z dimensionpublic BoxGeometry(float[] halfExtends)
public BoxGeometry(float[] halfExtends,
float[] orig)
halfExtends - size (in half extends) of the boxorig - box center
public BoxGeometry(float[] halfExtends,
float ox,
float oy,
float oz)
halfExtends - size (in half extends) of the boxox - box center xoy - box center yoz - box center z| Method Detail |
|---|
public void setHalfExtends(float[] halfExtends)
public void glInit(GLRenderContext glc)
GLRenderObject
glInit in interface GLRenderObjectpublic void glRender(GLRenderContext gl)
GLRenderObject
glRender in interface GLRenderObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||