IMP
2.1.0
The Integrative Modeling Platform
IMP Mainpage
All IMP Modules
Related Pages
Modules
Namespaces
Classes
Files
Examples
Indexes
File List
File Members
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
12
#include "
IMP/em2d/domino_particle_states.h
"
13
#include "
IMP/domino/Subset.h
"
14
#include "
IMP/domino/subset_filters.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_;
26
base::Pointer<domino::ParticleStatesTable>
ps_table_;
27
double
max_distance_;
// max distance tolerated between the particles
28
29
public
:
30
31
DistanceFilterTable
(
const
domino::Subset
&subset_to_act_on,
32
domino::ParticleStatesTable
*ps_table,
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
42
IMP_SUBSET_FILTER_TABLE
(
DistanceFilterTable
);
43
};
44
IMP_OBJECTS
(
DistanceFilterTable
,
DistanceFilterTables
);
45
46
IMPEM2D_END_NAMESPACE
47
48
#endif
/* IMPEM2D_DOMINO_FILTER_TABLES_H */
IMP::base::Pointer< domino::ParticleStatesTable >
subset_filters.h
A beyesian infererence-based sampler.
IMP::domino::Subset
Represent a subset of the particles being optimized.
Definition:
Subset.h:33
domino_particle_states.h
kernel::Particles states for a rigid body that is going to be projected
IMP::base::Vector
Definition:
base/Vector.h:37
IMP_SUBSET_FILTER_TABLE
#define IMP_SUBSET_FILTER_TABLE(Name)
Definition:
domino_macros.h:36
IMP::em2d::DistanceFilterTable
Definition:
domino_filter_tables.h:23
IMP::domino::SubsetFilterTable
Definition:
subset_filters.h:78
IMP::domino::ParticleStatesTable
Definition:
particle_states.h:73
Subset.h
A beyesian infererence-based sampler.
IMP_OBJECTS
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Definition:
base/object_macros.h:77
IMP::atom::show
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Definition:
atom/Hierarchy.h:438
log.h
Logging and error reporting support.