9#ifndef IMPKERNEL_FLOAT_INDEX_H
10#define IMPKERNEL_FLOAT_INDEX_H
12#include <IMP/kernel_config.h>
17IMPKERNEL_BEGIN_NAMESPACE
25class IMPKERNELEXPORT FloatIndex :
public Value {
34 : fk_(k), dim_(0), pi_(pi) {}
37 : v3k_(k), dim_(3), index_(index), pi_(pi) {}
40 : v4k_(k), dim_(4), index_(index), pi_(pi) {}
42 FloatKey get_float_key()
const {
return fk_; }
55IMPKERNEL_END_NAMESPACE
A FloatIndex identifies an optimized attribute in a model.
Class for storing model, its restraints, constraints, and particles.
Index< ParticleIndexTag > ParticleIndex
Key< 17 > Vector3DDerivKey
The type used to identify 3D vector attributes&derivatives in the Particles.
double Float
Basic floating-point value (could be float, double...).
Key< 19 > Vector4DDerivKey
The type used to identify 4D vector attributes&derivatives in the Particles.
Key< 0 > FloatKey
The type used to identify float attributes in the Particles.
IMP::Vector< FloatIndex > FloatIndexes
Functions and adaptors for dealing with particle indexes.
#define IMP_SHOWABLE_INLINE(Name, how_to_show)
Declare the methods needed by an object that can be printed.
Macros to help in defining tuple classes.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.