BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
STRUCTURE
RMSDMinimizer.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_STRUCTURE_RMSDMINIMIZER_H
6
#define BALL_STRUCTURE_RMSDMINIMIZER_H
7
8
#ifndef BALL_STRUCTURE_ATOMBIJECTION_H
9
# include <
BALL/STRUCTURE/atomBijection.h
>
10
#endif
11
12
#ifndef BALL_MATHS_MATRIX44_H
13
# include <
BALL/MATHS/matrix44.h
>
14
#endif
15
16
namespace
BALL
17
{
18
29
class
BALL_EXPORT
RMSDMinimizer
30
{
31
public
:
32
class
BALL_EXPORT
IncompatibleCoordinateSets
33
:
public
Exception::GeneralException
34
{
35
public
:
36
IncompatibleCoordinateSets
(
const
char
*,
int
,
Size
,
Size
);
37
};
38
39
class
BALL_EXPORT
TooFewCoordinates
40
:
public
Exception::GeneralException
41
{
42
public
:
43
TooFewCoordinates
(
const
char
*,
int
,
Size
);
44
};
45
46
typedef
std::vector<Vector3>
PointVector
;
47
typedef
std::pair<Matrix4x4, double>
Result
;
48
49
static
Result
computeTransformation(
const
AtomBijection
& ab)
50
throw
(
RMSDMinimizer::IncompatibleCoordinateSets
,
RMSDMinimizer::TooFewCoordinates
);
51
52
static
Result
computeTransformation(
const
PointVector
& X,
const
PointVector
& Y)
53
throw
(
RMSDMinimizer::IncompatibleCoordinateSets
,
RMSDMinimizer::TooFewCoordinates
);
54
55
static
double
minimizeRMSD(
AtomContainer
& a,
AtomContainer
& b)
56
throw
(
RMSDMinimizer::IncompatibleCoordinateSets
,
RMSDMinimizer::TooFewCoordinates
);
57
58
};
59
60
}
// namespace BALL
61
62
#endif // BALL_STRUCTURE_RMSDMINIMIZER_H
BALL::RMSDMinimizer::TooFewCoordinates
Definition:
RMSDMinimizer.h:39
BALL::AtomBijection
Definition:
atomBijection.h:45
BALL::RMSDMinimizer
Definition:
RMSDMinimizer.h:29
BALL::RMSDMinimizer::Result
std::pair< Matrix4x4, double > Result
Definition:
RMSDMinimizer.h:47
BALL::RMSDMinimizer::IncompatibleCoordinateSets
Definition:
RMSDMinimizer.h:32
BALL::AtomContainer
Definition:
atomContainer.h:29
atomBijection.h
BALL::RMSDMinimizer::PointVector
std::vector< Vector3 > PointVector
Definition:
RMSDMinimizer.h:46
matrix44.h
BALL_SIZE_TYPE
BALL::Exception::GeneralException
Definition:
COMMON/exception.h:59
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.7