IMP  2.1.0
The Integrative Modeling Platform
domino_filter_tables.h
Go to the documentation of this file.
1 /**
2  * \file domino_filter_tables.h
3  * \brief Managing of projection overlap filter
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPEM2D_DOMINO_FILTER_TABLES_H
10 #define IMPEM2D_DOMINO_FILTER_TABLES_H
11 
13 #include "IMP/domino/Subset.h"
15 #include "IMP/base/log.h"
16 
17 IMPEM2D_BEGIN_NAMESPACE
18 
19 
20 /*! Table to create DistanceFilters on demand
21 
22  */
23 class IMPEM2DEXPORT DistanceFilterTable : public domino::SubsetFilterTable {
24 protected:
25  domino::Subset my_subset_;
27  double max_distance_; // max distance tolerated between the particles
28 
29 public:
30 
31  DistanceFilterTable(const domino::Subset &subset_to_act_on,
33  double max_distance) :
34  my_subset_(subset_to_act_on), ps_table_(ps_table),
35  max_distance_(max_distance) {
36  };
37 
38  void show(std::ostream &out = std::cout) const {
39  out << "DistanceFilterTable" << std::endl;
40  };
41 
43 };
45 
46 IMPEM2D_END_NAMESPACE
47 
48 #endif /* IMPEM2D_DOMINO_FILTER_TABLES_H */
A beyesian infererence-based sampler.
Represent a subset of the particles being optimized.
Definition: Subset.h:33
kernel::Particles states for a rigid body that is going to be projected
#define IMP_SUBSET_FILTER_TABLE(Name)
Definition: domino_macros.h:36
A beyesian infererence-based sampler.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Logging and error reporting support.