BALL 1.5.0
Loading...
Searching...
No Matches
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
26#endif
27
28namespace BALL
29{
33
42 : public UnaryProcessor<Atom>
43 {
44 public:
45
51
57 TranslationProcessor(const Vector3& translation);
58
62 void setTranslation(const Vector3& translation);
63
67 const Vector3& getTranslation() const;
68
71
72
73 private:
74
75 Vector3 translation_;
76 };
77
78
88 :public UnaryProcessor<Atom>
89 {
90 public:
91
106
112 TransformationProcessor(const Matrix4x4& transformation);
113
117 void setTransformation(const Matrix4x4& transformation);
118
123
126
127
128 protected:
129
131 };
132
133
135
136} // namespace BALL
137
138#endif // BALL_STRUCTURE_GEOMETRICTRANSFORMATIONS_H
void setTranslation(const Vector3 &translation)
const Vector3 & getTranslation() const
TranslationProcessor(const Vector3 &translation)
virtual Processor::Result operator()(Atom &atom)
Applicator method.
void setTransformation(const Matrix4x4 &transformation)
virtual Processor::Result operator()(Atom &atom)
Applicator method.
TransformationProcessor(const Matrix4x4 &transformation)
const Matrix4x4 & getTransformation() const
#define BALL_EXPORT