HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Matrix3 Class Reference

#include <HOM_Matrix3.h>

Public Member Functions

 HOM_Matrix3 ()
 
 HOM_Matrix3 (double diagonal_value)
 
 HOM_Matrix3 (const std::vector< double > &values)
 
 HOM_Matrix3 (const std::vector< std::vector< double > > &values)
 
 HOM_Matrix3 (const HOM_Matrix3 &matrix3)
 
 HOM_Matrix3 (const UT_DMatrix3 &matrix3)
 
 HOM_Matrix3 (const UT_Matrix3 &matrix3)
 
 ~HOM_Matrix3 ()
 
bool operator== (HOM_PtrOrNull< HOM_Matrix3 > matrix3)
 
bool operator!= (HOM_PtrOrNull< HOM_Matrix3 > matrix3)
 
bool isAlmostEqual (HOM_Matrix3 &matrix3, double tolerance=0.00001)
 
int __hash__ ()
 
std::string __str__ ()
 
std::string __repr__ ()
 
HOM_Matrix3operator= (const std::vector< std::vector< double > > &tuple)
 
HOM_Matrix3operator= (const HOM_Matrix3 &matrix3)
 
double at (int row, int col)
 
std::vector< double > asTuple ()
 
std::vector< std::vector
< double > > 
asTupleOfTuples ()
 
void setAt (int row, int col, double value)
 
void setTo (const std::vector< double > &tuple)
 
void setTo (const std::vector< std::vector< double > > &tuple)
 
void setToIdentity ()
 
void setToZero ()
 
HOM_Matrix3 __add__ (HOM_Matrix3 &matrix3)
 
HOM_Matrix3 __sub__ (HOM_Matrix3 &matrix3)
 
HOM_Matrix3 __mul__ (HOM_Matrix3 &matrix3)
 
HOM_Matrix3 __mul__ (double scalar)
 
HOM_Matrix3 preMult (HOM_Matrix3 &matrix3)
 
HOM_Matrix3 transposed ()
 
HOM_Matrix3 inverted ()
 
double determinant ()
 
HOM_Vector3 extractRotates (const char *rotate_order="xyz")
 
std::pair< HOM_ElemPtr
< HOM_Vector3 >, HOM_ElemPtr
< HOM_Vector3 > > 
removeScalesAndShears (const char *transform_order="srt")
 
void_asVoidPointer ()
 

Public Attributes

UT_DMatrix3 myMatrix3
 

Detailed Description

Definition at line 26 of file HOM_Matrix3.h.

Constructor & Destructor Documentation

HOM_Matrix3::HOM_Matrix3 ( )
inline

Definition at line 29 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( double  diagonal_value)
inline

Definition at line 34 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( const std::vector< double > &  values)
inline

Definition at line 39 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( const std::vector< std::vector< double > > &  values)
inline

Definition at line 44 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( const HOM_Matrix3 matrix3)
inline

Definition at line 51 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( const UT_DMatrix3 matrix3)
inline

Definition at line 55 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( const UT_Matrix3 matrix3)
inline

Definition at line 58 of file HOM_Matrix3.h.

HOM_Matrix3::~HOM_Matrix3 ( )
inline

Definition at line 62 of file HOM_Matrix3.h.

Member Function Documentation

HOM_Matrix3 HOM_Matrix3::__add__ ( HOM_Matrix3 matrix3)
inline

Definition at line 100 of file HOM_Matrix3.h.

int HOM_Matrix3::__hash__ ( )
HOM_Matrix3 HOM_Matrix3::__mul__ ( HOM_Matrix3 matrix3)
inline

Definition at line 104 of file HOM_Matrix3.h.

HOM_Matrix3 HOM_Matrix3::__mul__ ( double  scalar)
inline

Definition at line 106 of file HOM_Matrix3.h.

std::string HOM_Matrix3::__repr__ ( )
std::string HOM_Matrix3::__str__ ( )
HOM_Matrix3 HOM_Matrix3::__sub__ ( HOM_Matrix3 matrix3)
inline

Definition at line 102 of file HOM_Matrix3.h.

void* HOM_Matrix3::_asVoidPointer ( )
inline

Definition at line 123 of file HOM_Matrix3.h.

std::vector<double> HOM_Matrix3::asTuple ( )
std::vector<std::vector<double> > HOM_Matrix3::asTupleOfTuples ( )
double HOM_Matrix3::at ( int  row,
int  col 
)
double HOM_Matrix3::determinant ( )
inline

Definition at line 113 of file HOM_Matrix3.h.

HOM_Vector3 HOM_Matrix3::extractRotates ( const char *  rotate_order = "xyz")
HOM_Matrix3 HOM_Matrix3::inverted ( )
bool HOM_Matrix3::isAlmostEqual ( HOM_Matrix3 matrix3,
double  tolerance = 0.00001 
)
bool HOM_Matrix3::operator!= ( HOM_PtrOrNull< HOM_Matrix3 matrix3)
inline

Definition at line 68 of file HOM_Matrix3.h.

HOM_Matrix3& HOM_Matrix3::operator= ( const std::vector< std::vector< double > > &  tuple)
HOM_Matrix3& HOM_Matrix3::operator= ( const HOM_Matrix3 matrix3)
inline

Definition at line 79 of file HOM_Matrix3.h.

bool HOM_Matrix3::operator== ( HOM_PtrOrNull< HOM_Matrix3 matrix3)
inline

Definition at line 65 of file HOM_Matrix3.h.

HOM_Matrix3 HOM_Matrix3::preMult ( HOM_Matrix3 matrix3)
inline

Definition at line 108 of file HOM_Matrix3.h.

std::pair<HOM_ElemPtr<HOM_Vector3>, HOM_ElemPtr<HOM_Vector3> > HOM_Matrix3::removeScalesAndShears ( const char *  transform_order = "srt")
void HOM_Matrix3::setAt ( int  row,
int  col,
double  value 
)
void HOM_Matrix3::setTo ( const std::vector< double > &  tuple)
void HOM_Matrix3::setTo ( const std::vector< std::vector< double > > &  tuple)
void HOM_Matrix3::setToIdentity ( )
inline

Definition at line 94 of file HOM_Matrix3.h.

void HOM_Matrix3::setToZero ( )
inline

Definition at line 97 of file HOM_Matrix3.h.

HOM_Matrix3 HOM_Matrix3::transposed ( )

Member Data Documentation

UT_DMatrix3 HOM_Matrix3::myMatrix3

Definition at line 128 of file HOM_Matrix3.h.


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