|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewers.GLViewerImpl.GeometryEntity
edu.sdsc.mbt.viewers.GLViewerImpl.SsGeometry
edu.sdsc.mbt.viewers.GLViewerImpl.StrandGeometry
StrandGeometry is an SsGeometry
container which, primarily, manages
the geometry associated with a strand. It is a ribon-like shape that passes
through "smoothed" CA atoms, and contains interpolated points. As with all
GeometryEntity
objects, it can have other
GeometryEntity
children.
Field Summary | |
static float[] |
shininessTemp
|
Fields inherited from class edu.sdsc.mbt.viewers.GLViewerImpl.SsGeometry |
colorCache, colorReference |
Constructor Summary | |
StrandGeometry()
Constructs a StrandGeometry objects with default values for the number of facets, segments, and cross section style. |
Method Summary | |
void |
drawFigure(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
com.sun.opengl.util.GLUT glut,
CrossSectionStyle style,
Vector3f[] arrowScale,
Vector3f[] coordinates,
FrenetTrihedron[] triheds,
java.awt.Color[] colorMap,
boolean[] visMap,
boolean[] resMap,
int pointCount)
Returns the scene graph component associated with the Strand defined by the underlying data |
void |
drawJoglGeometry(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
com.sun.opengl.util.GLUT glut)
Returns a Java3D object representing a strand and eventually any other GeometryEntity that this object contains as a child. |
void |
setDrawArrow(boolean drawArrow)
Sets the tangents along the spine. |
void |
setNormals(Vector3f[] normals)
Sets the normals along the spine. |
void |
setTangents(Vector3f[] tangents)
Sets the tangents along the spine. |
Methods inherited from class edu.sdsc.mbt.viewers.GLViewerImpl.GeometryEntity |
getQuality, setQuality |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final float[] shininessTemp
Constructor Detail |
public StrandGeometry()
Method Detail |
public void drawJoglGeometry(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
GeometryEntity
that this object contains as a child.
drawJoglGeometry
in class GeometryEntity
public void drawFigure(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut, CrossSectionStyle style, Vector3f[] arrowScale, Vector3f[] coordinates, FrenetTrihedron[] triheds, java.awt.Color[] colorMap, boolean[] visMap, boolean[] resMap, int pointCount)
public void setNormals(Vector3f[] normals)
public void setTangents(Vector3f[] tangents)
public void setDrawArrow(boolean drawArrow)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |