|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.proteinshader.structure.visitor.Visitor org.proteinshader.structure.visitor.LoopGeneratorVisitor
public class LoopGeneratorVisitor
Generates Loop objects from any AminoAcids of a Chain that do not already belong to a Helix or BetaStrand. All Helix and BetaStrand objects should have already been added to the Structure before this LoopGeneratorVisitor is used. Whenever a Region is successfully created, each AminoAcid that belongs to the Region is marked with the regionID and Region type (LOOP, HELIX, or BETA_STRAND). When this Visitor is used, any AminoAcids that are not already assigned to a Region object will be used to create Loop objects.
Constructor Summary | |
---|---|
LoopGeneratorVisitor()
Constructs a LoopGeneratorVisitor. |
Method Summary | |
---|---|
void |
visit(AminoAcid aminoAcid)
Checks whether a start AminoAcid and an end AminoAcid for a Loop have been found, and creates a new Loop as needed. |
void |
visit(Chain chain)
Generates Loop objects from AminoAcids that do not already belong to any Region. |
void |
visit(Model model)
Generates all Loop objects needed by the Model. |
Methods inherited from class org.proteinshader.structure.visitor.Visitor |
---|
clear, includeAAHetAndWater, setDebug, setMode, setMode, setMode, setMode, setMode, setMode, setVisitSegments, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoopGeneratorVisitor()
Method Detail |
---|
public void visit(Model model) throws VisitorException
visit
in class Visitor
model
- the Model to generate Loops for.
VisitorException
- if an error occurs while generating
Bonds.public void visit(Chain chain) throws VisitorException
visit
in class Visitor
chain
- the Chain to generate Loops for.
VisitorException
- if an error occurs while generating
Loops.public void visit(AminoAcid aminoAcid) throws VisitorException
visit
in class Visitor
aminoAcid
- the AminoAcid to test.
VisitorException
- if an error occurs while generating
Loops.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |