IMP  2.2.1
The Integrative Modeling Platform
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>
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 {
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 
35 };
36 
37 IMPMULTIFIT_END_NAMESPACE
38 
39 #endif /* IMPMULTIFIT_FITTING_STATES_H */
A base class for Keys.
Definition: kernel/Key.h:46
#define IMP_OBJECT_NO_WARNING(Name)
Only to work around a gcc bug.
Class to handle individual model particles.
A beyesian infererence-based sampler.