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
Friends
Macros
Modules
Pages
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::TranslationProcessor
Definition:
geometricTransformations.h:41
BALL::TVector3< float >
matrix44.h
BALL::TransformationProcessor
Definition:
geometricTransformations.h:87
BALL::UnaryProcessor
Definition:
processor.h:58
processor.h
BALL::Processor::Result
int Result
Definition:
processor.h:36
atom.h
BALL::TransformationProcessor::transformation_
Matrix4x4 transformation_
Definition:
geometricTransformations.h:130
BALL
-*- Mode: C++; tab-width: 2; -*-
Definition:
constants.h:12
common.h
BALL::TMatrix4x4< float >
BALL::Atom
Definition:
atom.h:87
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.8