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

#include <BrushBSP.h>

Public Member Functions

 idBrushBSPPortal (void)
 
 ~idBrushBSPPortal (void)
 
void AddToNodes (idBrushBSPNode *front, idBrushBSPNode *back)
 
void RemoveFromNode (idBrushBSPNode *l)
 
void Flip (void)
 
int Split (const idPlane &splitPlane, idBrushBSPPortal **front, idBrushBSPPortal **back)
 
idWindingGetWinding (void) const
 
const idPlaneGetPlane (void) const
 
void SetFaceNum (int num)
 
int GetFaceNum (void) const
 
int GetFlags (void) const
 
void SetFlag (int flag)
 
void RemoveFlag (int flag)
 
idBrushBSPPortalNext (int side) const
 
idBrushBSPNodeGetNode (int side) const
 

Private Attributes

idPlane plane
 
int planeNum
 
idWindingwinding
 
idBrushBSPNodenodes [2]
 
idBrushBSPPortalnext [2]
 
int flags
 
int faceNum
 

Friends

class idBrushBSP
 
class idBrushBSPNode
 

Detailed Description

Definition at line 51 of file BrushBSP.h.

Constructor & Destructor Documentation

idBrushBSPPortal::idBrushBSPPortal ( void  )

Definition at line 58 of file BrushBSP.cpp.

idBrushBSPPortal::~idBrushBSPPortal ( void  )

Definition at line 72 of file BrushBSP.cpp.

Member Function Documentation

void idBrushBSPPortal::AddToNodes ( idBrushBSPNode front,
idBrushBSPNode back 
)

Definition at line 83 of file BrushBSP.cpp.

void idBrushBSPPortal::Flip ( void  )

Definition at line 149 of file BrushBSP.cpp.

int idBrushBSPPortal::GetFaceNum ( void  ) const
inline

Definition at line 66 of file BrushBSP.h.

int idBrushBSPPortal::GetFlags ( void  ) const
inline

Definition at line 67 of file BrushBSP.h.

idBrushBSPNode* idBrushBSPPortal::GetNode ( int  side) const
inline

Definition at line 71 of file BrushBSP.h.

const idPlane& idBrushBSPPortal::GetPlane ( void  ) const
inline

Definition at line 64 of file BrushBSP.h.

idWinding* idBrushBSPPortal::GetWinding ( void  ) const
inline

Definition at line 63 of file BrushBSP.h.

idBrushBSPPortal* idBrushBSPPortal::Next ( int  side) const
inline

Definition at line 70 of file BrushBSP.h.

void idBrushBSPPortal::RemoveFlag ( int  flag)
inline

Definition at line 69 of file BrushBSP.h.

void idBrushBSPPortal::RemoveFromNode ( idBrushBSPNode l)

Definition at line 104 of file BrushBSP.cpp.

void idBrushBSPPortal::SetFaceNum ( int  num)
inline

Definition at line 65 of file BrushBSP.h.

void idBrushBSPPortal::SetFlag ( int  flag)
inline

Definition at line 68 of file BrushBSP.h.

int idBrushBSPPortal::Split ( const idPlane splitPlane,
idBrushBSPPortal **  front,
idBrushBSPPortal **  back 
)

Definition at line 173 of file BrushBSP.cpp.

Friends And Related Function Documentation

friend class idBrushBSP
friend

Definition at line 53 of file BrushBSP.h.

friend class idBrushBSPNode
friend

Definition at line 54 of file BrushBSP.h.

Member Data Documentation

int idBrushBSPPortal::faceNum
private

Definition at line 80 of file BrushBSP.h.

int idBrushBSPPortal::flags
private

Definition at line 79 of file BrushBSP.h.

idBrushBSPPortal* idBrushBSPPortal::next[2]
private

Definition at line 78 of file BrushBSP.h.

idBrushBSPNode* idBrushBSPPortal::nodes[2]
private

Definition at line 77 of file BrushBSP.h.

idPlane idBrushBSPPortal::plane
private

Definition at line 74 of file BrushBSP.h.

int idBrushBSPPortal::planeNum
private

Definition at line 75 of file BrushBSP.h.

idWinding* idBrushBSPPortal::winding
private

Definition at line 76 of file BrushBSP.h.


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