TIndex4 Class Reference

Inheritance diagram for TIndex4:
TMCObject

List of all members.

Public Member Functions

 TIndex4 ()
 TIndex4 (const int32 xx, const int32 yy, const int32 zz, const int32 ww)
void Set (const int32 xx, const int32 yy, const int32 zz, const int32 ww)
real GetMagnitudeSquared (void) const
real GetMagnitude (void) const
real GetDistance (const TIndex4 &v) const
void Swap (TIndex4 &v)
void Negate (void)
TIndex4 operator- (void) const
TIndex4operator+= (const TIndex4 &rhs)
TIndex4operator-= (const TIndex4 &rhs)
TIndex4 operator+ (const TIndex4 &rhs) const
TIndex4 operator- (const TIndex4 &rhs) const
int32 & operator[] (const uint32 elemNum)
const int32 & operator[] (const uint32 elemNum) const
boolean operator== (const TIndex4 &rhs) const
boolean operator!= (const TIndex4 &rhs) const
uint32 GetDimension (void) const

Public Attributes

int32 x
int32 y
int32 z
int32 w

Static Public Attributes

static const TIndex4 kZero

Detailed Description

Stores a 4D integer point


Constructor & Destructor Documentation

TIndex4::TIndex4 (  )  [inline]
TIndex4::TIndex4 ( const int32  xx,
const int32  yy,
const int32  zz,
const int32  ww 
) [inline]

Member Function Documentation

uint32 TIndex4::GetDimension ( void   )  const [inline]
real TIndex4::GetDistance ( const TIndex4 v  )  const [inline]
real TIndex4::GetMagnitude ( void   )  const [inline]
real TIndex4::GetMagnitudeSquared ( void   )  const [inline]
void TIndex4::Negate ( void   )  [inline]
boolean TIndex4::operator!= ( const TIndex4 rhs  )  const [inline]
TIndex4 TIndex4::operator+ ( const TIndex4 rhs  )  const [inline]
TIndex4& TIndex4::operator+= ( const TIndex4 rhs  )  [inline]
TIndex4 TIndex4::operator- ( const TIndex4 rhs  )  const [inline]
TIndex4 TIndex4::operator- ( void   )  const [inline]
TIndex4& TIndex4::operator-= ( const TIndex4 rhs  )  [inline]
boolean TIndex4::operator== ( const TIndex4 rhs  )  const [inline]
const int32& TIndex4::operator[] ( const uint32  elemNum  )  const [inline]
int32& TIndex4::operator[] ( const uint32  elemNum  )  [inline]
void TIndex4::Set ( const int32  xx,
const int32  yy,
const int32  zz,
const int32  ww 
) [inline]
void TIndex4::Swap ( TIndex4 v  ) 

Member Data Documentation

const TIndex4 TIndex4::kZero [static]
int32 TIndex4::w
int32 TIndex4::x
int32 TIndex4::y
int32 TIndex4::z

The documentation for this class was generated from the following file:
Generated on Mon Apr 26 22:48:00 2010 for Carrara SDK Doc by  doxygen 1.6.3