Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ () |
Initializes the AlignmentResult instance. | |
None | __init__ (AlignmentResult res) |
Initializes a copy of the AlignmentResult instance res. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
AlignmentResult | assign (AlignmentResult res) |
Replaces the current state of self with a copy of the state of the AlignmentResult instance res. More... | |
Math.Matrix4D | getTransform () |
None | setTransform (Math.Matrix4D xform) |
float | getScore () |
None | setScore (float score) |
int | getReferenceShapeSetIndex () |
None | setReferenceShapeSetIndex (int idx) |
int | getReferenceShapeIndex () |
None | setReferenceShapeIndex (int idx) |
int | getAlignedShapeIndex () |
None | setAlignedShapeIndex (int idx) |
float | getOverlap () |
None | setOverlap (float overlap) |
float | getColorOverlap () |
None | setColorOverlap (float overlap) |
float | getReferenceSelfOverlap () |
None | setReferenceSelfOverlap (float overlap) |
float | getReferenceColorSelfOverlap () |
None | setReferenceColorSelfOverlap (float overlap) |
float | getAlignedSelfOverlap () |
None | setAlignedSelfOverlap (float overlap) |
float | getAlignedColorSelfOverlap () |
None | setAlignedColorSelfOverlap (float overlap) |
Properties | |
objectID = property(getObjectID) | |
transform = property(getTransform, setTransform) | |
score = property(getScore, setScore) | |
referenceShapeSetIndex = property(getReferenceShapeSetIndex, setReferenceShapeSetIndex) | |
referenceShapeIndex = property(getReferenceShapeIndex, setReferenceShapeIndex) | |
alignedShapeIndex = property(getAlignedShapeIndex, setAlignedShapeIndex) | |
overlap = property(getOverlap, setOverlap) | |
colorOverlap = property(getColorOverlap, setColorOverlap) | |
referenceSelfOverlap = property(getReferenceSelfOverlap, setReferenceSelfOverlap) | |
referenceColorSelfOverlap = property(getReferenceColorSelfOverlap, setReferenceColorSelfOverlap) | |
alignedSelfOverlap = property(getAlignedSelfOverlap, setAlignedSelfOverlap) | |
alignedColorSelfOverlap = property(getAlignedColorSelfOverlap, setAlignedColorSelfOverlap) | |
None CDPL.Shape.AlignmentResult.__init__ | ( | AlignmentResult | res | ) |
Initializes a copy of the AlignmentResult instance res.
res | The AlignmentResult instance to copy. |
int CDPL.Shape.AlignmentResult.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python AlignmentResult instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two AlignmentResult instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.
AlignmentResult CDPL.Shape.AlignmentResult.assign | ( | AlignmentResult | res | ) |
Replaces the current state of self with a copy of the state of the AlignmentResult instance res.
res | The AlignmentResult instance to copy. |
Math.Matrix4D CDPL.Shape.AlignmentResult.getTransform | ( | ) |
None CDPL.Shape.AlignmentResult.setTransform | ( | Math.Matrix4D | xform | ) |
xform |
float CDPL.Shape.AlignmentResult.getScore | ( | ) |
None CDPL.Shape.AlignmentResult.setScore | ( | float | score | ) |
score |
int CDPL.Shape.AlignmentResult.getReferenceShapeSetIndex | ( | ) |
None CDPL.Shape.AlignmentResult.setReferenceShapeSetIndex | ( | int | idx | ) |
idx |
int CDPL.Shape.AlignmentResult.getReferenceShapeIndex | ( | ) |
None CDPL.Shape.AlignmentResult.setReferenceShapeIndex | ( | int | idx | ) |
idx |
int CDPL.Shape.AlignmentResult.getAlignedShapeIndex | ( | ) |
None CDPL.Shape.AlignmentResult.setAlignedShapeIndex | ( | int | idx | ) |
idx |
float CDPL.Shape.AlignmentResult.getOverlap | ( | ) |
None CDPL.Shape.AlignmentResult.setOverlap | ( | float | overlap | ) |
overlap |
float CDPL.Shape.AlignmentResult.getColorOverlap | ( | ) |
None CDPL.Shape.AlignmentResult.setColorOverlap | ( | float | overlap | ) |
overlap |
float CDPL.Shape.AlignmentResult.getReferenceSelfOverlap | ( | ) |
None CDPL.Shape.AlignmentResult.setReferenceSelfOverlap | ( | float | overlap | ) |
overlap |
float CDPL.Shape.AlignmentResult.getReferenceColorSelfOverlap | ( | ) |
None CDPL.Shape.AlignmentResult.setReferenceColorSelfOverlap | ( | float | overlap | ) |
overlap |
float CDPL.Shape.AlignmentResult.getAlignedSelfOverlap | ( | ) |
None CDPL.Shape.AlignmentResult.setAlignedSelfOverlap | ( | float | overlap | ) |
overlap |
float CDPL.Shape.AlignmentResult.getAlignedColorSelfOverlap | ( | ) |
None CDPL.Shape.AlignmentResult.setAlignedColorSelfOverlap | ( | float | overlap | ) |
overlap |