9 #ifndef IMPCORE_GAUSSIAN_H
10 #define IMPCORE_GAUSSIAN_H
12 #include <IMP/core/core_config.h>
20 #include "internal/rigid_bodies.h"
21 #include <IMP/algebra/eigen3/Eigen/Dense>
23 IMPCORE_BEGIN_NAMESPACE
40 for (
unsigned int i = 0; i < 3; ++i) {
53 inline algebra::Gaussian3D get_gaussian()
const {
54 return algebra::Gaussian3D(RigidBody::get_reference_frame(),
58 static FloatKey get_variance_key(
unsigned int i);
61 return m->get_has_attribute(get_variance_key(0), pi);
Import IMP/kernel/Decorator.h in the namespace.
ParticleIndex get_particle_index() const
#define IMP_DECORATOR_METHODS(Name, Parent)
Model * get_model() const
Returns the Model containing the particle.
IMP_Eigen::Matrix3d get_covariance(const Gaussian3D &g)
#define IMP_DECORATOR_SETUP_0(Name)
functionality for defining rigid bodies
Import IMP/kernel/decorator_macros.h in the namespace.
void set_attribute(TypeKey attribute_key, ParticleIndex particle, Type value)
Storage of a model, its restraints, constraints and particles.
Classes to handle individual model particles.
Exception definitions and assertions.
base::Index< ParticleIndexTag > ParticleIndex
A decorator for a rigid body.
#define IMP_DECORATOR_SETUP_1(Name, FirstArgumentType, first_argument_name)
#define IMP_DECORATORS(Name, PluralName, Parent)
Define the types for storing sets of decorators.
Key< 0, true > FloatKey
The type used to identify float attributes in the Particles.
Class for storing model, its restraints, constraints, and particles.