HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 UT_DMatrix3 &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")
 
void_asVoidPointer ()
 

Public Attributes

UT_DMatrix3 myMatrix3
 

Detailed Description

Definition at line 23 of file HOM_Matrix3.h.

Constructor & Destructor Documentation

HOM_Matrix3::HOM_Matrix3 ( )
inline

Definition at line 26 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( double  diagonal_value)
inline

Definition at line 31 of file HOM_Matrix3.h.

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

Definition at line 36 of file HOM_Matrix3.h.

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

Definition at line 41 of file HOM_Matrix3.h.

HOM_Matrix3::HOM_Matrix3 ( const UT_DMatrix3 matrix3)
inline

Definition at line 48 of file HOM_Matrix3.h.

HOM_Matrix3::~HOM_Matrix3 ( )
inline

Definition at line 52 of file HOM_Matrix3.h.

Member Function Documentation

HOM_Matrix3 HOM_Matrix3::__add__ ( HOM_Matrix3 matrix3)
inline

Definition at line 90 of file HOM_Matrix3.h.

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

Definition at line 94 of file HOM_Matrix3.h.

HOM_Matrix3 HOM_Matrix3::__mul__ ( double  scalar)
inline

Definition at line 96 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 92 of file HOM_Matrix3.h.

void* HOM_Matrix3::_asVoidPointer ( )
inline

Definition at line 109 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 103 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 58 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 69 of file HOM_Matrix3.h.

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

Definition at line 55 of file HOM_Matrix3.h.

HOM_Matrix3 HOM_Matrix3::preMult ( HOM_Matrix3 matrix3)
inline

Definition at line 98 of file HOM_Matrix3.h.

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 84 of file HOM_Matrix3.h.

void HOM_Matrix3::setToZero ( )
inline

Definition at line 87 of file HOM_Matrix3.h.

HOM_Matrix3 HOM_Matrix3::transposed ( )

Member Data Documentation

UT_DMatrix3 HOM_Matrix3::myMatrix3

Definition at line 114 of file HOM_Matrix3.h.


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