OpenCV  3.4.0
Open Source Computer Vision
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
cv::Affine3< T > Class Template Reference

Affine transform. More...

#include "affine.hpp"

Public Types

typedef T float_type
 
typedef Matx< float_type, 3, 3 > Mat3
 
typedef Matx< float_type, 4, 4 > Mat4
 
typedef Vec< float_type, 3 > Vec3
 

Public Member Functions

 Affine3 ()
 
 Affine3 (const Mat4 &affine)
 Augmented affine matrix. More...
 
 Affine3 (const Mat3 &R, const Vec3 &t=Vec3::all(0))
 Rotation matrix. More...
 
 Affine3 (const Vec3 &rvec, const Vec3 &t=Vec3::all(0))
 Rodrigues vector. More...
 
 Affine3 (const Mat &data, const Vec3 &t=Vec3::all(0))
 Combines all contructors above. Supports 4x4, 4x3, 3x3, 1x3, 3x1 sizes of data matrix. More...
 
 Affine3 (const float_type *vals)
 From 16th element array. More...
 
template<typename Y >
Affine3< Y > cast () const
 
Affine3 concatenate (const Affine3 &affine) const
 a.concatenate(affine) is equivalent to affine * a; More...
 
Affine3 inv (int method=cv::DECOMP_SVD) const
 
void linear (const Mat3 &L)
 
Mat3 linear () const
 
template<typename Y >
 operator Affine3< Y > () const
 
Affine3 rotate (const Mat3 &R) const
 a.rotate(R) is equivalent to Affine(R, 0) * a; More...
 
Affine3 rotate (const Vec3 &rvec) const
 a.rotate(rvec) is equivalent to Affine(rvec, 0) * a; More...
 
void rotation (const Mat3 &R)
 Rotation matrix. More...
 
void rotation (const Vec3 &rvec)
 Rodrigues vector. More...
 
void rotation (const Mat &data)
 Combines rotation methods above. Suports 3x3, 1x3, 3x1 sizes of data matrix;. More...
 
Mat3 rotation () const
 
Vec3 rvec () const
 Rodrigues vector. More...
 
Affine3 translate (const Vec3 &t) const
 a.translate(t) is equivalent to Affine(E, t) * a; More...
 
void translation (const Vec3 &t)
 
Vec3 translation () const
 

Static Public Member Functions

static Affine3 Identity ()
 Create identity transform. More...
 

Public Attributes

Mat4 matrix
 

Detailed Description

template<typename T>
class cv::Affine3< T >

Affine transform.

Todo:
document

Member Typedef Documentation

§ float_type

template<typename T>
typedef T cv::Affine3< T >::float_type

§ Mat3

template<typename T>
typedef Matx<float_type, 3, 3> cv::Affine3< T >::Mat3

§ Mat4

template<typename T>
typedef Matx<float_type, 4, 4> cv::Affine3< T >::Mat4

§ Vec3

template<typename T>
typedef Vec<float_type, 3> cv::Affine3< T >::Vec3

Constructor & Destructor Documentation

§ Affine3() [1/6]

template<typename T>
cv::Affine3< T >::Affine3 ( )

§ Affine3() [2/6]

template<typename T>
cv::Affine3< T >::Affine3 ( const Mat4 affine)

Augmented affine matrix.

§ Affine3() [3/6]

template<typename T>
cv::Affine3< T >::Affine3 ( const Mat3 R,
const Vec3 t = Vec3::all(0) 
)

Rotation matrix.

§ Affine3() [4/6]

template<typename T>
cv::Affine3< T >::Affine3 ( const Vec3 rvec,
const Vec3 t = Vec3::all(0) 
)

Rodrigues vector.

§ Affine3() [5/6]

template<typename T>
cv::Affine3< T >::Affine3 ( const Mat data,
const Vec3 t = Vec3::all(0) 
)
explicit

Combines all contructors above. Supports 4x4, 4x3, 3x3, 1x3, 3x1 sizes of data matrix.

§ Affine3() [6/6]

template<typename T>
cv::Affine3< T >::Affine3 ( const float_type vals)
explicit

From 16th element array.

Member Function Documentation

§ cast()

template<typename T>
template<typename Y >
Affine3<Y> cv::Affine3< T >::cast ( ) const

§ concatenate()

template<typename T>
Affine3 cv::Affine3< T >::concatenate ( const Affine3< T > &  affine) const

a.concatenate(affine) is equivalent to affine * a;

§ Identity()

template<typename T>
static Affine3 cv::Affine3< T >::Identity ( )
static

Create identity transform.

§ inv()

template<typename T>
Affine3 cv::Affine3< T >::inv ( int  method = cv::DECOMP_SVD) const

§ linear() [1/2]

template<typename T>
void cv::Affine3< T >::linear ( const Mat3 L)

§ linear() [2/2]

template<typename T>
Mat3 cv::Affine3< T >::linear ( ) const

§ operator Affine3< Y >()

template<typename T>
template<typename Y >
cv::Affine3< T >::operator Affine3< Y > ( ) const

§ rotate() [1/2]

template<typename T>
Affine3 cv::Affine3< T >::rotate ( const Mat3 R) const

a.rotate(R) is equivalent to Affine(R, 0) * a;

§ rotate() [2/2]

template<typename T>
Affine3 cv::Affine3< T >::rotate ( const Vec3 rvec) const

a.rotate(rvec) is equivalent to Affine(rvec, 0) * a;

§ rotation() [1/4]

template<typename T>
void cv::Affine3< T >::rotation ( const Mat3 R)

Rotation matrix.

§ rotation() [2/4]

template<typename T>
void cv::Affine3< T >::rotation ( const Vec3 rvec)

Rodrigues vector.

§ rotation() [3/4]

template<typename T>
void cv::Affine3< T >::rotation ( const Mat data)

Combines rotation methods above. Suports 3x3, 1x3, 3x1 sizes of data matrix;.

§ rotation() [4/4]

template<typename T>
Mat3 cv::Affine3< T >::rotation ( ) const

§ rvec()

template<typename T>
Vec3 cv::Affine3< T >::rvec ( ) const

Rodrigues vector.

§ translate()

template<typename T>
Affine3 cv::Affine3< T >::translate ( const Vec3 t) const

a.translate(t) is equivalent to Affine(E, t) * a;

§ translation() [1/2]

template<typename T>
void cv::Affine3< T >::translation ( const Vec3 t)

§ translation() [2/2]

template<typename T>
Vec3 cv::Affine3< T >::translation ( ) const

Member Data Documentation

§ matrix

template<typename T>
Mat4 cv::Affine3< T >::matrix

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