BALL
1.5.0
include
BALL
STRUCTURE
geometricTransformations.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_GEOMETRICTRANSFORMATIONS_H
6
#define BALL_STRUCTURE_GEOMETRICTRANSFORMATIONS_H
7
8
#ifndef BALL_COMMON_H
9
# include <
BALL/common.h
>
10
#endif
11
12
#ifndef BALL_KERNEL_ATOM_H
13
# include <
BALL/KERNEL/atom.h
>
14
#endif
15
16
#ifndef BALL_MATHS_VECTOR3_H
17
# include <
BALL/MATHS/vector3.h
>
18
#endif
19
20
#ifndef BALL_MATHS_MATRIX44_H
21
# include <
BALL/MATHS/matrix44.h
>
22
#endif
23
24
#ifndef BALL_CONCEPT_PROCESSOR_H
25
# include <
BALL/CONCEPT/processor.h
>
26
#endif
27
28
namespace
BALL
29
{
33
41
class
BALL_EXPORT
TranslationProcessor
42
:
public
UnaryProcessor
<Atom>
43
{
44
public
:
45
50
TranslationProcessor
();
51
57
TranslationProcessor
(
const
Vector3
& translation);
58
62
void
setTranslation(
const
Vector3
& translation);
63
67
const
Vector3
& getTranslation()
const
;
68
70
virtual
Processor::Result
operator()(
Atom
& atom);
71
72
73
private
:
74
75
Vector3
translation_;
76
};
77
78
87
class
BALL_EXPORT
TransformationProcessor
88
:
public
UnaryProcessor
<Atom>
89
{
90
public
:
91
105
TransformationProcessor
();
106
112
TransformationProcessor
(
const
Matrix4x4
& transformation);
113
117
void
setTransformation(
const
Matrix4x4
& transformation);
118
122
const
Matrix4x4
& getTransformation()
const
;
123
125
virtual
Processor::Result
operator()(
Atom
& atom);
126
127
128
protected
:
129
130
Matrix4x4
transformation_
;
131
};
132
133
135
136
}
// namespace BALL
137
138
#endif // BALL_STRUCTURE_GEOMETRICTRANSFORMATIONS_H
vector3.h
BALL::Atom
Definition:
atom.h:87
BALL::TMatrix4x4< float >
BALL::TransformationProcessor::transformation_
Matrix4x4 transformation_
Definition:
geometricTransformations.h:130
BALL
Definition:
constants.h:12
BALL::UnaryProcessor
Definition:
processor.h:58
BALL::TVector3< float >
atom.h
processor.h
BALL::TransformationProcessor
Definition:
geometricTransformations.h:87
common.h
matrix44.h
BALL::TranslationProcessor
Definition:
geometricTransformations.h:41
BALL::Processor::Result
int Result
Definition:
processor.h:36
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.17