|
|||||||||||
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.HelixGeometry
HelixGeometry is an SsGeometry
container which, primarily, manages
the geometry associated with an alpha-helix. No smoothing is done, the ribon
is interpolated between original CA coordinates. As with all
GeometryEntity
objects, it can have other Geometry
children.
The algorithm for the generation of the normals and binormals along the helix are borrowed from Molscript
Field Summary | |
static int |
CYLINDER
|
static int |
RIBBON
|
static float[] |
shininessTemp
|
Fields inherited from class edu.sdsc.mbt.viewers.GLViewerImpl.SsGeometry |
colorCache, colorReference |
Constructor Summary | |
HelixGeometry()
Constructs a HelixGeometry objects with default values for the number of facets, segments, and cross section style. |
Method Summary | |
void |
drawJoglGeometry(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
com.sun.opengl.util.GLUT glut)
Return the BranchGroup object representing the geometrical shape contained by this GeometryEntity object. |
int |
getSsShape(int ssshape)
Returns the general appearance of the helix shape, i.e. |
void |
setNormals(Vector3f[] normals)
Sets the normals along the spine. |
void |
setSsShape(int ssshape)
Sets the general appearance of the helix shape, i.e. |
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 int RIBBON
public static int CYLINDER
public static final float[] shininessTemp
Constructor Detail |
public HelixGeometry()
Method Detail |
public void drawJoglGeometry(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
GeometryEntity
drawJoglGeometry
in class GeometryEntity
public void setNormals(Vector3f[] normals)
public void setSsShape(int ssshape)
public int getSsShape(int ssshape)
public void setTangents(Vector3f[] tangents)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |