doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
idInteraction Class Reference

#include <Interaction.h>

Public Member Functions

 idInteraction (void)
 
void UnlinkAndFree (void)
 
void FreeSurfaces (void)
 
void MakeEmpty (void)
 
bool IsEmpty (void) const
 
bool IsDeferred (void) const
 
bool HasShadows (void) const
 
int MemoryUsed (void)
 
void AddActiveInteraction (void)
 

Static Public Member Functions

static idInteractionAllocAndLink (idRenderEntityLocal *edef, idRenderLightLocal *ldef)
 

Public Attributes

int numSurfaces
 
surfaceInteraction_tsurfaces
 
idRenderEntityLocalentityDef
 
idRenderLightLocallightDef
 
idInteractionlightNext
 
idInteractionlightPrev
 
idInteractionentityNext
 
idInteractionentityPrev
 

Private Types

enum  { FRUSTUM_UNINITIALIZED, FRUSTUM_INVALID, FRUSTUM_VALID, FRUSTUM_VALIDAREAS }
 

Private Member Functions

void CreateInteraction (const idRenderModel *model)
 
void Unlink (void)
 
bool CullInteractionByViewFrustum (const idFrustum &viewFrustum)
 
idScreenRect CalcInteractionScissorRectangle (const idFrustum &viewFrustum)
 

Private Attributes

enum idInteraction:: { ... }  frustumState
 
idFrustum frustum
 
areaNumRef_tfrustumAreas
 
int dynamicModelFrameCount
 

Detailed Description

Definition at line 93 of file Interaction.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
FRUSTUM_UNINITIALIZED 
FRUSTUM_INVALID 
FRUSTUM_VALID 
FRUSTUM_VALIDAREAS 

Definition at line 150 of file Interaction.h.

Constructor & Destructor Documentation

idInteraction::idInteraction ( void  )

Definition at line 440 of file Interaction.cpp.

Member Function Documentation

void idInteraction::AddActiveInteraction ( void  )

Definition at line 1024 of file Interaction.cpp.

idInteraction * idInteraction::AllocAndLink ( idRenderEntityLocal edef,
idRenderLightLocal ldef 
)
static

Definition at line 459 of file Interaction.cpp.

idScreenRect idInteraction::CalcInteractionScissorRectangle ( const idFrustum viewFrustum)
private

Definition at line 686 of file Interaction.cpp.

void idInteraction::CreateInteraction ( const idRenderModel model)
private

Definition at line 823 of file Interaction.cpp.

bool idInteraction::CullInteractionByViewFrustum ( const idFrustum viewFrustum)
private

Definition at line 766 of file Interaction.cpp.

void idInteraction::FreeSurfaces ( void  )

Definition at line 520 of file Interaction.cpp.

ID_INLINE bool idInteraction::HasShadows ( void  ) const

Definition at line 656 of file Interaction.cpp.

bool idInteraction::IsDeferred ( void  ) const
inline

Definition at line 136 of file Interaction.h.

bool idInteraction::IsEmpty ( void  ) const
inline

Definition at line 133 of file Interaction.h.

void idInteraction::MakeEmpty ( void  )

Definition at line 623 of file Interaction.cpp.

int idInteraction::MemoryUsed ( void  )

Definition at line 668 of file Interaction.cpp.

void idInteraction::Unlink ( void  )
private

Definition at line 553 of file Interaction.cpp.

void idInteraction::UnlinkAndFree ( void  )

Definition at line 589 of file Interaction.cpp.

Member Data Documentation

int idInteraction::dynamicModelFrameCount
private

Definition at line 159 of file Interaction.h.

idRenderEntityLocal* idInteraction::entityDef

Definition at line 105 of file Interaction.h.

idInteraction* idInteraction::entityNext

Definition at line 110 of file Interaction.h.

idInteraction* idInteraction::entityPrev

Definition at line 111 of file Interaction.h.

idFrustum idInteraction::frustum
private

Definition at line 156 of file Interaction.h.

areaNumRef_t* idInteraction::frustumAreas
private

Definition at line 157 of file Interaction.h.

enum { ... } idInteraction::frustumState
idRenderLightLocal* idInteraction::lightDef

Definition at line 106 of file Interaction.h.

idInteraction* idInteraction::lightNext

Definition at line 108 of file Interaction.h.

idInteraction* idInteraction::lightPrev

Definition at line 109 of file Interaction.h.

int idInteraction::numSurfaces

Definition at line 97 of file Interaction.h.

surfaceInteraction_t* idInteraction::surfaces

Definition at line 102 of file Interaction.h.


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