org.simtk.moleculargraphics.cartoon
Class BetaStrandRibbon

java.lang.Object
  extended by org.simtk.moleculargraphics.cartoon.ActorCartoonClass
      extended by org.simtk.moleculargraphics.cartoon.ProteinRibbonSegment
          extended by org.simtk.moleculargraphics.cartoon.BetaStrandRibbon
All Implemented Interfaces:
ActorCartoon, BaseCartoon, ResidueHighlightListener

public class BetaStrandRibbon
extends ProteinRibbonSegment

Author:
Christopher Bruns A single beta strand in a protein

Field Summary
protected  double lengthResolution
           
 
Fields inherited from class org.simtk.moleculargraphics.cartoon.ActorCartoonClass
actor, highlightActor, highlightMapper, highlightToonColors, invisibleColorScheme, isPopulated, mapper
 
Constructor Summary
BetaStrandRibbon(java.util.List<Residue> residues, double ribbonThickness, double strandWidth, int startIndex, Spline3D positionSpline, Spline3D normalSpline)
           
 
Method Summary
protected  void createArrow(java.util.List<Vector3D> positions, java.util.List<Vector3D> normals, java.util.List<Chemical> objects, double ribbonThickness, double arrowWidth)
           
protected  void createBetaStrand(java.util.List<Residue> residues, double ribbonThickness, double strandWidth, int startIndex, Spline3D positionSpline, Spline3D normalSpline)
           
protected  void oldCreateBetaStrand(java.util.List<Residue> residues, double ribbonThickness, double strandWidth, int startIndex, Spline3D positionSpline, Spline3D normalSpline)
           
 
Methods inherited from class org.simtk.moleculargraphics.cartoon.ProteinRibbonSegment
chainDirection, createExtrudedRibbon, createPolyLine, finishVtkPipeline, hBondNormal
 
Methods inherited from class org.simtk.moleculargraphics.cartoon.ActorCartoonClass
colorToon, colorToon, getActor, getChemicalFromScalar, getColorIndex, getHighlightActor, getMapper, highlightResidue, highlightResidueByAtomScalars, highlightResidueByResidueScalars, isPopulated, unhighlightResidue, unhighlightResidueByAtomScalars, unhighlightResidueByResidueScalars, unhighlightResidues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lengthResolution

protected double lengthResolution
Constructor Detail

BetaStrandRibbon

public BetaStrandRibbon(java.util.List<Residue> residues,
                        double ribbonThickness,
                        double strandWidth,
                        int startIndex,
                        Spline3D positionSpline,
                        Spline3D normalSpline)
                 throws NoCartoonCreatedException
Throws:
NoCartoonCreatedException
Method Detail

createBetaStrand

protected void createBetaStrand(java.util.List<Residue> residues,
                                double ribbonThickness,
                                double strandWidth,
                                int startIndex,
                                Spline3D positionSpline,
                                Spline3D normalSpline)
                         throws NoCartoonCreatedException
Throws:
NoCartoonCreatedException

oldCreateBetaStrand

protected void oldCreateBetaStrand(java.util.List<Residue> residues,
                                   double ribbonThickness,
                                   double strandWidth,
                                   int startIndex,
                                   Spline3D positionSpline,
                                   Spline3D normalSpline)
                            throws NoCartoonCreatedException
Throws:
NoCartoonCreatedException

createArrow

protected void createArrow(java.util.List<Vector3D> positions,
                           java.util.List<Vector3D> normals,
                           java.util.List<Chemical> objects,
                           double ribbonThickness,
                           double arrowWidth)