MercuryObjectBase Class Reference

[Internal] underlying object driving More...

#include <MercuryObjectBase.h>

Inheritance diagram for MercuryObjectBase:

Inheritance graph
Collaboration diagram for MercuryObjectBase:

Collaboration graph
List of all members.

Public Member Functions

 MercuryObjectBase ()
virtual ~MercuryObjectBase ()
virtual void Init ()
virtual void CalculateMatrices ()
void Debug (const float z)
void SetX (const float x)
void SetY (const float y)
void SetZ (const float z)
void SetPosition (const MercuryPoint &position)
float GetX () const
float GetY () const
float GetZ () const
const MercuryPointGetPosition () const
void MoveX (const float x)
void MoveY (const float y)
void MoveZ (const float z)
void SetRotX (const float x)
void SetRotY (const float y)
void SetRotZ (const float z)
void SetRot (const MercuryPoint &rotation)
float GetRotX () const
float GetRotY () const
float GetRotZ () const
const MercuryPointGetRot () const
void MoveRotX (const float x)
void MoveRotY (const float y)
void MoveRotZ (const float z)
RotationMode GetRotMode () const
void SetScaleX (const float x)
void SetScaleY (const float y)
void SetScaleZ (const float z)
void SetScale (const MercuryPoint &scale)
float GetScaleX () const
float GetScaleY () const
float GetScaleZ () const
const MercuryPointGetScale () const
void MoveScaleX (const float x)
void MoveScaleY (const float y)
void MoveScaleZ (const float z)
void SetParentObject (MercuryObjectBase *parent)
MercuryPoint GetGlobalPosition () const
MercuryObjectBaseGetParentObject ()
void SetRotationMode (const RotationMode mode)
void SetAfterMatrix (const float *inmat)
const MercuryMatrixGetAfterMatrix () const
void SetRotationQuaternion (const MQuaternion &q)
const MQuaternionGetRotationQuaternion () const
void SetAlignX (float x)
void SetAlignY (float y)
void SetHide (bool hide)
bool GetHide () const
bool IsHidden () const
virtual void SetDrawOrder (int order)
int GetDrawOrder () const
bool operator< (const MercuryObjectBase &r) const
bool operator>= (const MercuryObjectBase &r) const
bool IsMatrixTainted () const
void SetMatrixTainted (bool taint)
const MercuryMatrixGetLocalMatrix () const
const MercuryMatrixGetFinalMatrix () const
MercuryPoint GetTruePosition () const

Protected Attributes

float m_fVisRadius
 Visible radius; if negetive, do not attempt to frustum cull, otherwise frustum cull.
bool m_hidden
int m_drawOrder
MercuryMatrix m_localMatrix
MercuryMatrix m_finalMatrix
MercuryPoint m_scale
MercuryPoint m_position
MercuryPoint m_rotation
MercuryMatrix m_matrix
MQuaternion m_rotQuat
RotationMode m_rotMode
float m_xalign
float m_yalign
bool m_taintedMatrix

Detailed Description

[Internal] underlying object driving

Definition at line 20 of file MercuryObjectBase.h.

Constructor & Destructor Documentation

MercuryObjectBase::MercuryObjectBase (  ) 

Definition at line 7 of file MercuryObjectBase.cpp.

virtual MercuryObjectBase::~MercuryObjectBase (  )  [inline, virtual]

Definition at line 24 of file MercuryObjectBase.h.

Member Function Documentation

void MercuryObjectBase::Init (  )  [virtual]

Reimplemented in BetaBetaMari, ExplodingCokeCan, MercuryDynTex, MercuryLight, MercuryMesh, MercuryObject, MercuryODEWorld, MercuryParticleField, MercuryScreen, MercurySprite, MercurySwapObject, MercuryText, Projectile, VirtualProjectile, RaceCar, ScreenCopper, ScreenDebugOverlay, ScreenExample2DSS, ScreenFPS, ScreenFPS2, ScreenGameForBlind, ScreenHelloWorld, ScreenJunq, TextList, ObjectControlPane, MercuryTextPrompt, ScreenMapEditor, ScreenNetTester, ScreenODETest, ScreenOutdoors, ScreenRallyRace, ScreenSound, ScreenTest, and ScreenHgTitle.

Definition at line 12 of file MercuryObjectBase.cpp.

void MercuryObjectBase::CalculateMatrices (  )  [virtual]

Reimplemented in MercurySprite, and MercuryTexture.

Definition at line 31 of file MercuryObjectBase.cpp.

void MercuryObjectBase::Debug ( const float  z  ) 

void MercuryObjectBase::SetX ( const float  x  )  [inline]

Definition at line 32 of file MercuryObjectBase.h.

void MercuryObjectBase::SetY ( const float  y  )  [inline]

Definition at line 33 of file MercuryObjectBase.h.

void MercuryObjectBase::SetZ ( const float  z  )  [inline]

Definition at line 34 of file MercuryObjectBase.h.

void MercuryObjectBase::SetPosition ( const MercuryPoint position  )  [inline]

Definition at line 35 of file MercuryObjectBase.h.

float MercuryObjectBase::GetX (  )  const [inline]

Definition at line 36 of file MercuryObjectBase.h.

float MercuryObjectBase::GetY (  )  const [inline]

Definition at line 37 of file MercuryObjectBase.h.

float MercuryObjectBase::GetZ (  )  const [inline]

Definition at line 38 of file MercuryObjectBase.h.

const MercuryPoint& MercuryObjectBase::GetPosition (  )  const [inline]

Definition at line 39 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveX ( const float  x  )  [inline]

Definition at line 40 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveY ( const float  y  )  [inline]

Definition at line 41 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveZ ( const float  z  )  [inline]

Definition at line 42 of file MercuryObjectBase.h.

void MercuryObjectBase::SetRotX ( const float  x  )  [inline]

Definition at line 45 of file MercuryObjectBase.h.

void MercuryObjectBase::SetRotY ( const float  y  )  [inline]

Definition at line 46 of file MercuryObjectBase.h.

void MercuryObjectBase::SetRotZ ( const float  z  )  [inline]

Definition at line 47 of file MercuryObjectBase.h.

void MercuryObjectBase::SetRot ( const MercuryPoint rotation  )  [inline]

Definition at line 48 of file MercuryObjectBase.h.

float MercuryObjectBase::GetRotX (  )  const [inline]

Definition at line 49 of file MercuryObjectBase.h.

float MercuryObjectBase::GetRotY (  )  const [inline]

Definition at line 50 of file MercuryObjectBase.h.

float MercuryObjectBase::GetRotZ (  )  const [inline]

Definition at line 51 of file MercuryObjectBase.h.

const MercuryPoint& MercuryObjectBase::GetRot (  )  const [inline]

Definition at line 52 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveRotX ( const float  x  )  [inline]

Definition at line 53 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveRotY ( const float  y  )  [inline]

Definition at line 54 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveRotZ ( const float  z  )  [inline]

Definition at line 55 of file MercuryObjectBase.h.

RotationMode MercuryObjectBase::GetRotMode (  )  const [inline]

Definition at line 56 of file MercuryObjectBase.h.

void MercuryObjectBase::SetScaleX ( const float  x  )  [inline]

Definition at line 59 of file MercuryObjectBase.h.

void MercuryObjectBase::SetScaleY ( const float  y  )  [inline]

Definition at line 60 of file MercuryObjectBase.h.

void MercuryObjectBase::SetScaleZ ( const float  z  )  [inline]

Definition at line 61 of file MercuryObjectBase.h.

void MercuryObjectBase::SetScale ( const MercuryPoint scale  )  [inline]

Definition at line 62 of file MercuryObjectBase.h.

float MercuryObjectBase::GetScaleX (  )  const [inline]

Definition at line 63 of file MercuryObjectBase.h.

float MercuryObjectBase::GetScaleY (  )  const [inline]

Definition at line 64 of file MercuryObjectBase.h.

float MercuryObjectBase::GetScaleZ (  )  const [inline]

Definition at line 65 of file MercuryObjectBase.h.

const MercuryPoint& MercuryObjectBase::GetScale (  )  const [inline]

Definition at line 66 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveScaleX ( const float  x  )  [inline]

Definition at line 67 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveScaleY ( const float  y  )  [inline]

Definition at line 68 of file MercuryObjectBase.h.

void MercuryObjectBase::MoveScaleZ ( const float  z  )  [inline]

Definition at line 69 of file MercuryObjectBase.h.

void MercuryObjectBase::SetParentObject ( MercuryObjectBase parent  )  [inline]

Definition at line 72 of file MercuryObjectBase.h.

MercuryPoint MercuryObjectBase::GetGlobalPosition (  )  const

Definition at line 24 of file MercuryObjectBase.cpp.

MercuryObjectBase* MercuryObjectBase::GetParentObject (  )  [inline]

Definition at line 74 of file MercuryObjectBase.h.

void MercuryObjectBase::SetRotationMode ( const RotationMode  mode  )  [inline]

Definition at line 76 of file MercuryObjectBase.h.

void MercuryObjectBase::SetAfterMatrix ( const float *  inmat  )  [inline]

Definition at line 78 of file MercuryObjectBase.h.

const MercuryMatrix& MercuryObjectBase::GetAfterMatrix (  )  const [inline]

Definition at line 79 of file MercuryObjectBase.h.

void MercuryObjectBase::SetRotationQuaternion ( const MQuaternion q  )  [inline]

Definition at line 81 of file MercuryObjectBase.h.

const MQuaternion& MercuryObjectBase::GetRotationQuaternion (  )  const [inline]

Definition at line 82 of file MercuryObjectBase.h.

void MercuryObjectBase::SetAlignX ( float  x  )  [inline]

Definition at line 84 of file MercuryObjectBase.h.

void MercuryObjectBase::SetAlignY ( float  y  )  [inline]

Definition at line 85 of file MercuryObjectBase.h.

void MercuryObjectBase::SetHide ( bool  hide  )  [inline]

Definition at line 87 of file MercuryObjectBase.h.

bool MercuryObjectBase::GetHide (  )  const [inline]

Definition at line 88 of file MercuryObjectBase.h.

bool MercuryObjectBase::IsHidden (  )  const

Definition at line 123 of file MercuryObjectBase.cpp.

virtual void MercuryObjectBase::SetDrawOrder ( int  order  )  [inline, virtual]

Reimplemented in MercuryObject.

Definition at line 92 of file MercuryObjectBase.h.

int MercuryObjectBase::GetDrawOrder (  )  const [inline]

Definition at line 93 of file MercuryObjectBase.h.

bool MercuryObjectBase::operator< ( const MercuryObjectBase r  )  const [inline]

Definition at line 95 of file MercuryObjectBase.h.

bool MercuryObjectBase::operator>= ( const MercuryObjectBase r  )  const [inline]

Definition at line 96 of file MercuryObjectBase.h.

bool MercuryObjectBase::IsMatrixTainted (  )  const [inline]

Definition at line 98 of file MercuryObjectBase.h.

void MercuryObjectBase::SetMatrixTainted ( bool  taint  )  [inline]

Definition at line 99 of file MercuryObjectBase.h.

const MercuryMatrix& MercuryObjectBase::GetLocalMatrix (  )  const [inline]

Definition at line 100 of file MercuryObjectBase.h.

const MercuryMatrix& MercuryObjectBase::GetFinalMatrix (  )  const [inline]

Definition at line 101 of file MercuryObjectBase.h.

MercuryPoint MercuryObjectBase::GetTruePosition (  )  const

Definition at line 115 of file MercuryObjectBase.cpp.

Member Data Documentation

float MercuryObjectBase::m_fVisRadius [protected]

Visible radius; if negetive, do not attempt to frustum cull, otherwise frustum cull.

Definition at line 107 of file MercuryObjectBase.h.

bool MercuryObjectBase::m_hidden [protected]

Definition at line 109 of file MercuryObjectBase.h.

int MercuryObjectBase::m_drawOrder [protected]

Definition at line 110 of file MercuryObjectBase.h.

MercuryObjectBase* MercuryObjectBase::m_parentObject [protected]

Definition at line 112 of file MercuryObjectBase.h.

MercuryMatrix MercuryObjectBase::m_localMatrix [protected]

Definition at line 114 of file MercuryObjectBase.h.

MercuryMatrix MercuryObjectBase::m_finalMatrix [protected]

Definition at line 115 of file MercuryObjectBase.h.

MercuryPoint MercuryObjectBase::m_scale [protected]

Definition at line 118 of file MercuryObjectBase.h.

MercuryPoint MercuryObjectBase::m_position [protected]

Definition at line 119 of file MercuryObjectBase.h.

MercuryPoint MercuryObjectBase::m_rotation [protected]

Definition at line 120 of file MercuryObjectBase.h.

MercuryMatrix MercuryObjectBase::m_matrix [protected]

Definition at line 122 of file MercuryObjectBase.h.

MQuaternion MercuryObjectBase::m_rotQuat [protected]

Definition at line 123 of file MercuryObjectBase.h.

RotationMode MercuryObjectBase::m_rotMode [protected]

Definition at line 125 of file MercuryObjectBase.h.

float MercuryObjectBase::m_xalign [protected]

Definition at line 127 of file MercuryObjectBase.h.

float MercuryObjectBase::m_yalign [protected]

Definition at line 127 of file MercuryObjectBase.h.

bool MercuryObjectBase::m_taintedMatrix [protected]

Definition at line 129 of file MercuryObjectBase.h.

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