IMP Reference Guide
2.6.2
The Integrative Modeling Platform
|
#include <IMP/em/Voxel.h>
A a decorator for a particle that stores data on a density voxel , such as: position (x,y,z) attributes and density attributes
Public Member Functions | |
Voxel (::IMP::Model *m,::IMP::ParticleIndex id) | |
Voxel (const IMP::ParticleAdaptor &d) | |
Float | get_density () const |
void | set_density (Float t) |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::Decorator | |
bool | get_is_valid () const |
Returns true if constructed with a non-default constructor. More... | |
Model * | get_model () const |
Returns the Model containing the particle. More... | |
Particle * | get_particle () const |
Returns the particle decorated by this decorator. More... | |
ParticleIndex | get_particle_index () const |
Returns the particle index decorated by this decorator. More... | |
operator Particle * () const | |
operator ParticleIndex () const | |
Particle * | operator-> () const |
Static Public Member Functions | |
static const FloatKey | get_density_key () |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
static const FloatKeys | get_keys () |
static Voxel | setup_particle (IMP::ParticleAdaptor decorator, algebra::Vector3D position, Float radius, Float density) |
static Voxel | setup_particle (Model *m, ParticleIndex pi, algebra::Vector3D position, Float radius, Float density) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Decorator | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (ParticleAdaptor p) | |
|
static |