|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.candidates.JoglDisposableBin
public class JoglDisposableBin
| Field Summary | |
|---|---|
boolean |
active
|
boolean |
autoclear
|
boolean |
fill
|
Material |
material
|
static int |
PLANE_XY
|
static int |
PLANE_XZ
|
static int |
PLANE_YZ
|
Vector3f |
position
|
Vector3f |
scale
|
boolean |
wireframe
|
Color |
wireframe_color
|
| Constructor Summary | |
|---|---|
JoglDisposableBin()
|
|
| Method Summary | |
|---|---|
void |
add(Drawable theDrawable)
this method is commonly used to store children of a drawable. |
void |
box(Vector3f thePosition,
Vector3f theScale)
|
void |
circle(float theX,
float theY,
float theZ,
float theRadius)
|
void |
circle(float theX,
float theY,
float theZ,
float theRadius,
int thePlane)
|
void |
circle(Vector3f theCenter,
float theRadius)
|
void |
circle(Vector3f theCenter,
float theRadius,
int thePlane)
|
void |
clear()
|
Color |
color()
|
void |
color(Color theColor)
|
void |
color(float g)
|
void |
color(float g,
float a)
|
void |
color(float r,
float g,
float b,
float a)
|
void |
cross(float theX,
float theY,
float theZ,
float theD)
|
void |
cross(Vector3f theV,
float theD)
|
void |
draw(GLContext theRenderContext)
this method is used to draw the drawable, when the context is ready. |
void |
font(int theFont)
|
float[] |
getSortData()
returns the data upon which a sort value is calculated. |
float |
getSortValue()
returns the last sort value. |
boolean |
isActive()
returns whether the drawable is active. |
boolean |
isSortable()
returns true if the 'drawable' should be sorted before drawing. |
void |
line(float startX,
float startY,
float endX,
float endY)
|
void |
line(float startX,
float startY,
float startZ,
float endX,
float endY,
float endZ)
|
void |
line(Vector3f theStart,
Vector3f theEnd)
|
void |
lineto(Vector3f theStart,
Vector3f theEnd)
|
void |
point(float x,
float y)
|
void |
point(float x,
float y,
float z)
|
void |
point(Vector3f thePoint)
|
void |
quicksphere(Vector3f theCenter,
float theRadius)
|
void |
setSortValue(float theSortValue)
caches the current sort value. |
void |
text(float theValue,
float x,
float y)
|
void |
text(float theValue,
float x,
float y,
float z)
|
void |
text(java.lang.String theText,
float x,
float y)
|
void |
text(java.lang.String theText,
float x,
float y,
float z)
|
void |
textalign(int theTextAlign)
|
void |
triangle(float a0,
float a1,
float a2,
float b0,
float b1,
float b2,
float c0,
float c1,
float c2)
|
void |
triangle(Vector3f a,
Vector3f b,
Vector3f c)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Vector3f scale
public Vector3f position
public boolean active
public boolean autoclear
public boolean wireframe
public boolean fill
public final Material material
public final Color wireframe_color
public static final int PLANE_XY
public static final int PLANE_XZ
public static final int PLANE_YZ
| Constructor Detail |
|---|
public JoglDisposableBin()
| Method Detail |
|---|
public void draw(GLContext theRenderContext)
Drawable
draw in interface DrawabletheRenderContext - GLContextpublic void textalign(int theTextAlign)
public void color(float r,
float g,
float b,
float a)
public void color(float g,
float a)
public void color(float g)
public void color(Color theColor)
public Color color()
public void clear()
public void add(Drawable theDrawable)
Drawable
add in interface DrawabletheDrawable - Drawablepublic boolean isActive()
Drawable
isActive in interface Drawablepublic float getSortValue()
Drawable
getSortValue in interface Drawablepublic void setSortValue(float theSortValue)
Drawable
setSortValue in interface DrawabletheSortValue - floatpublic float[] getSortData()
Drawable
getSortData in interface Drawablepublic boolean isSortable()
Drawable
isSortable in interface Drawable
public void point(float x,
float y)
public void point(float x,
float y,
float z)
public void point(Vector3f thePoint)
public void text(java.lang.String theText,
float x,
float y,
float z)
public void text(java.lang.String theText,
float x,
float y)
public void text(float theValue,
float x,
float y,
float z)
public void text(float theValue,
float x,
float y)
public void font(int theFont)
public void line(float startX,
float startY,
float endX,
float endY)
public void line(float startX,
float startY,
float startZ,
float endX,
float endY,
float endZ)
public void line(Vector3f theStart,
Vector3f theEnd)
public void lineto(Vector3f theStart,
Vector3f theEnd)
public void cross(float theX,
float theY,
float theZ,
float theD)
public void cross(Vector3f theV,
float theD)
public void circle(Vector3f theCenter,
float theRadius)
public void circle(float theX,
float theY,
float theZ,
float theRadius)
public void circle(Vector3f theCenter,
float theRadius,
int thePlane)
public void circle(float theX,
float theY,
float theZ,
float theRadius,
int thePlane)
public void quicksphere(Vector3f theCenter,
float theRadius)
public void triangle(Vector3f a,
Vector3f b,
Vector3f c)
public void triangle(float a0,
float a1,
float a2,
float b0,
float b1,
float b2,
float c0,
float c1,
float c2)
public void box(Vector3f thePosition,
Vector3f theScale)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||