9 #ifndef __HOM_Matrix4_h__
10 #define __HOM_Matrix4_h__
82 HOM_Matrix4 &
operator=(
const std::vector<std::vector<double> > &sequence);
89 double at(
int row,
int col);
95 void setTo(
const std::vector<double> &sequence);
96 void setTo(
const std::vector<std::vector<double> > &sequence);
121 std::map<std::string, HOM_Vector3>
explode(
122 const char *transform_order=
"srt",
123 const char *rotate_order=
"xyz",
134 const char *transform_order=
"srt",
135 const char *rotate_order=
"xyz",
141 const char *transform_order=
"srt",
147 const char *transform_order=
"srt",
157 double image_aspect=1,
158 double pixel_aspect=1,
159 double clip_near=0,
double clip_far=1,
160 double window_xmin=0,
double window_xmax=1,
161 double window_ymin=0,
double window_ymax=1);
166 double image_aspect=1,
167 double pixel_aspect=1,
168 double clip_near=0,
double clip_far=1,
169 double window_xmin=0,
double window_xmax=1,
170 double window_ymin=0,
double window_ymax=1);
196 def __getstate__(
self):
198 def __setstate__(self,
state):
HOM_Vector3 extractRotates(const char *transform_order="srt", const char *rotate_order="xyz", const HOM_Vector3 &pivot=HOM_Vector3(), const HOM_Vector3 &pivot_rotate=HOM_Vector3())
HOM_Matrix4(const HOM_Matrix4 &matrix4)
#define HOM_DESTRUCT_OBJECT(pointer)
HOM_Matrix4 & operator=(const HOM_Matrix4 &matrix4)
GLsizei const GLfloat * value
HOM_Matrix4 __mul__(double scalar)
HOM_Matrix4(HOM_Matrix3 &matrix3)
std::map< std::string, HOM_Vector3 > explode(const char *transform_order="srt", const char *rotate_order="xyz", const HOM_Vector3 &pivot=HOM_Vector3(), const HOM_Vector3 &pivot_rotate=HOM_Vector3())
HOM_Matrix4(const UT_Matrix4 &matrix4)
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_Vector3 extractTranslates(const char *transform_order="srt", const HOM_Vector3 &pivot_rotate=HOM_Vector3(), const HOM_Vector3 &pivot=HOM_Vector3())
HOM_Matrix4(const std::vector< double > &values)
void _setstate(std::vector< double >)
HOM_Matrix4 preMult(HOM_Matrix4 &matrix4)
HOM_Vector3 extractScales(const char *transform_order="srt", const HOM_Vector3 &pivot=HOM_Vector3(), const HOM_Vector3 &pivot_rotate=HOM_Vector3())
std::vector< double > _getstate()
HOM_Vector3 extractShears(const char *transform_order="srt", const HOM_Vector3 &pivot=HOM_Vector3(), const HOM_Vector3 &pivot_rotate=HOM_Vector3())
void ignore(T const &) VULKAN_HPP_NOEXCEPT
HOM_Matrix4 __add__(HOM_Matrix4 &matrix4)
double at(int row, int col)
#define HOM_CONSTRUCT_OBJECT(pointer)
UT_Matrix4T< Float > Matrix4
HOM_Matrix4(double diagonal_value)
void setAt(int row, int col, double value)
void identity()
Set the matrix to identity.
HOM_Matrix3 * extractRotationMatrix3()
void setToPerspective(double zoom, double image_aspect=1, double pixel_aspect=1, double clip_near=0, double clip_far=1, double window_xmin=0, double window_xmax=1, double window_ymin=0, double window_ymax=1)
bool operator==(HOM_PtrOrNull< HOM_Matrix4 > matrix4)
void setTo(const std::vector< double > &sequence)
HOM_Matrix4 __mul__(HOM_Matrix4 &matrix4)
GLenum GLsizei GLsizei GLint * values
bool isAlmostEqual(HOM_Matrix4 &matrix4, double tolerance=0.00001)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
std::vector< std::vector< double > > asTupleOfTuples()
void setToOrthographic(double zoom, double orthowidth=1, double image_aspect=1, double pixel_aspect=1, double clip_near=0, double clip_far=1, double window_xmin=0, double window_xmax=1, double window_ymin=0, double window_ymax=1)
void zero()
Set the matrix to zero.
GA_API const UT_StringHolder pivot
std::vector< double > asTuple()
GLenum GLenum GLsizei void * row
bool operator!=(HOM_PtrOrNull< HOM_Matrix4 > matrix4)
HOM_Matrix4 __sub__(HOM_Matrix4 &matrix4)
HOM_Matrix4(const UT_DMatrix4 &matrix4)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
HOM_Matrix4(const std::vector< std::vector< double > > &values)