torque Torque Game Engine Documentation
TGE Version 1.5.2

SceneLighting::InteriorProxy Class Reference

#include <sgSceneLighting.h>

Inheritance diagram for SceneLighting::InteriorProxy:

Inheritance graph
[legend]

Public Member Functions

 InteriorProxy (SceneObject *obj)
 ~InteriorProxy ()
InteriorInstanceoperator-> ()
InteriorInstancegetObject ()
void sgClearSurfaces ()
void sgAddLight (LightInfo *light, InteriorInstance *interior)
void sgProcessSurface (sgSurfaceInfo &surfaceinfo)
void sgConvertStaticMeshPrimitiveToSurfaceInfo (const ConstructorSimpleMesh *staticmesh, U32 primitiveindex, Interior *detail, sgSurfaceInfo &surfaceinfo)
void sgConvertInteriorSurfaceToSurfaceInfo (const Interior::Surface &surface, U32 i, Interior *detail, sgSurfaceInfo &surfaceinfo)
void sgReorganizeSurface (sgSurfaceInfo &surfaceinfo)
void sgExtractLightingInformation (const Interior *detail, const PlaneF &lmEqX, const PlaneF &lmEqY, const PlaneF &surfplane, const Point2I &lmoff, const Point2I &lmext, const Point2I &lmsheetsize, Point3D &worldpos, Point3D &vectS, Point3D &vectT, Point2I &lmoffactual, Point2I &lmextactual)
bool loadResources ()
void init ()
bool preLight (LightInfo *)
void light (LightInfo *)
void postLight (bool lastLight)
U32 getResourceCRC ()
bool setPersistInfo (PersistInfo::PersistChunk *)
bool getPersistInfo (PersistInfo::PersistChunk *)

Data Fields

ShadowVolumeBSPmBoxShadowBSP
Vector< ShadowVolumeBSP::SVPoly * > mLitBoxSurfaces
Vector< PlaneFmOppositeBoxPlanes
Vector< PlaneFmTerrainTestPlanes
U32 sgCurrentSurfaceIndex
U32 sgSurfacesPerPass
InteriorInstancesgInterior
Vector< LightInfo * > sgLights
Vector< sgSurfaceInfo * > sgSurfaces

Private Types

typedef ObjectProxy Parent

Private Member Functions

bool isShadowedBy (InteriorProxy *)

Data Structures

struct  sgSurfaceInfo

Member Typedef Documentation


Constructor & Destructor Documentation

SceneLighting::InteriorProxy::InteriorProxy ( SceneObject obj  ) 

SceneLighting::InteriorProxy::~InteriorProxy (  ) 


Member Function Documentation

bool SceneLighting::InteriorProxy::isShadowedBy ( InteriorProxy  )  [private]

InteriorInstance* SceneLighting::InteriorProxy::operator-> (  )  [inline]

Reimplemented from SceneLighting::ObjectProxy.

InteriorInstance* SceneLighting::InteriorProxy::getObject (  )  [inline]

Reimplemented from SceneLighting::ObjectProxy.

void SceneLighting::InteriorProxy::sgClearSurfaces (  )  [inline]

void SceneLighting::InteriorProxy::sgAddLight ( LightInfo light,
InteriorInstance interior 
)

void SceneLighting::InteriorProxy::sgProcessSurface ( sgSurfaceInfo surfaceinfo  ) 

void SceneLighting::InteriorProxy::sgConvertStaticMeshPrimitiveToSurfaceInfo ( const ConstructorSimpleMesh staticmesh,
U32  primitiveindex,
Interior detail,
sgSurfaceInfo surfaceinfo 
)

void SceneLighting::InteriorProxy::sgConvertInteriorSurfaceToSurfaceInfo ( const Interior::Surface surface,
U32  i,
Interior detail,
sgSurfaceInfo surfaceinfo 
)

void SceneLighting::InteriorProxy::sgReorganizeSurface ( sgSurfaceInfo surfaceinfo  ) 

void SceneLighting::InteriorProxy::sgExtractLightingInformation ( const Interior detail,
const PlaneF lmEqX,
const PlaneF lmEqY,
const PlaneF surfplane,
const Point2I lmoff,
const Point2I lmext,
const Point2I lmsheetsize,
Point3D worldpos,
Point3D vectS,
Point3D vectT,
Point2I lmoffactual,
Point2I lmextactual 
)

bool SceneLighting::InteriorProxy::loadResources (  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

void SceneLighting::InteriorProxy::init (  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

bool SceneLighting::InteriorProxy::preLight ( LightInfo  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

void SceneLighting::InteriorProxy::light ( LightInfo  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

void SceneLighting::InteriorProxy::postLight ( bool  lastLight  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

U32 SceneLighting::InteriorProxy::getResourceCRC (  )  [virtual]

bool SceneLighting::InteriorProxy::setPersistInfo ( PersistInfo::PersistChunk  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

bool SceneLighting::InteriorProxy::getPersistInfo ( PersistInfo::PersistChunk  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen