Stores information to transform a 3D point into a different coordinate system. It is assumed, that the coordinate called x is refered to as coordinate 0, y is 1 and z is 2. More...
#include <CoordinateTransform.hpp>
Public Member Functions | |
CoordinateTransform (const unsigned char &_x=0, const unsigned char &_y=1, const unsigned char &_z=2, const T &_sx=1.0, const T &_sy=1.0, const T &_sz=1.0) | |
bool | transforms () |
Public Attributes | |
T | sx |
T | sy |
T | sz |
unsigned char | x |
Position of the x coordinate in the target system. More... | |
unsigned char | y |
Position of the y coordinate in the target system. More... | |
unsigned char | z |
Position of the z coordinate in the target system. More... | |
Stores information to transform a 3D point into a different coordinate system. It is assumed, that the coordinate called x is refered to as coordinate 0, y is 1 and z is 2.
Definition at line 56 of file CoordinateTransform.hpp.
|
inline |
Definition at line 58 of file CoordinateTransform.hpp.
|
inline |
Returns true, if the saved information actually is a transform. False only, if the default values are used.
Definition at line 69 of file CoordinateTransform.hpp.
T lvr2::CoordinateTransform< T >::sx |
Scale factor of the x coordinate in the source system to match the target systems' scale
Definition at line 85 of file CoordinateTransform.hpp.
T lvr2::CoordinateTransform< T >::sy |
Scale factor of the y coordinate in the source system to match the target systems' scale
Definition at line 89 of file CoordinateTransform.hpp.
T lvr2::CoordinateTransform< T >::sz |
Scale factor of the y coordinate in the source system to match the target systems' scale
Definition at line 93 of file CoordinateTransform.hpp.
unsigned char lvr2::CoordinateTransform< T >::x |
Position of the x coordinate in the target system.
Definition at line 75 of file CoordinateTransform.hpp.
unsigned char lvr2::CoordinateTransform< T >::y |
Position of the y coordinate in the target system.
Definition at line 78 of file CoordinateTransform.hpp.
unsigned char lvr2::CoordinateTransform< T >::z |
Position of the z coordinate in the target system.
Definition at line 81 of file CoordinateTransform.hpp.