IMP
2.0.1
The Integrative Modeling Platform
|
Add mass to a particle. More...
#include <IMP/atom/Mass.h>
Public Member Functions | |
Mass (Model *m, ParticleIndex id) | |
Mass (::IMP::kernel::Particle *p) | |
Float | get_mass () const |
void | set_mass (Float d) |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::kernel::Decorator | |
ParticleIndex | get_particle_index () const |
Particle * | get_particle () const |
Model * | get_model () const |
Returns the Model containing the particle. | |
Decorator (Particle *p) | |
Decorator () | |
Static Public Member Functions | |
static Mass | decorate_particle (::IMP::kernel::Particle *p) |
static FloatKey | get_mass_key () |
static bool | particle_is_instance (Particle *p) |
static Mass | setup_particle (Particle *p, double mass) |
Static Public Member Functions inherited from IMP::kernel::Decorator | |
static bool | particle_is_instance (Particle *p) |
Return true if the particle can be cast to the decorator. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::kernel::Decorator | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (Particle *p) | |