IMP
2.3.1
The Integrative Modeling Platform
IMP Mainpage
Modules
Applications
Related Pages
Groups
Classes
Files
Examples
Indexes
File List
File Members
fitting_states.h
Go to the documentation of this file.
1
/**
2
* \file IMP/multifit/fitting_states.h
3
* \brief Fitting states
4
*
5
* Copyright 2007-2014 IMP Inventors. All rights reserved.
6
*
7
*/
8
9
#ifndef IMPMULTIFIT_FITTING_STATES_H
10
#define IMPMULTIFIT_FITTING_STATES_H
11
12
#include <IMP/multifit/multifit_config.h>
13
#include <
IMP/domino/particle_states.h
>
14
15
IMPMULTIFIT_BEGIN_NAMESPACE
16
17
/** Store a set of states which explicitly define the transformation
18
coordinates of the particle in question and the transformation index
19
*/
20
class
IMPMULTIFITEXPORT
FittingStates
:
public
domino::ParticleStates
{
21
algebra::ReferenceFrame3Ds
states_;
22
IntKey
fit_state_key_;
23
24
public
:
25
FittingStates
(
const
algebra::ReferenceFrame3Ds
&states,
IntKey
fit_state_key)
26
:
domino::ParticleStates
(
"RigidBodyStates %1%"
),
27
states_(states),
28
fit_state_key_(fit_state_key) {}
29
30
virtual
unsigned
int
get_number_of_particle_states()
const
IMP_OVERRIDE
;
31
virtual
void
load_particle_state(
unsigned
int
,
kernel::Particle
*)
const
32
IMP_OVERRIDE
;
33
34
IMP_OBJECT_NO_WARNING
(
FittingStates
);
35
};
36
37
IMPMULTIFIT_END_NAMESPACE
38
39
#endif
/* IMPMULTIFIT_FITTING_STATES_H */
IMP::kernel::Key
A base class for Keys.
Definition:
kernel/Key.h:46
IMP::domino::ParticleStates
Definition:
particle_states.h:37
IMP::multifit::FittingStates
Definition:
fitting_states.h:20
IMP_OBJECT_NO_WARNING
#define IMP_OBJECT_NO_WARNING(Name)
Only to work around a gcc bug.
Definition:
object_macros.h:38
IMP::base::Vector< ReferenceFrame3D >
IMP::kernel::Particle
Class to handle individual model particles.
Definition:
kernel/Particle.h:37
particle_states.h
A Bayesian inference-based sampler.
IMP_OVERRIDE
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Definition:
compiler_macros.h:75