IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ipsdk::math::transform::Translation3d Class Reference

Transformation class allowing to manage 3d translations. More...

#include <Translation3d.h>

Inheritance diagram for ipsdk::math::transform::Translation3d:
ipsdk::math::transform::BaseLinearGeometricTransform3d ipsdk::math::transform::BaseGeometricTransform3d

Public Types

enum  eTransformParams { eTP_Tx, eTP_Ty, eTP_Tz }
 

Public Member Functions

 IPSDK_DECLARE_TRANSFORM3D (Translation3d)
 
void setParams (const ipReal64 tx, const ipReal64 ty, const ipReal64 tz)
 select parameters associated to transformation
 
void setParams (const Vector &params)
 select parameters associated to transformation More...
 
void setIdentity ()
 set transformation parameters to identity
 
void apply (ipReal64 &x, ipReal64 &y, ipReal64 &z) const
 apply transformation to a given point
 
Matrix4d getHomogenousMatrix () const
 retrieve homogeneous matrix associated to transformation
 
Vector getParams () const
 retrieve parameters associated to transformation
 
Matrix4d getInvHomogenousMatrix () const
 retrieve invert of homogeneous matrix associated to transformation
 
Vector getInvParams () const
 retrieve invert parameters associated to transformation
 
Constructors and destructor
 Translation3d ()
 
 Translation3d (const ipReal64 tx, const ipReal64 ty, const ipReal64 tz)
 
 ~Translation3d ()
 
ipReal64 getTx () const
 retrieve parameters associated to transformation
 
ipReal64 getTy () const
 retrieve parameters associated to transformation
 
ipReal64 getTz () const
 retrieve parameters associated to transformation
 
- Public Member Functions inherited from ipsdk::math::transform::BaseLinearGeometricTransform3d
bool isLinear () const
 retrieve flag indicating whether geometric transform is linear
 
 BaseLinearGeometricTransform3d ()
 
virtual ~BaseLinearGeometricTransform3d ()=0
 
- Public Member Functions inherited from ipsdk::math::transform::BaseGeometricTransform3d
virtual eGeometricTransform3dType getGeometricTransform3dType () const =0
 retrieve geometric transform 3d type
 
virtual ipUInt32 getNbParams () const =0
 retrieve number of parameters associated to geometric transformation
 
template<typename T >
void apply (const T xIn, const T yIn, const T zIn, T &xOut, T &yOut, T &zOut) const
 apply transformation to a given point
 
virtual bool isInvertible () const
 check whether transformation can be inverted
 
GeometricTransform3dPtr createInverted () const
 create an inversed transformation from current one More...
 
 BaseGeometricTransform3d ()
 
virtual ~BaseGeometricTransform3d ()
 

Static Public Member Functions

static void transform (const ipReal64 tx, const ipReal64 ty, const ipReal64 tz, ipReal64 &x, ipReal64 &y, ipReal64 &z)
 application of transformation to a point
 
static Matrix3d getHomogenousMatrix (const ipReal64 tx, const ipReal64 ty, const ipReal64 tz)
 retrieve homogeneous matrix associated to transformation
 
static Matrix3d getInvHomogenousMatrix (const ipReal64 tx, const ipReal64 ty, const ipReal64 tz)
 retrieve invert of homogeneous matrix associated to transformation
 
static void getInvParams (ipReal64 &tx, ipReal64 &ty, ipReal64 &tz)
 retrieve invert parameters for transformation
 
static Vector getIdentityParams ()
 retrieve identity parameters for transformation
 

Protected Attributes

ipReal64 _tx
 translation coordinate along x axis
 
ipReal64 _ty
 translation coordinate along y axis
 
ipReal64 _tz
 translation coordinate along z axis
 

Additional Inherited Members

- Static Public Attributes inherited from ipsdk::math::transform::BaseLinearGeometricTransform3d
static const bool g_bLinear = true
 linear status for transformation
 

Detailed Description

Transformation class allowing to manage 3d translations.

Author
E.Noirfalise
Date
2017/01/17

Member Enumeration Documentation

◆ eTransformParams

parameters list associated to transformation

Note
This object is associated to a strong enumerate definition
See also
IPSDK_Enum
Enumerator
eTP_Tx 

translation along x axis

eTP_Ty 

translation along y axis

eTP_Tz 

translation along z axis

Member Function Documentation

◆ setParams()

void ipsdk::math::transform::Translation3d::setParams ( const Vector params)
virtual

select parameters associated to transformation

Exceptions
ipsdk::math::IPSDKMathExceptionif params.size() != getNbParams()

Implements ipsdk::math::transform::BaseGeometricTransform3d.


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