MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Transformation.hxx
Go to the documentation of this file.
1 #ifndef _TRANSFORMATION_HXX_
2 #define _TRANSFORMATION_HXX_
3 
9 #include <iostream>
10 #include <sstream>
11 #include <vector>
12 #include <string>
13 #include <math.h>
14 #include <map>
15 #include <fstream>
16 #include <iomanip>
17 
18 using namespace std;
19 
21 
26 {
27 public:
31  Transformation(double x=0, double y=0, double z=0);
32  ~Transformation();
33  string Print();
34  void Add();
35 
47  void FillRotMatrix(double b1, double b2, double b3, double b4, double b5, double b6, double b7, double b8, double b9);
48  void SetDisplacement(double x=0, double y=0, double z=0) {fTranslate[0]=x; fTranslate[1]=y; fTranslate[2]=z;}
49  int GetTransformNumber() {return fTransformNumber;}
50  void SetRotation(double phi=0, double theta=0, double psi=0);
51 private:
53  double fTranslate[3];
54  double fRotMatrix[3][3];
56 };
57 
58 #endif
void SetDisplacement(double x=0, double y=0, double z=0)
Definition: Transformation.hxx:48
int fTransformNumber
The number of the transformation.
Definition: Transformation.hxx:52
Spatial Transformation for TR &amp; TRCL cards.
Definition: Transformation.hxx:25
bool fIsAlreadyUsed
The transformation is already used.
Definition: Transformation.hxx:55
int GetTransformNumber()
Definition: Transformation.hxx:49

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014