home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.10.0
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
include
IMP
multifit
version 2.10.0
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-2018 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
,
Particle
*)
const
32
IMP_OVERRIDE
;
33
34
IMP_OBJECT_METHODS
(
FittingStates
);
35
};
36
37
IMPMULTIFIT_END_NAMESPACE
38
39
#endif
/* IMPMULTIFIT_FITTING_STATES_H */
IMP::domino::ParticleStates
Definition:
particle_states.h:37
IMP::multifit::FittingStates
Definition:
fitting_states.h:20
IMP_OBJECT_METHODS
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Definition:
object_macros.h:25
IMP::Vector< ReferenceFrame3D >
IMP::Key< 1 >
IMP::Particle
Class to handle individual particles of a Model object.
Definition:
Particle.h:41
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:80