edu.sdsc.mbt.viewers.GLViewerImpl
Class Extrusion

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

public class Extrusion
extends java.lang.Object

Extrusion is the main building block for ribbon-like secondary structure representations

Since:
JDK1.2.2
Version:
$Revision: 1.5 $
Author:
Apostol Gramada

Constructor Summary
Extrusion(int coordinateCount, int start, int[] stripVertexCounts, AffineCrossSection[] cs, java.awt.Color[] colorMap, boolean[] visibility, boolean[] resMap, int colorMapStart, boolean perVertexNormal, boolean singleCap)
           
 
Method Summary
 void build()
           
 void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
           
 java.awt.Color[] getColors()
           
 void setColors(java.awt.Color[] colors)
           
 void setTorsion(double[] angle)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Extrusion

public Extrusion(int coordinateCount,
                 int start,
                 int[] stripVertexCounts,
                 AffineCrossSection[] cs,
                 java.awt.Color[] colorMap,
                 boolean[] visibility,
                 boolean[] resMap,
                 int colorMapStart,
                 boolean perVertexNormal,
                 boolean singleCap)
Method Detail

draw

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

build

public void build()

setColors

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

getColors

public java.awt.Color[] getColors()

setTorsion

public void setTorsion(double[] angle)