IMP
2.1.1
The Integrative Modeling Platform
|
SubsetFilter for checking overlap between projections and images.
#include <IMP/em2d/domino_filters.h>
Public Member Functions | |
DistanceFilter (const domino::Subset &subset_to_act_on, const domino::Subset &subset_to_restrain, domino::ParticleStatesTable *ps_table, double max_distance) | |
void | do_show (std::ostream &out) const |
virtual bool | get_is_ok (const IMP::domino::Assignment &assignment) const |
virtual std::string | get_type_name () const |
virtual ::IMP::base::VersionInfo | get_version_info () const |
Get information about the module and version of the object. | |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::domino::SubsetFilter | |
SubsetFilter (std::string name="SubsetFilter%1%") | |
virtual int | get_next_state (int pos, const Assignment &state) const |
Return a next possible acceptable state for the particle in pos. More... | |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
virtual void | do_destroy () |
CheckLevel | get_check_level () const |
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. 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) |
Protected Attributes | |
double | max_distance_ |
base::Pointer < domino::ParticleStatesTable > | ps_table_ |
domino::Subset | subset_acting_on_ |
domino::Subset | subset_restrained_ |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
Object () | |
Definition at line 25 of file domino_filters.h.
IMP::em2d::DistanceFilter::DistanceFilter | ( | const domino::Subset & | subset_to_act_on, |
const domino::Subset & | subset_to_restrain, | ||
domino::ParticleStatesTable * | ps_table, | ||
double | max_distance | ||
) |
Filter action on the distance between two particles. To be used with DOMINO
[in] | subset_to_act_on | A subset that is going to be filtered. |
[in] | subset_to_restrain | A subset of 2 particles that need to be within a given distance |
[in] | ps_table | table containing the states for subset_to_act_on and subset_to_restraint |
[in] | max_distance | The maximum distance between the particles in subset_to_restrain |
Definition at line 45 of file domino_filters.h.
|
virtual |
Return true if the given state passes this filter for the Subset it was created with
Implements IMP::domino::SubsetFilter.