|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewers.GLViewerImpl.Geometry
This class provides the base functionality for geometry factory objects.
Field Summary | |
static int |
FORM_FLAT
Specifies a rendering style of simple flat polygons. |
static int |
FORM_LINES
Specifies a rendering style of wireframe lines. |
static int |
FORM_POINTS
Specifies a rendering style of points. |
static int |
FORM_THICK
Specifies a rendering style of thick shaded polygons. |
Constructor Summary | |
Geometry()
|
Method Summary | |
abstract void |
draw(StructureComponent structureComponent,
StructureStyles styles,
javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
com.sun.opengl.util.GLUT glut)
Please complete the missing tags for main |
boolean |
equals(Geometry geometry)
Please complete the missing tags for main |
int |
getForm()
Please complete the missing tags for main |
float |
getQuality()
Gets the rendering quality level (0.0 meaning lowest quality but faster rendering, and 1.0 meaning highest quality but slower rendering). |
boolean |
getStatus()
|
void |
setForm(int form)
Sets the basic geometric representation used to render the primitive. |
void |
setQuality(float quality)
Sets the rendering quality level (0.0 meaning lowest quality but faster rendering, and 1.0 meaning highest quality but slower rendering). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FORM_POINTS
public static final int FORM_LINES
public static final int FORM_FLAT
public static final int FORM_THICK
Constructor Detail |
public Geometry()
Method Detail |
public boolean equals(Geometry geometry)
public abstract void draw(StructureComponent structureComponent, StructureStyles styles, javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
public final void setQuality(float quality)
quality
- The rendering quality level.public final float getQuality()
public final void setForm(int form)
public final int getForm()
public boolean getStatus()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |