Cortex  10.0.0-a4
Public Member Functions | Public Attributes | List of all members
IECore::TransformationMatrix< T > Class Template Reference

#include <TransformationMatrix.h>

Public Member Functions

 TransformationMatrix ()
 Default constructor sets to identity transformation.
 
 TransformationMatrix (const Imath::Vec3< T > &s, const Imath::Euler< T > &r, const Imath::Vec3< T > &t)
 Basic constructor for setting common parameters: scale, rotate and translate.
 
 TransformationMatrix (const TransformationMatrix &cp)
 Copy constructor.
 
Imath::Matrix44< T > transform () const
 Returns the transform this object represents.
 
bool operator== (const TransformationMatrix &t) const
 

Public Attributes

Imath::Vec3< T > scalePivot
 
Imath::Vec3< T > scale
 
Imath::Vec3< T > shear
 
Imath::Vec3< T > scalePivotTranslation
 
Imath::Vec3< T > rotatePivot
 
Imath::Quat< T > rotationOrientation
 
Imath::Euler< T > rotate
 
Imath::Vec3< T > rotatePivotTranslation
 
Imath::Vec3< T > translate
 

Detailed Description

template<class T>
class IECore::TransformationMatrix< T >

Defines a transformation matrix that supports scale and rotation pivots in the same way Maya defines MTransformationMatrix. Provides direct access to the transformation components and a utility function that builds the final matrix. The matrix is built with the following operations: translate( -scalePivot ) * scale( scale ) * shear( shear ) * translate( scalePivot ) * translate( scalePivotTranslation ) * translate( -rotatePivot ) * rotate( rotationOrientation ) * rotate( rotate ) * translate( rotatePivot ) * translate( rotatePivotTranslation) * translate( translate )

Todo:
add more utility methods.

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