ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since 1cad8a4 was
d85c194,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago
|
Remaining modules refactored
|
-
Property mode set to
100644
|
File size:
658 bytes
|
Line | |
---|
1 | /** \file transformation.h: a few functions to do the transformation */ |
---|
2 | |
---|
3 | #ifndef TRANSFORMATION_H |
---|
4 | //Transform operation on a Point3D |
---|
5 | //Not in use, similar transformation are implemented as Point3D class functions |
---|
6 | |
---|
7 | #define TRANSFORMATION_H |
---|
8 | |
---|
9 | #include <vector> |
---|
10 | #include "Point3D.h" |
---|
11 | |
---|
12 | void RotateX(const double ang_x,Point3D &); |
---|
13 | void RotateY(const double ang_y,Point3D &); |
---|
14 | void RotateZ(const double ang_z,Point3D &); |
---|
15 | void Translate(const double trans_x, const double trans_y, const double trans_z, Point3D &); |
---|
16 | |
---|
17 | //rotate a point by given a rotation 3X3 matrix |
---|
18 | //vec[0]=R00, vec[1]=R01.......vec[8]=R22 |
---|
19 | void RotateMatrix(const vector<double> &, Point3D &); |
---|
20 | |
---|
21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.