HDK
|
#include <HOM_Vector4.h>
Public Member Functions | |
HOM_Vector4 () | |
HOM_Vector4 (double x, double y, double z, double w) | |
HOM_Vector4 (const HOM_Vector4 &vector4) | |
HOM_Vector4 (const UT_Vector4D &vector4) | |
HOM_Vector4 (const UT_Vector4F &vector4) | |
HOM_Vector4 (const std::vector< double > &sequence) | |
HOM_Vector4 (HOM_Vector3 &vector3) | |
~HOM_Vector4 () | |
bool | operator== (HOM_PtrOrNull< HOM_Vector4 > vector4) |
bool | operator!= (HOM_PtrOrNull< HOM_Vector4 > vector4) |
bool | isAlmostEqual (HOM_Vector4 &vector4, double tolerance=0.00001) |
bool | almostEqual (HOM_Vector4 &vector4, double tolerance=0.00001) |
int | __hash__ () |
std::string | __str__ () |
std::string | __repr__ () |
double | __getitem__ (int index) |
void | __setitem__ (int index, double value) |
int | __len__ () |
double & | operator[] (int index) |
void | setTo (const std::vector< double > &sequence) |
HOM_Vector4 & | operator= (const HOM_Vector4 &vector4) |
HOM_Vector4 | __add__ (HOM_Vector4 &vector4) |
HOM_Vector4 | __sub__ (HOM_Vector4 &vector4) |
HOM_Vector4 | __mul__ (double scalar) |
HOM_Vector4 | __rmul__ (double scalar) |
HOM_Vector4 | __mul__ (HOM_Matrix4 &matrix4) |
HOM_Vector4 | __div__ (double scalar) |
HOM_Vector4 | __truediv__ (double scalar) |
HOM_Vector4 | normalized () |
double | length () |
double | lengthSquared () |
double | dot (HOM_Vector4 &vector4) |
HOM_Vector4 | ocio_transform (const std::string &src_space, const std::string &dest_space) const |
double | x () |
double | y () |
double | z () |
double | w () |
void * | _asVoidPointer () |
std::vector< double > | _getstate () |
void | _setstate (std::vector< double >) |
Public Attributes | |
UT_Vector4D | myVector4 |
Definition at line 26 of file HOM_Vector4.h.
|
inline |
Definition at line 29 of file HOM_Vector4.h.
|
inline |
Definition at line 33 of file HOM_Vector4.h.
|
inline |
Definition at line 38 of file HOM_Vector4.h.
|
inline |
Definition at line 43 of file HOM_Vector4.h.
|
inline |
Definition at line 48 of file HOM_Vector4.h.
|
inline |
Definition at line 52 of file HOM_Vector4.h.
HOM_Vector4::HOM_Vector4 | ( | HOM_Vector3 & | vector3 | ) |
|
inline |
Definition at line 60 of file HOM_Vector4.h.
|
inline |
Definition at line 98 of file HOM_Vector4.h.
|
inline |
Definition at line 107 of file HOM_Vector4.h.
double HOM_Vector4::__getitem__ | ( | int | index | ) |
int HOM_Vector4::__hash__ | ( | ) |
|
inline |
Definition at line 81 of file HOM_Vector4.h.
|
inline |
Definition at line 102 of file HOM_Vector4.h.
HOM_Vector4 HOM_Vector4::__mul__ | ( | HOM_Matrix4 & | matrix4 | ) |
std::string HOM_Vector4::__repr__ | ( | ) |
|
inline |
Definition at line 104 of file HOM_Vector4.h.
std::string HOM_Vector4::__str__ | ( | ) |
|
inline |
Definition at line 100 of file HOM_Vector4.h.
|
inline |
Definition at line 109 of file HOM_Vector4.h.
|
inline |
Definition at line 133 of file HOM_Vector4.h.
std::vector<double> HOM_Vector4::_getstate | ( | ) |
void HOM_Vector4::_setstate | ( | std::vector< double > | ) |
|
inline |
Definition at line 72 of file HOM_Vector4.h.
|
inline |
Definition at line 118 of file HOM_Vector4.h.
bool HOM_Vector4::isAlmostEqual | ( | HOM_Vector4 & | vector4, |
double | tolerance = 0.00001 |
||
) |
|
inline |
Definition at line 113 of file HOM_Vector4.h.
|
inline |
Definition at line 115 of file HOM_Vector4.h.
HOM_Vector4 HOM_Vector4::normalized | ( | ) |
HOM_Vector4 HOM_Vector4::ocio_transform | ( | const std::string & | src_space, |
const std::string & | dest_space | ||
) | const |
|
inline |
Definition at line 66 of file HOM_Vector4.h.
|
inline |
Definition at line 92 of file HOM_Vector4.h.
|
inline |
Definition at line 63 of file HOM_Vector4.h.
double& HOM_Vector4::operator[] | ( | int | index | ) |
void HOM_Vector4::setTo | ( | const std::vector< double > & | sequence | ) |
|
inline |
Definition at line 130 of file HOM_Vector4.h.
|
inline |
Definition at line 124 of file HOM_Vector4.h.
|
inline |
Definition at line 126 of file HOM_Vector4.h.
|
inline |
Definition at line 128 of file HOM_Vector4.h.
UT_Vector4D HOM_Vector4::myVector4 |
Definition at line 137 of file HOM_Vector4.h.