|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewers.GLViewerImpl.Geometry
edu.sdsc.mbt.viewers.GLViewerImpl.BondGeometry
Construct a new object for generating bond geometry using default
Field Summary |
Fields inherited from class edu.sdsc.mbt.viewers.GLViewerImpl.Geometry |
FORM_FLAT, FORM_LINES, FORM_POINTS, FORM_THICK |
Constructor Summary | |
BondGeometry()
Construct a new BondGeometry object. |
Method Summary | |
void |
draw(Bond bond,
StructureStyles structureStyles,
javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
com.sun.opengl.util.GLUT glut)
Please complete the missing tags for main |
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 |
void |
drawCylinder(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
com.sun.opengl.util.GLUT glut,
double height,
boolean drawBottom,
double bottomRadius,
boolean drawTop,
float topRadius,
int slices,
int segments)
Please complete the missing tags for main |
boolean |
getShowOrder()
Get the state of showing/hiding a representation of bond order. |
void |
setShowOrder(boolean state)
Set the state of showing/hiding a representation of bond order. |
Methods inherited from class edu.sdsc.mbt.viewers.GLViewerImpl.Geometry |
equals, getForm, getQuality, getStatus, setForm, setQuality |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BondGeometry()
Method Detail |
public final void setShowOrder(boolean state)
Order | Segments | Order/2.0 | Copies |
0.0 | ----- | 0.0 | 1 |
0.5 | - - - | 1.0 | 1 |
1.0 | ----- | 2.0 | 1 |
1.5 | ----- - - - | 3.0 | 2 |
2.0 | ----- ----- | 4.0 | 2 |
2.5 | ----- ----- - - - | 5.0 | 3 |
3.0 | ----- ----- ----- | 6.0 | 3 |
Etc... |
public final boolean getShowOrder()
public final void draw(StructureComponent structureComponent, StructureStyles styles, javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
draw
in class Geometry
public final void draw(Bond bond, StructureStyles structureStyles, javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
public void drawCylinder(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut, double height, boolean drawBottom, double bottomRadius, boolean drawTop, float topRadius, int slices, int segments)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |