IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::em::EnvelopeScore Class Reference

class for envelope based scoring using MapDistanceTransform More...

#include <IMP/em/EnvelopeScore.h>

Inheritance diagram for IMP::em::EnvelopeScore:

Detailed Description

class for envelope based scoring using MapDistanceTransform

Definition at line 21 of file EnvelopeScore.h.

Public Member Functions

 EnvelopeScore (const MapDistanceTransform *mdt)
IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
bool is_penetrating (const IMP::algebra::Vector3Ds &points, const IMP::algebra::Transformation3D &trans, float penetration_thr) const
bool is_penetrating (const IMP::algebra::Vector3Ds &points, float penetration_thr) const
double score (const IMP::algebra::Vector3Ds &points) const
double score (const IMP::algebra::Vector3Ds &points, const IMP::algebra::Transformation3D &trans) const
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
virtual std::string get_type_name () const
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ ~EnvelopeScore()

IMP::em::EnvelopeScore::~EnvelopeScore ( )

Definition at line 67 of file EnvelopeScore.h.

Member Function Documentation

◆ get_version_info()

IMP::VersionInfo IMP::em::EnvelopeScore::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 63 of file EnvelopeScore.h.

◆ is_penetrating() [1/2]

bool IMP::em::EnvelopeScore::is_penetrating ( const IMP::algebra::Vector3Ds & points,
const IMP::algebra::Transformation3D & trans,
float penetration_thr ) const

same as above

Parameters
[in]points
[in]transapply this transformation on points before checking for penetrations
[in]penetration_thr

◆ is_penetrating() [2/2]

bool IMP::em::EnvelopeScore::is_penetrating ( const IMP::algebra::Vector3Ds & points,
float penetration_thr ) const

check for penetration with respect to the envelope as defined by the distance transform

Parameters
[in]pointscheck this set of points for penetration
[in]penetration_thrthreshold 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.

◆ score() [1/2]

double IMP::em::EnvelopeScore::score ( const IMP::algebra::Vector3Ds & 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

◆ score() [2/2]

double IMP::em::EnvelopeScore::score ( const IMP::algebra::Vector3Ds & points,
const IMP::algebra::Transformation3D & trans ) const

same as above

Parameters
[in]points
[in]transapply this transformation on points before scoring

The documentation for this class was generated from the following file: