TuttleOFX  1
tuttle::plugin::warp::TPS_Morpher< SCALAR > Class Template Reference

#include <tps.hpp>

Inheritance diagram for tuttle::plugin::warp::TPS_Morpher< SCALAR >:

Public Types

typedef SCALAR Scalar
typedef point2< ScalarPoint2
typedef matrix< ScalarMatrix
typedef matrix_row< const MatrixConst_Matrix_Row
typedef matrix_column< const
Matrix
Const_Matrix_Col

Public Member Functions

 TPS_Morpher ()
void setup (const std::vector< Point2 > pIn, const std::vector< Point2 > pOut, const double regularization, const bool applyWarp, const std::size_t width, const std::size_t height, const double transition)
template<typename S2 >
Point2 operator() (const point2< S2 > &pt) const

Data Fields

bool _activateWarp
std::size_t _nbPoints
double _width
double _height
double _transition

Private Attributes

std::vector< Point2_pIn
std::vector< Point2_pOut
Matrix _mat_L
Matrix _mat_V
Matrix _mat_K

Detailed Description

template<typename SCALAR>
class tuttle::plugin::warp::TPS_Morpher< SCALAR >

Definition at line 22 of file tps.hpp.


Member Typedef Documentation

template<typename SCALAR>
typedef matrix_column<const Matrix> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Const_Matrix_Col

Definition at line 30 of file tps.hpp.

template<typename SCALAR>
typedef matrix_row<const Matrix> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Const_Matrix_Row

Definition at line 29 of file tps.hpp.

template<typename SCALAR>
typedef matrix<Scalar> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Matrix

Definition at line 28 of file tps.hpp.

template<typename SCALAR>
typedef point2<Scalar> tuttle::plugin::warp::TPS_Morpher< SCALAR >::Point2

Definition at line 26 of file tps.hpp.

template<typename SCALAR>
typedef SCALAR tuttle::plugin::warp::TPS_Morpher< SCALAR >::Scalar

Definition at line 25 of file tps.hpp.


Constructor & Destructor Documentation

template<typename SCALAR>
tuttle::plugin::warp::TPS_Morpher< SCALAR >::TPS_Morpher ( )

Member Function Documentation

template<typename SCALAR>
template<typename S2 >
Point2 tuttle::plugin::warp::TPS_Morpher< SCALAR >::operator() ( const point2< S2 > &  pt) const
template<typename SCALAR>
void tuttle::plugin::warp::TPS_Morpher< SCALAR >::setup ( const std::vector< Point2 pIn,
const std::vector< Point2 pOut,
const double  regularization,
const bool  applyWarp,
const std::size_t  width,
const std::size_t  height,
const double  transition 
)

Field Documentation

template<typename SCALAR>
bool tuttle::plugin::warp::TPS_Morpher< SCALAR >::_activateWarp

Definition at line 32 of file tps.hpp.

template<typename SCALAR>
double tuttle::plugin::warp::TPS_Morpher< SCALAR >::_height

Definition at line 35 of file tps.hpp.

template<typename SCALAR>
Matrix tuttle::plugin::warp::TPS_Morpher< SCALAR >::_mat_K [private]

Definition at line 52 of file tps.hpp.

template<typename SCALAR>
Matrix tuttle::plugin::warp::TPS_Morpher< SCALAR >::_mat_L [private]

Definition at line 50 of file tps.hpp.

template<typename SCALAR>
Matrix tuttle::plugin::warp::TPS_Morpher< SCALAR >::_mat_V [private]

Definition at line 51 of file tps.hpp.

template<typename SCALAR>
std::size_t tuttle::plugin::warp::TPS_Morpher< SCALAR >::_nbPoints

Definition at line 33 of file tps.hpp.

template<typename SCALAR>
std::vector<Point2> tuttle::plugin::warp::TPS_Morpher< SCALAR >::_pIn [private]

Definition at line 47 of file tps.hpp.

template<typename SCALAR>
std::vector<Point2> tuttle::plugin::warp::TPS_Morpher< SCALAR >::_pOut [private]

Definition at line 48 of file tps.hpp.

template<typename SCALAR>
double tuttle::plugin::warp::TPS_Morpher< SCALAR >::_transition

Definition at line 36 of file tps.hpp.

template<typename SCALAR>
double tuttle::plugin::warp::TPS_Morpher< SCALAR >::_width

Definition at line 34 of file tps.hpp.


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