OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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(R) 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

template<typename T>
typedef T cv::Affine3< T >::float_type
template<typename T>
typedef Matx<float_type, 3, 3> cv::Affine3< T >::Mat3
template<typename T>
typedef Matx<float_type, 4, 4> cv::Affine3< T >::Mat4
template<typename T>
typedef Vec<float_type, 3> cv::Affine3< T >::Vec3

Constructor & Destructor Documentation

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

Augmented affine matrix.

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

Rotation matrix.

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

Rodrigues vector.

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.

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

From 16th element array.

Member Function Documentation

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

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

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

Create identity transform.

template<typename T>
Affine3 cv::Affine3< T >::inv ( int  method = cv::DECOMP_SVD) const
template<typename T>
void cv::Affine3< T >::linear ( const Mat3 L)
template<typename T>
Mat3 cv::Affine3< T >::linear ( ) const
template<typename T>
template<typename Y >
cv::Affine3< T >::operator Affine3< Y > ( ) const
template<typename T>
Affine3 cv::Affine3< T >::rotate ( const Mat3 R) const

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

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

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

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

Rotation matrix.

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

Rodrigues vector.

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

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

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

Rodrigues vector.

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

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

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

Member Data Documentation

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

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