edu.sdsc.mbt.viewers.GLViewerImpl
Class BackboneLine

java.lang.Object
  extended byedu.sdsc.mbt.viewers.GLViewerImpl.BackboneLine

public class BackboneLine
extends java.lang.Object

BackboneLine is a LineStripArray class optimized for representing a backbone trace. This class incorporates a simple line representation of the CA atom path (smoothed or not).

Author:
Apostol Gramada

Constructor Summary
BackboneLine(int vertexCount, int[] stripVertexCounts, Vector3f[] coords, java.awt.Color[] colorMap, boolean[] visibility)
           
 
Method Summary
 void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
           
 void setColors(java.awt.Color[] colorMap)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackboneLine

public BackboneLine(int vertexCount,
                    int[] stripVertexCounts,
                    Vector3f[] coords,
                    java.awt.Color[] colorMap,
                    boolean[] visibility)
Method Detail

draw

public void draw(javax.media.opengl.GL gl,
                 javax.media.opengl.glu.GLU glu,
                 com.sun.opengl.util.GLUT glut)

setColors

public void setColors(java.awt.Color[] colorMap)