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

#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_Vector4operator= (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 ()
 

Public Attributes

UT_Vector4D myVector4
 

Detailed Description

Definition at line 26 of file HOM_Vector4.h.

Constructor & Destructor Documentation

HOM_Vector4::HOM_Vector4 ( )
inline

Definition at line 29 of file HOM_Vector4.h.

HOM_Vector4::HOM_Vector4 ( double  x,
double  y,
double  z,
double  w 
)
inline

Definition at line 33 of file HOM_Vector4.h.

HOM_Vector4::HOM_Vector4 ( const HOM_Vector4 vector4)
inline

Definition at line 38 of file HOM_Vector4.h.

HOM_Vector4::HOM_Vector4 ( const UT_Vector4D vector4)
inline

Definition at line 43 of file HOM_Vector4.h.

HOM_Vector4::HOM_Vector4 ( const UT_Vector4F vector4)
inline

Definition at line 48 of file HOM_Vector4.h.

HOM_Vector4::HOM_Vector4 ( const std::vector< double > &  sequence)
inline

Definition at line 52 of file HOM_Vector4.h.

HOM_Vector4::HOM_Vector4 ( HOM_Vector3 vector3)
HOM_Vector4::~HOM_Vector4 ( )
inline

Definition at line 60 of file HOM_Vector4.h.

Member Function Documentation

HOM_Vector4 HOM_Vector4::__add__ ( HOM_Vector4 vector4)
inline

Definition at line 98 of file HOM_Vector4.h.

HOM_Vector4 HOM_Vector4::__div__ ( double  scalar)
inline

Definition at line 107 of file HOM_Vector4.h.

double HOM_Vector4::__getitem__ ( int  index)
int HOM_Vector4::__hash__ ( )
int HOM_Vector4::__len__ ( )
inline

Definition at line 81 of file HOM_Vector4.h.

HOM_Vector4 HOM_Vector4::__mul__ ( double  scalar)
inline

Definition at line 102 of file HOM_Vector4.h.

HOM_Vector4 HOM_Vector4::__mul__ ( HOM_Matrix4 matrix4)
std::string HOM_Vector4::__repr__ ( )
HOM_Vector4 HOM_Vector4::__rmul__ ( double  scalar)
inline

Definition at line 104 of file HOM_Vector4.h.

void HOM_Vector4::__setitem__ ( int  index,
double  value 
)
std::string HOM_Vector4::__str__ ( )
HOM_Vector4 HOM_Vector4::__sub__ ( HOM_Vector4 vector4)
inline

Definition at line 100 of file HOM_Vector4.h.

HOM_Vector4 HOM_Vector4::__truediv__ ( double  scalar)
inline

Definition at line 109 of file HOM_Vector4.h.

void* HOM_Vector4::_asVoidPointer ( )
inline

Definition at line 133 of file HOM_Vector4.h.

bool HOM_Vector4::almostEqual ( HOM_Vector4 vector4,
double  tolerance = 0.00001 
)
inline

Definition at line 72 of file HOM_Vector4.h.

double HOM_Vector4::dot ( HOM_Vector4 vector4)
inline

Definition at line 118 of file HOM_Vector4.h.

bool HOM_Vector4::isAlmostEqual ( HOM_Vector4 vector4,
double  tolerance = 0.00001 
)
double HOM_Vector4::length ( void  )
inline

Definition at line 113 of file HOM_Vector4.h.

double HOM_Vector4::lengthSquared ( )
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
bool HOM_Vector4::operator!= ( HOM_PtrOrNull< HOM_Vector4 vector4)
inline

Definition at line 66 of file HOM_Vector4.h.

HOM_Vector4& HOM_Vector4::operator= ( const HOM_Vector4 vector4)
inline

Definition at line 92 of file HOM_Vector4.h.

bool HOM_Vector4::operator== ( HOM_PtrOrNull< HOM_Vector4 vector4)
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)
double HOM_Vector4::w ( )
inline

Definition at line 130 of file HOM_Vector4.h.

double HOM_Vector4::x ( )
inline

Definition at line 124 of file HOM_Vector4.h.

double HOM_Vector4::y ( )
inline

Definition at line 126 of file HOM_Vector4.h.

double HOM_Vector4::z ( )
inline

Definition at line 128 of file HOM_Vector4.h.

Member Data Documentation

UT_Vector4D HOM_Vector4::myVector4

Definition at line 137 of file HOM_Vector4.h.


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