|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.marvin.alignment.AlignmentMoleculeFactory
public class AlignmentMoleculeFactory
Creates an AlignmentMolecule form a Molecule
based on the settings.
| Nested Class Summary | |
|---|---|
static interface |
AlignmentMoleculeFactory.ProgressBarInterface
|
| Constructor Summary | |
|---|---|
AlignmentMoleculeFactory()
|
|
| Method Summary | |
|---|---|
AlignmentMolecule |
generate(int molID,
Molecule m,
boolean enableTranslateAndRotate,
boolean flexible)
Creates an AlignmentMolecule form a Molecule
based
on the values of the setters. |
byte[] |
generateData(int molID,
Molecule m,
boolean enableTranslateAndRotate,
boolean flexible)
Creates an AlignmentMolecule form a Molecule
based
on the values of the setters. |
chemaxon.marvin.alignment.NodeColor |
getColor()
|
int |
getFlexibleRingRotatableBondCount()
|
int |
getFlexibleRingSize()
|
AlignmentMoleculeFactory.ProgressBarInterface |
getProgressBar()
|
Molecule |
getResultMolecule()
|
boolean |
isAromatize()
|
boolean |
isCreateRingCenters()
|
boolean |
isDehidrogenize()
|
boolean |
isGenerateDistanceRanges()
|
void |
setAromatize(boolean aromatize)
Aromatize the input molecule |
void |
setColor(AlignmentProperties.ColoringScheme color)
sets which atomtypes to use. |
void |
setDehidrogenize(boolean dehidrogenize)
Remove hydrogens from input molecule. |
void |
setFlexibleRingRotatableBondCount(int rotatableBondsInRings)
|
void |
setFlexibleRingSize(int rotatableRingSize)
|
void |
setGenerateDistanceRanges(boolean generateDistanceRanges)
Generate intermolecular atomic distance ranges by tweaking conformation. |
void |
setNodeType(AlignmentProperties.NodeType nodeType)
|
void |
setNotSpecCase(AlignmentProperties.ColorNotSpecifiedCase ncase)
|
void |
setProgressBar(AlignmentMoleculeFactory.ProgressBarInterface progressBar)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlignmentMoleculeFactory()
| Method Detail |
|---|
public byte[] generateData(int molID,
Molecule m,
boolean enableTranslateAndRotate,
boolean flexible)
throws chemaxon.marvin.alignment.AlignmentException
AlignmentMolecule form a Molecule
based
on the values of the setters.
molID - molID of the molecule to return.m - input MoleculeenableTranslateAndRotate - Enables translation and rotation degrees
of freedom for this moleculeflexible - Enables rotation around rotatable bonds.
AlignmentMolecule or FlexibleMolecule
serialized to byte[] ready for writing to DB.
chemaxon.marvin.alignment.AlignmentExceptionpublic AlignmentMoleculeFactory.ProgressBarInterface getProgressBar()
public void setProgressBar(AlignmentMoleculeFactory.ProgressBarInterface progressBar)
public AlignmentMolecule generate(int molID,
Molecule m,
boolean enableTranslateAndRotate,
boolean flexible)
throws chemaxon.marvin.alignment.AlignmentException
AlignmentMolecule form a Molecule
based
on the values of the setters.
molID - molID of the molecule to return.m - input MoleculeenableTranslateAndRotate - Enables translation and rotation degrees
of freedom for this moleculeflexible - Enables rotation around rotatable bonds.
AlignmentMolecule or FlexibleMolecule.
chemaxon.marvin.alignment.AlignmentExceptionpublic boolean isCreateRingCenters()
public void setNotSpecCase(AlignmentProperties.ColorNotSpecifiedCase ncase)
public void setDehidrogenize(boolean dehidrogenize)
dehidrogenize - Default is true.public Molecule getResultMolecule()
public void setGenerateDistanceRanges(boolean generateDistanceRanges)
generateDistanceRanges - default is false.public void setAromatize(boolean aromatize)
aromatize - default is true.public void setFlexibleRingRotatableBondCount(int rotatableBondsInRings)
public void setFlexibleRingSize(int rotatableRingSize)
public void setNodeType(AlignmentProperties.NodeType nodeType)
public void setColor(AlignmentProperties.ColoringScheme color)
color - public chemaxon.marvin.alignment.NodeColor getColor()
public boolean isAromatize()
public boolean isDehidrogenize()
public boolean isGenerateDistanceRanges()
public int getFlexibleRingRotatableBondCount()
public int getFlexibleRingSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||