IMP
2.0.1
The Integrative Modeling Platform
|
class for envelope based scoring using MapDistanceTransform
#include <IMP/em/EnvelopeScore.h>
Public Member Functions | |
EnvelopeScore (const MapDistanceTransform *mdt) | |
IMP::base::VersionInfo | get_version_info () const |
Get information about the module and version of the object. | |
bool | is_penetrating (const std::vector< IMP::algebra::Vector3D > &points, float penetration_thr) const |
bool | is_penetrating (const std::vector< IMP::algebra::Vector3D > &points, const IMP::algebra::Transformation3D &trans, float penetration_thr) const |
double | score (const std::vector< IMP::algebra::Vector3D > &points) const |
double | score (const std::vector< IMP::algebra::Vector3D > &points, const IMP::algebra::Transformation3D &trans) const |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
Related Functions inherited from IMP::base::Object | |
typedef IMP::base::Vector < IMP::base::WeakPointer < Object > > | ObjectsTemp |
Definition at line 21 of file EnvelopeScore.h.
bool IMP::em::EnvelopeScore::is_penetrating | ( | const std::vector< IMP::algebra::Vector3D > & | points, |
float | penetration_thr | ||
) | const |
check for penetration with respect to the envelope as defined by the distance transform
[in] | points | - check this set of points for penetration |
[in] | penetration_thr | - threshold that defines penetration use penetration_thr=0 to require for all points inside the envelope to allow some penetration set the threshold to the -distance of the allowed penetration distance. Recommended value is map resolution. |
bool IMP::em::EnvelopeScore::is_penetrating | ( | const std::vector< IMP::algebra::Vector3D > & | points, |
const IMP::algebra::Transformation3D & | trans, | ||
float | penetration_thr | ||
) | const |
same as above
[in] | trans | - apply this transformation on points before checking for penetrations |
double IMP::em::EnvelopeScore::score | ( | const std::vector< IMP::algebra::Vector3D > & | points | ) | const |
score points with respect to the distance transform the score awards points that fall into the envelope and penalizes for points outside the envelope
double IMP::em::EnvelopeScore::score | ( | const std::vector< IMP::algebra::Vector3D > & | points, |
const IMP::algebra::Transformation3D & | trans | ||
) | const |
same as above
[in] | trans | - apply this transformation on points before scoring |