HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 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 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 UT_Vector4D vector4)
inline

Definition at line 38 of file HOM_Vector4.h.

HOM_Vector4::HOM_Vector4 ( const UT_Vector4F vector4)
inline

Definition at line 43 of file HOM_Vector4.h.

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

Definition at line 47 of file HOM_Vector4.h.

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

Definition at line 55 of file HOM_Vector4.h.

Member Function Documentation

HOM_Vector4 HOM_Vector4::__add__ ( HOM_Vector4 vector4)
inline

Definition at line 93 of file HOM_Vector4.h.

HOM_Vector4 HOM_Vector4::__div__ ( double  scalar)
inline

Definition at line 102 of file HOM_Vector4.h.

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

Definition at line 76 of file HOM_Vector4.h.

HOM_Vector4 HOM_Vector4::__mul__ ( double  scalar)
inline

Definition at line 97 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 99 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 95 of file HOM_Vector4.h.

void* HOM_Vector4::_asVoidPointer ( )
inline

Definition at line 126 of file HOM_Vector4.h.

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

Definition at line 67 of file HOM_Vector4.h.

double HOM_Vector4::dot ( HOM_Vector4 vector4)
inline

Definition at line 111 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 106 of file HOM_Vector4.h.

double HOM_Vector4::lengthSquared ( )
inline

Definition at line 108 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 61 of file HOM_Vector4.h.

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

Definition at line 87 of file HOM_Vector4.h.

bool HOM_Vector4::operator== ( HOM_PtrOrNull< HOM_Vector4 vector4)
inline

Definition at line 58 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 123 of file HOM_Vector4.h.

double HOM_Vector4::x ( )
inline

Definition at line 117 of file HOM_Vector4.h.

double HOM_Vector4::y ( )
inline

Definition at line 119 of file HOM_Vector4.h.

double HOM_Vector4::z ( )
inline

Definition at line 121 of file HOM_Vector4.h.

Member Data Documentation

UT_Vector4D HOM_Vector4::myVector4

Definition at line 130 of file HOM_Vector4.h.


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