vcg::Similarity< S, RotationType > Class Template Reference

#include <similarity.h>

List of all members.

Public Member Functions

void FromMatrix (const Matrix44< S > &m)
Matrix44< S > InverseMatrix () const
Matrix44< S > Matrix () const
Similarity operator* (const Similarity &affine) const
Similarityoperator*= (const Similarity &affine)
SimilaritySetIdentity ()
SimilaritySetRotate (const RotationType &q)
SimilaritySetRotate (S angle, const Point3< S > &axis)
 use radiants for angle.
SimilaritySetScale (const S s)
SimilaritySetTranslate (const Point3< S > &t)
 Similarity (S alpha, S beta, S gamma)
 Similarity (S s)
 Similarity (const Point3< S > &p)
 Similarity (const RotationType &q)
 Similarity ()

Public Attributes

RotationType rot
sca
Point3< S > tra

Detailed Description

template<class S, class RotationType = Quaternion<S>>
class vcg::Similarity< S, RotationType >

Definition at line 103 of file similarity.h.


Constructor & Destructor Documentation

template<class S, class RotationType = Quaternion<S>>
vcg::Similarity< S, RotationType >::Similarity (  )  [inline]

Definition at line 105 of file similarity.h.

template<class S, class RotationType = Quaternion<S>>
vcg::Similarity< S, RotationType >::Similarity ( const RotationType &  q  )  [inline]

Definition at line 106 of file similarity.h.

template<class S, class RotationType = Quaternion<S>>
vcg::Similarity< S, RotationType >::Similarity ( const Point3< S > &  p  )  [inline]

Definition at line 107 of file similarity.h.

template<class S, class RotationType = Quaternion<S>>
vcg::Similarity< S, RotationType >::Similarity ( s  )  [inline]

Definition at line 108 of file similarity.h.

template<class S, class RotationType = Quaternion<S>>
vcg::Similarity< S, RotationType >::Similarity ( alpha,
beta,
gamma 
) [inline]

Definition at line 109 of file similarity.h.


Member Function Documentation

template<class S, class RotationType >
void vcg::Similarity< S, RotationType >::FromMatrix ( const Matrix44< S > &  m  )  [inline]

Definition at line 202 of file similarity.h.

template<class S , class RotationType >
Matrix44< S > vcg::Similarity< S, RotationType >::InverseMatrix (  )  const [inline]

Definition at line 197 of file similarity.h.

template<class S , class RotationType >
Matrix44< S > vcg::Similarity< S, RotationType >::Matrix (  )  const [inline]

Definition at line 189 of file similarity.h.

template<class S , class RotationType >
Similarity< S, RotationType > vcg::Similarity< S, RotationType >::operator* ( const Similarity< S, RotationType > &  affine  )  const [inline]

Definition at line 142 of file similarity.h.

template<class S , class RotationType >
Similarity< S, RotationType > & vcg::Similarity< S, RotationType >::operator*= ( const Similarity< S, RotationType > &  affine  )  [inline]

Definition at line 150 of file similarity.h.

template<class S , class RotationType >
Similarity< S, RotationType > & vcg::Similarity< S, RotationType >::SetIdentity (  )  [inline]

Definition at line 157 of file similarity.h.

template<class S, class RotationType>
Similarity< S, RotationType > & vcg::Similarity< S, RotationType >::SetRotate ( const RotationType &  q  )  [inline]

Definition at line 182 of file similarity.h.

template<class S, class RotationType >
Similarity< S, RotationType > & vcg::Similarity< S, RotationType >::SetRotate ( angle,
const Point3< S > &  axis 
) [inline]

use radiants for angle.

Definition at line 176 of file similarity.h.

template<class S, class RotationType >
Similarity< S, RotationType > & vcg::Similarity< S, RotationType >::SetScale ( const S  s  )  [inline]

Definition at line 164 of file similarity.h.

template<class S, class RotationType >
Similarity< S, RotationType > & vcg::Similarity< S, RotationType >::SetTranslate ( const Point3< S > &  t  )  [inline]

Definition at line 170 of file similarity.h.


Member Data Documentation

template<class S, class RotationType = Quaternion<S>>
RotationType vcg::Similarity< S, RotationType >::rot

Definition at line 132 of file similarity.h.

template<class S, class RotationType = Quaternion<S>>
S vcg::Similarity< S, RotationType >::sca

Definition at line 134 of file similarity.h.

template<class S, class RotationType = Quaternion<S>>
Point3<S> vcg::Similarity< S, RotationType >::tra

Definition at line 133 of file similarity.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:05 2013