Package chemaxon.marvin.alignment
Class AlignmentMolecule
java.lang.Object
chemaxon.marvin.alignment.AlignmentMolecule
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
static AlignmentMolecule
create
(byte[] bytes) Deprecated.chemaxon.marvin.alignment.DistanceRangeStore
int
chemaxon.marvin.alignment.NodeColor
double[][]
Gets back a clone of the unmodified input structure.int
getMolID()
int
chemaxon.marvin.alignment.NodeSum
getNodes()
int
chemaxon.marvin.alignment.Visualizable
double
void
initVariables
(boolean enableTranslateAndRotate) boolean
double
void
setAssigned
(int i, boolean b) void
setEnableTranslateAndRotate
(boolean enableTranslateAndRotate) void
setMolID
(int molID) byte[]
toData()
Deprecated.toString()
-
Field Details
-
nodes
public chemaxon.marvin.alignment.NodeSum nodes -
molID
protected int molID
-
-
Method Details
-
setMolID
public void setMolID(int molID) -
getNodes
public chemaxon.marvin.alignment.NodeSum getNodes() -
initVariables
public void initVariables(boolean enableTranslateAndRotate) -
getColoringScheme
-
getColors
public chemaxon.marvin.alignment.NodeColor getColors() -
getVisualizable
public chemaxon.marvin.alignment.Visualizable getVisualizable() -
getRotBondCount
public int getRotBondCount() -
create
Deprecated.Deserializes an AlignmentMolecule from a byte array.- Parameters:
bytes
- ShapeData object in a serialized form created byShapeData.toData()
method.- Returns:
- the AlignmentMolecule created with
AlignmentMoleculeFactory.create(chemaxon.marvin.alignment.ShapeData, chemaxon.marvin.alignment.AlignmentProperties.DegreeOfFreedomType)
withDegreeOfFreedomType.TRANSLATE_ROTATE_FLEXIBLE
- Throws:
IOException
-
cloneMolecule
-
toData
Deprecated.useShapeData.toData()
instead.Serializes the current object to a byte array- Returns:
- the serialized array
-
distanceRangeStore
public chemaxon.marvin.alignment.DistanceRangeStore distanceRangeStore() -
getVolume
public double getVolume()- Returns:
- the volume of the molecule in A^3
-
getAtomCount
public int getAtomCount() -
crdSafeRefresh
public void crdSafeRefresh() -
crdMolRefresh
public void crdMolRefresh() -
getMolID
public int getMolID() -
getNodeCount
public int getNodeCount() -
getMolCrd
public double[][] getMolCrd() -
getMoleculeOrig
Gets back a clone of the unmodified input structure.- Returns:
- clone of the unmodified input structure
-
setAssigned
public void setAssigned(int i, boolean b) -
clearAssigned
public void clearAssigned() -
toString
-
isEnableTranslateAndRotate
public boolean isEnableTranslateAndRotate() -
setEnableTranslateAndRotate
public void setEnableTranslateAndRotate(boolean enableTranslateAndRotate) throws chemaxon.marvin.alignment.AlignmentException - Throws:
chemaxon.marvin.alignment.AlignmentException
-
showSelectedNodes
-
ownOverlap
-
ShapeData.toData()
instead.