IMP
2.4.0
The Integrative Modeling Platform
IMP Mainpage
Modules
Classes
Examples
include
IMP
multifit
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-2015 IMP Inventors. All rights reserved.
6
*
7
*/
8
9
#ifndef IMPMULTIFIT_FITTING_TOOLS_H
10
#define IMPMULTIFIT_FITTING_TOOLS_H
11
12
#include <
IMP/algebra/Transformation3D.h
>
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
32
get_close_to_point
(
const
FittingSolutionRecords
&fit_sols,
33
atom::Hierarchy mh,
IMP::kernel::Particle
*ap,
34
Float
dist);
35
36
IMPMULTIFIT_END_NAMESPACE
37
#endif
/* IMPMULTIFIT_FITTING_TOOLS_H */
Hierarchy.h
Decorator for helping deal with a hierarchy.
base_types.h
Import IMP/kernel/base_types.h in the namespace.
Hierarchy.h
Decorator for helping deal with a hierarchy of molecules.
IMP::multifit::FittingSolutionRecords
IMP::base::Vector< FittingSolutionRecord > FittingSolutionRecords
Definition:
FittingSolutionRecord.h:84
FittingSolutionRecord.h
stored a multifit fitting solution
IMP::kernel::Particle
Class to handle individual model particles.
Definition:
kernel/Particle.h:37
Transformation3D.h
Simple 3D transformation class.
IMP::multifit::get_close_to_point
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
Object.h
A shared base class to help in debugging and things.
IMP::Float
double Float
Basic floating-point value (could be float, double...)
Definition:
types.h:20