IMP  2.3.0
The Integrative Modeling Platform
fitting_tools.h
Go to the documentation of this file.
1 /**
2  * \file IMP/multifit/fitting_tools.h
3  * \brief tools for handling fitting records
4  *
5  * Copyright 2007-2014 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPMULTIFIT_FITTING_TOOLS_H
10 #define IMPMULTIFIT_FITTING_TOOLS_H
11 
13 #include <IMP/base_types.h>
14 #include <IMP/core/Hierarchy.h>
15 #include <IMP/base/Object.h>
16 #include <IMP/atom/Hierarchy.h>
17 #include <IMP/multifit/multifit_config.h>
18 #include "FittingSolutionRecord.h"
19 IMPMULTIFIT_BEGIN_NAMESPACE
20 
21 //! prune solutions by distance to an anchor point
22 /**
23 \param[in] fit_sols initial fitting solutions
24 \param[in] mh the molecule the fitting solutions apply for
25 \param[in] ap anchor point for which the transformed mh (fit) should be
26  close to
27 \param[in] dist all fits such that the distance between ap and the fit center
28  is smaller than dist will be included
29 \return the pruned fitting solutions
30  */
31 IMPMULTIFITEXPORT FittingSolutionRecords
33  atom::Hierarchy mh, IMP::kernel::Particle *ap,
34  Float dist);
35 
36 IMPMULTIFIT_END_NAMESPACE
37 #endif /* IMPMULTIFIT_FITTING_TOOLS_H */
Decorator for helping deal with a hierarchy.
Import IMP/kernel/base_types.h in the namespace.
Decorator for helping deal with a hierarchy of molecules.
IMP::base::Vector< FittingSolutionRecord > FittingSolutionRecords
stored a multifit fitting solution
Class to handle individual model particles.
Simple 3D transformation class.
FittingSolutionRecords get_close_to_point(const FittingSolutionRecords &fit_sols, atom::Hierarchy mh, IMP::kernel::Particle *ap, Float dist)
prune solutions by distance to an anchor point
A shared base class to help in debugging and things.
double Float
Basic floating-point value (could be float, double...)
Definition: types.h:20