public class AlignmentMoleculeFactory extends Object
AlignmentMolecule
form a
Molecule
based on the settings.Modifier and Type | Class and Description |
---|---|
static interface |
AlignmentMoleculeFactory.ProgressBarInterface |
Constructor and Description |
---|
AlignmentMoleculeFactory() |
Modifier and Type | Method and Description |
---|---|
AlignmentMolecule |
create(Molecule m,
AlignmentProperties.DegreeOfFreedomType df) |
AlignmentMolecule |
create(chemaxon.marvin.alignment.ShapeData shapeData,
AlignmentProperties.DegreeOfFreedomType df) |
AlignmentMolecule |
generate(int cdID,
int molID,
Molecule m,
boolean enableTranslateAndRotate,
boolean flexible)
Deprecated.
|
AlignmentMolecule |
generate(int molID,
Molecule m,
boolean enableTranslateAndRotate,
boolean flexible)
Deprecated.
Use
create(Molecule, AlignmentProperties.DegreeOfFreedomType) instead.
Molecule based on the values of the setters. |
byte[] |
generateData(int molID,
Molecule m,
boolean enableTranslateAndRotate,
boolean flexible)
Deprecated.
|
chemaxon.marvin.alignment.NodeColor |
getColor() |
int |
getFlexibleRingRotatableBondCount() |
int |
getFlexibleRingSize() |
AlignmentMoleculeFactory.ProgressBarInterface |
getProgressBar() |
Molecule |
getResultMolecule() |
boolean |
isAromatize()
Deprecated.
|
boolean |
isCreateRingCenters() |
boolean |
isDehidrogenize()
Deprecated.
The explicit Hydrogens are not removed from the original
input structure. No need to use.
|
boolean |
isGenerateDistanceRanges() |
void |
setAromatize(boolean aromatize)
Deprecated.
The original input structure is not aromatized. No need to
use.
|
void |
setColor(AlignmentProperties.ColoringScheme color)
sets which atomtypes to use.
|
void |
setDehidrogenize(boolean dehidrogenize)
Deprecated.
The explicit Hydrogens are not removed from the original
input structure. No need to use.
|
void |
setFlexibleRingRotatableBondCount(int rotatableBondsInRings) |
void |
setFlexibleRingSize(int flexibleRingSize) |
void |
setForcedFlexible(boolean forcedFlexible)
Deprecated.
use
AlignmentProperties.DegreeOfFreedomType.TRANSLATE_ROTATE_FLEXIBLE_EXTRA to get the same behavior in the
create(chemaxon.marvin.alignment.ShapeData, chemaxon.marvin.alignment.AlignmentProperties.DegreeOfFreedomType) methods. |
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) |
void |
setUseAllAtoms(boolean useAllAtoms) |
void |
setUseOriginal(boolean useOriginal)
Deprecated.
always false: Molecule is always converted before alignment, but coordinates are written
back to the original one.
|
@Deprecated public byte[] generateData(int molID, Molecule m, boolean enableTranslateAndRotate, boolean flexible) throws chemaxon.marvin.alignment.AlignmentException
chemaxon.marvin.alignment.AlignmentException
public AlignmentMoleculeFactory.ProgressBarInterface getProgressBar()
public void setProgressBar(AlignmentMoleculeFactory.ProgressBarInterface progressBar)
public void setUseAllAtoms(boolean useAllAtoms)
useAllAtoms
- the useAllAtoms to set@Deprecated public void setForcedFlexible(boolean forcedFlexible)
AlignmentProperties.DegreeOfFreedomType.TRANSLATE_ROTATE_FLEXIBLE_EXTRA
to get the same behavior in the
create(chemaxon.marvin.alignment.ShapeData, chemaxon.marvin.alignment.AlignmentProperties.DegreeOfFreedomType)
methods.forcedFlexible
- @Deprecated public void setUseOriginal(boolean useOriginal)
useOriginal
- the useOriginal to setpublic AlignmentMolecule create(chemaxon.marvin.alignment.ShapeData shapeData, AlignmentProperties.DegreeOfFreedomType df)
@Deprecated public AlignmentMolecule generate(int molID, Molecule m, boolean enableTranslateAndRotate, boolean flexible) throws chemaxon.marvin.alignment.AlignmentException
create(Molecule, AlignmentProperties.DegreeOfFreedomType)
instead.
Molecule
based on the values of the setters.AlignmentMolecule
form amolID
- molID of the molecule to return.m
- input Molecule
enableTranslateAndRotate
- Enables translation and rotation degrees of freedom for this
moleculeflexible
- Enables rotation around rotatable bonds.AlignmentMolecule
or
FlexibleMolecule
.AlignmentException
@Deprecated public AlignmentMolecule generate(int cdID, int molID, Molecule m, boolean enableTranslateAndRotate, boolean flexible) throws chemaxon.marvin.alignment.AlignmentException
create(Molecule, AlignmentProperties.DegreeOfFreedomType)
instead.cdID
- molID
- m
- enableTranslateAndRotate
- flexible
- AlignmentMolecule
or
FlexibleMolecule
.AlignmentException
public AlignmentMolecule create(Molecule m, AlignmentProperties.DegreeOfFreedomType df)
public boolean isCreateRingCenters()
public void setNotSpecCase(AlignmentProperties.ColorNotSpecifiedCase ncase)
@Deprecated public void setDehidrogenize(boolean dehidrogenize)
dehidrogenize
- no effect.public void setGenerateDistanceRanges(boolean generateDistanceRanges)
generateDistanceRanges
- default is false.@Deprecated public void setAromatize(boolean aromatize)
aromatize
- has no effect.public void setFlexibleRingRotatableBondCount(int rotatableBondsInRings)
public void setFlexibleRingSize(int flexibleRingSize)
public void setNodeType(AlignmentProperties.NodeType nodeType)
public void setColor(AlignmentProperties.ColoringScheme color)
color
- public chemaxon.marvin.alignment.NodeColor getColor()
@Deprecated public boolean isAromatize()
@Deprecated public boolean isDehidrogenize()
public boolean isGenerateDistanceRanges()
public int getFlexibleRingRotatableBondCount()
public int getFlexibleRingSize()
public Molecule getResultMolecule()