9 #ifndef __HOM_Matrix3_h__
10 #define __HOM_Matrix3_h__
37 myMatrix3 = diagonal_value;
71 bool isAlmostEqual(
HOM_Matrix3 &matrix3,
double tolerance=0.00001);
78 HOM_Matrix3 &
operator=(
const std::vector<std::vector<double> > &tuple);
85 double at(
int row,
int col);
87 std::vector<double> asTuple();
88 std::vector<std::vector<double> > asTupleOfTuples();
90 void setAt(
int row,
int col,
double value);
91 void setTo(
const std::vector<double> &tuple);
92 void setTo(
const std::vector<std::vector<double> > &tuple);
95 { myMatrix3.identity(); }
114 {
return myMatrix3.determinant(); }
116 SWIGOUT(%kwargs extractRotates;)
117 HOM_Vector3 extractRotates(
const char *rotate_order=
"xyz");
119 SWIGOUT(%kwargs removeScalesAndShears;)
121 removeScalesAndShears(
const char *transform_order=
"srt");
124 {
return &myMatrix3; }
139 std::vector<double> _getstate();
140 void _setstate(std::vector<double>);
146 def __getstate__(
self):
147 return self._getstate()
148 def __setstate__(self, state):
153 self._setstate(state)
HOM_Matrix3 preMult(HOM_Matrix3 &matrix3)
HOM_Matrix3 __mul__(double scalar)
#define HOM_DESTRUCT_OBJECT(pointer)
HOM_Matrix3 & operator=(const HOM_Matrix3 &matrix3)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
**But if you need a or simply need to know when the task has note that the like this
HOM_Matrix3(const std::vector< std::vector< double > > &values)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
HOM_Matrix3 __mul__(HOM_Matrix3 &matrix3)
#define HOM_CONSTRUCT_OBJECT(pointer)
HOM_Matrix3(const HOM_Matrix3 &matrix3)
bool operator!=(HOM_PtrOrNull< HOM_Matrix3 > matrix3)
HOM_Matrix3(const std::vector< double > &values)
HOM_Matrix3 __add__(HOM_Matrix3 &matrix3)
HOM_Matrix3(const UT_DMatrix3 &matrix3)
GLenum GLsizei GLsizei GLint * values
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_Matrix3(const UT_Matrix3 &matrix3)
HOM_Matrix3 __sub__(HOM_Matrix3 &matrix3)
bool operator==(HOM_PtrOrNull< HOM_Matrix3 > matrix3)
HOM_Matrix3(double diagonal_value)
GLenum GLenum GLsizei void * row
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.