MercuryVertex Class Reference

#include <MercuryVertex.h>

Collaboration diagram for MercuryVertex:

Collaboration graph
List of all members.

Public Member Functions

 MercuryVertex ()
 MercuryVertex (const float ix, const float iy, const float iz, const float iu, const float iv)
const float GetX () const
const float GetY () const
const float GetZ () const
void SetX (const float ix)
void SetY (const float iy)
void SetZ (const float iz)
void ConvertToVector3 (MercuryPoint &out) const
void ConvertFromVector3 (const MercuryPoint &in)
MercuryPointGetPointHandle ()
MercuryVertexoperator+= (const MercuryVertex &other)
MercuryVertexoperator-= (const MercuryVertex &other)
MercuryVertexoperator *= (float f)
MercuryVertexoperator/= (float f)
MercuryVertex operator+ (const MercuryVertex &other) const
MercuryVertex operator- (const MercuryVertex &other) const
MercuryVertex operator * (float f) const
MercuryVertex operator/ (float f) const
MercuryVertex CrossProduct (const MercuryVertex &second)
void GetUV (float *uv) const
void SetUV (const float *uv)
void SetU (const float u)
void SetV (const float v)
const MercuryNormalGetNormal () const
void GetNormal (MercuryNormal *&normal)
 WARNING: This will change where the pointer points to.
void SetNormal (MercuryNormal normal)

Public Attributes

float m_uv [2]
MercuryNormal m_normal
float x
float y
float z

Detailed Description

Definition at line 12 of file MercuryVertex.h.

Constructor & Destructor Documentation

MercuryVertex::MercuryVertex (  ) 

Definition at line 9 of file MercuryVertex.cpp.

MercuryVertex::MercuryVertex ( const float  ix,
const float  iy,
const float  iz,
const float  iu,
const float  iv 

Definition at line 3 of file MercuryVertex.cpp.

Member Function Documentation

const float MercuryVertex::GetX (  )  const [inline]

Definition at line 19 of file MercuryVertex.h.

const float MercuryVertex::GetY (  )  const [inline]

Definition at line 20 of file MercuryVertex.h.

const float MercuryVertex::GetZ (  )  const [inline]

Definition at line 21 of file MercuryVertex.h.

void MercuryVertex::SetX ( const float  ix  )  [inline]

Definition at line 22 of file MercuryVertex.h.

void MercuryVertex::SetY ( const float  iy  )  [inline]

Definition at line 23 of file MercuryVertex.h.

void MercuryVertex::SetZ ( const float  iz  )  [inline]

Definition at line 24 of file MercuryVertex.h.

void MercuryVertex::ConvertToVector3 ( MercuryPoint out  )  const [inline]

Definition at line 25 of file MercuryVertex.h.

void MercuryVertex::ConvertFromVector3 ( const MercuryPoint in  )  [inline]

Definition at line 26 of file MercuryVertex.h.

MercuryPoint& MercuryVertex::GetPointHandle (  )  [inline]

Definition at line 27 of file MercuryVertex.h.

MercuryVertex& MercuryVertex::operator+= ( const MercuryVertex other  )  [inline]

Definition at line 29 of file MercuryVertex.h.

MercuryVertex& MercuryVertex::operator-= ( const MercuryVertex other  )  [inline]

Definition at line 30 of file MercuryVertex.h.

MercuryVertex& MercuryVertex::operator *= ( float  f  )  [inline]

Definition at line 31 of file MercuryVertex.h.

MercuryVertex& MercuryVertex::operator/= ( float  f  )  [inline]

Definition at line 32 of file MercuryVertex.h.

MercuryVertex MercuryVertex::operator+ ( const MercuryVertex other  )  const [inline]

Definition at line 34 of file MercuryVertex.h.

MercuryVertex MercuryVertex::operator- ( const MercuryVertex other  )  const [inline]

Definition at line 35 of file MercuryVertex.h.

MercuryVertex MercuryVertex::operator * ( float  f  )  const [inline]

Definition at line 36 of file MercuryVertex.h.

MercuryVertex MercuryVertex::operator/ ( float  f  )  const [inline]

Definition at line 37 of file MercuryVertex.h.

MercuryVertex MercuryVertex::CrossProduct ( const MercuryVertex second  ) 

Definition at line 15 of file MercuryVertex.cpp.

void MercuryVertex::GetUV ( float *  uv  )  const [inline]

Definition at line 41 of file MercuryVertex.h.

void MercuryVertex::SetUV ( const float *  uv  )  [inline]

Definition at line 42 of file MercuryVertex.h.

void MercuryVertex::SetU ( const float  u  )  [inline]

Definition at line 43 of file MercuryVertex.h.

void MercuryVertex::SetV ( const float  v  )  [inline]

Definition at line 44 of file MercuryVertex.h.

const MercuryNormal& MercuryVertex::GetNormal (  )  const [inline]

Definition at line 45 of file MercuryVertex.h.

void MercuryVertex::GetNormal ( MercuryNormal *&  normal  )  [inline]

WARNING: This will change where the pointer points to.

Definition at line 48 of file MercuryVertex.h.

void MercuryVertex::SetNormal ( MercuryNormal  normal  )  [inline]

Definition at line 50 of file MercuryVertex.h.

Member Data Documentation

float MercuryVertex::m_uv[2]

Definition at line 56 of file MercuryVertex.h.

MercuryNormal MercuryVertex::m_normal

Definition at line 57 of file MercuryVertex.h.

float MercuryVertex::x

Definition at line 60 of file MercuryVertex.h.

float MercuryVertex::y

Definition at line 61 of file MercuryVertex.h.

float MercuryVertex::z

Definition at line 62 of file MercuryVertex.h.

The documentation for this class was generated from the following files:
Hosted by Logo