9 #ifndef IMPATOM_TAMD_CENTROID_H 
   10 #define IMPATOM_TAMD_CENTROID_H 
   12 #include <IMP/atom/atom_config.h> 
   18 #include <IMP/internal/constants.h> 
   23 IMPATOM_BEGIN_NAMESPACE
 
   79     bool get_is_tamd_centroid()
 const {
 
   80       return static_cast<bool> 
   85     void set_is_tamd_centroid(
bool t) {
 
   88                                   static_cast<Int>(t) );
 
   92     static IntKey get_is_tamd_centroid_key();
 
The base class for decorators. 
 
ParticleIndex get_particle_index() const 
Returns the particle index decorated by this decorator. 
 
A decorator for a diffusing particle. 
 
#define IMP_DECORATOR_SETUP_1(Name, FirstArgumentType, first_argument_name)
 
Model * get_model() const 
Returns the Model containing the particle. 
 
A particle that is the geometric centroid of other particles. 
 
static Centroid setup_particle(Model *m, ParticleIndex pi, ParticleIndexesAdaptor members)
 
Take Decorator, Particle or ParticleIndex. 
 
Class for storing model, its restraints, constraints, and particles. 
 
void add_attribute(TypeKey attribute_key, ParticleIndex particle, Type value)
add particle attribute with the specified key and initial value 
 
Key< 1 > IntKey
The type used to identify int attributes in the Particles. 
 
void set_attribute(TypeKey attribute_key, ParticleIndex particle, Type value)
set the value of particle attribute with the specified key 
 
#define IMP_DECORATOR_METHODS(Name, Parent)
 
Abstract class to implement hierarchical methods. 
 
#define IMP_DECORATORS(Name, PluralName, Parent)
Define the types for storing sets of decorators. 
 
bool get_has_attribute(TypeKey attribute_key, ParticleIndex particle) const 
return true if particle has attribute with the specified key 
 
Type get_attribute(TypeKey attribute_key, ParticleIndex particle)
get the value of the particle attribute with the specified key 
 
Set the coordinates of the particle to be the centroid of the refined particles.