raSystem  1.0 bata
raRender Class Reference

#include <raRender.h>

Inheritance diagram for raRender:
raNode raSystem::raCEGUI raVisual raAnimatedNode raEntity< VertexType, bIndexed, IndexType > raEntity< CUBEMAPVERTEX > raEntity< POINTSPRITEVERTEX, false > raEntity< VERTEXPOSITION, false > raEntity< VERTEXPOSITIONCOLOR > raEntity< VERTEXPOSITIONCOLOR, false > raEntity< VERTEXPOSITIONNORMALTEXTURED > raEntity< VERTEXPOSITIONNORMALTEXTURED, true, UINT32 > raEntity< VERTEXPOSITIONTEXTURED > raEntitySDKMesh raGPUParticleSystem raGroup raSystem::raSDKMesh raWater

Public Member Functions

 raRender (raSmartPointer< raDirectX > dx, const raMatrix *mWorld=NULL, LPCSTR Name="Render")
 
virtual ~raRender (void)
 
virtual bool Create ()
 
virtual void Destroy ()
 
virtual bool Render (UINT drawOrder, const raMatrix &pView, const raMatrix &pProj, const raLight *pLight, LPCSTR techniqueName="")
 
virtual bool Update (float fTime, float fRunTime)
 
LPCSTR GetName ()
 
void SetName (LPCSTR Name)
 
virtual void SetVisible (bool bVisible)
 
virtual void SetSelected (bool bSelected)
 
virtual void SetWorldMatrix (const raMatrix &value)
 
virtual raMatrixGetWorldMatrix (void)
 
virtual const float GetBoundingsphereRadius ()
 
virtual bool Intersects (const raVector3 *pRayPos, const raVector3 *pRayDir, float *pDist)
 

Protected Attributes

raSmartPointer< raDirectXm_dx
 
raMatrix m_World
 
LPCSTR m_Name
 

Friends

bool operator== (const raRender &a, const raRender &b)
 

Detailed Description

Definition at line 3 of file raRender.h.

Constructor & Destructor Documentation

◆ raRender()

raRender::raRender ( raSmartPointer< raDirectX dx,
const raMatrix mWorld = NULL,
LPCSTR  Name = "Render" 
)

Definition at line 5 of file raRender.cpp.

◆ ~raRender()

virtual raRender::~raRender ( void  )
inlinevirtual

Definition at line 9 of file raRender.h.

Member Function Documentation

◆ Create()

virtual bool raRender::Create ( void  )
inlinevirtual

Reimplemented in raNode, raVisual, raGroup, raTree, raSystem::raCEGUI, and raGSEntity.

Definition at line 11 of file raRender.h.

◆ Destroy()

virtual void raRender::Destroy ( void  )
inlinevirtual

Reimplemented in raNode, raVisual, raSystem::raMeshFile, raGroup, raTree, raSystem::raCEGUI, raGSEntity, and raMinimap.

Definition at line 12 of file raRender.h.

◆ GetBoundingsphereRadius()

virtual const float raRender::GetBoundingsphereRadius ( )
inlinevirtual

Reimplemented in raVisual, and raSystem::raCEGUI.

Definition at line 27 of file raRender.h.

◆ GetName()

LPCSTR raRender::GetName ( )
inline

Definition at line 19 of file raRender.h.

◆ GetWorldMatrix()

raMatrix * raRender::GetWorldMatrix ( void  )
virtual

Reimplemented in raNode.

Definition at line 14 of file raRender.cpp.

◆ Intersects()

◆ Render()

virtual bool raRender::Render ( UINT  drawOrder,
const raMatrix pView,
const raMatrix pProj,
const raLight pLight,
LPCSTR  techniqueName = "" 
)
inlinevirtual

Reimplemented in raVisual, raNode, raTree, and raSystem::raCEGUI.

Definition at line 14 of file raRender.h.

◆ SetName()

void raRender::SetName ( LPCSTR  Name)
inline

Definition at line 20 of file raRender.h.

◆ SetSelected()

virtual void raRender::SetSelected ( bool  bSelected)
inlinevirtual

Reimplemented in raVisual, raNode, and raSystem::raCEGUI.

Definition at line 23 of file raRender.h.

◆ SetVisible()

virtual void raRender::SetVisible ( bool  bVisible)
inlinevirtual

Reimplemented in raVisual, raNode, and raSystem::raCEGUI.

Definition at line 22 of file raRender.h.

◆ SetWorldMatrix()

void raRender::SetWorldMatrix ( const raMatrix value)
virtual

Reimplemented in raGroup, and raNode.

Definition at line 13 of file raRender.cpp.

◆ Update()

virtual bool raRender::Update ( float  fTime,
float  fRunTime 
)
inlinevirtual

Reimplemented in raParticleSystem, raNode, raGPUParticleSystem, raSystem::raCEGUI, and raWater.

Definition at line 17 of file raRender.h.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const raRender a,
const raRender b 
)
friend

Definition at line 37 of file raRender.h.

Member Data Documentation

◆ m_dx

raSmartPointer<raDirectX> raRender::m_dx
protected

Definition at line 30 of file raRender.h.

◆ m_Name

LPCSTR raRender::m_Name
protected

Definition at line 35 of file raRender.h.

◆ m_World

raMatrix raRender::m_World
protected

Definition at line 34 of file raRender.h.


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