Public Member Functions | Public Attributes | List of all members
lvr2::CoordinateTransform< T > Struct Template Reference

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

sx
 
sy
 
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...
 

Detailed Description

template<typename T>
struct lvr2::CoordinateTransform< T >

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.

Constructor & Destructor Documentation

◆ CoordinateTransform()

template<typename T >
lvr2::CoordinateTransform< T >::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 
)
inline

Definition at line 58 of file CoordinateTransform.hpp.

Member Function Documentation

◆ transforms()

template<typename T >
bool lvr2::CoordinateTransform< T >::transforms ( )
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.

Member Data Documentation

◆ sx

template<typename T >
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.

◆ sy

template<typename T >
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.

◆ sz

template<typename T >
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.

◆ x

template<typename T >
unsigned char lvr2::CoordinateTransform< T >::x

Position of the x coordinate in the target system.

Definition at line 75 of file CoordinateTransform.hpp.

◆ y

template<typename T >
unsigned char lvr2::CoordinateTransform< T >::y

Position of the y coordinate in the target system.

Definition at line 78 of file CoordinateTransform.hpp.

◆ z

template<typename T >
unsigned char lvr2::CoordinateTransform< T >::z

Position of the z coordinate in the target system.

Definition at line 81 of file CoordinateTransform.hpp.


The documentation for this struct was generated from the following file:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27