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

#include <Brush.h>

Public Member Functions

 idBrushList (void)
 
 ~idBrushList (void)
 
int Num (void) const
 
int NumSides (void) const
 
idBrushHead (void) const
 
idBrushTail (void) const
 
void Clear (void)
 
bool IsEmpty (void) const
 
idBounds GetBounds (void) const
 
void AddToTail (idBrush *brush)
 
void AddToTail (idBrushList &list)
 
void AddToFront (idBrush *brush)
 
void AddToFront (idBrushList &list)
 
void Remove (idBrush *brush)
 
void Delete (idBrush *brush)
 
idBrushListCopy (void) const
 
void Free (void)
 
void Split (const idPlane &plane, int planeNum, idBrushList &frontList, idBrushList &backList, bool useBrushSavedPlaneSide=false)
 
void Chop (bool(*ChopAllowed)(idBrush *b1, idBrush *b2))
 
void Merge (bool(*MergeAllowed)(idBrush *b1, idBrush *b2))
 
void SetFlagOnFacingBrushSides (const idPlane &plane, int flag)
 
void CreatePlaneList (idPlaneSet &planeList) const
 
void WriteBrushMap (const idStr &fileName, const idStr &ext) const
 

Private Attributes

idBrushhead
 
idBrushtail
 
int numBrushes
 
int numBrushSides
 

Detailed Description

Definition at line 161 of file Brush.h.

Constructor & Destructor Documentation

idBrushList::idBrushList ( void  )

Definition at line 1021 of file Brush.cpp.

idBrushList::~idBrushList ( void  )

Definition at line 1031 of file Brush.cpp.

Member Function Documentation

void idBrushList::AddToFront ( idBrush brush)

Definition at line 1098 of file Brush.cpp.

void idBrushList::AddToFront ( idBrushList list)

Definition at line 1113 of file Brush.cpp.

void idBrushList::AddToTail ( idBrush brush)

Definition at line 1055 of file Brush.cpp.

void idBrushList::AddToTail ( idBrushList list)

Definition at line 1073 of file Brush.cpp.

void idBrushList::Chop ( bool(*)(idBrush *b1, idBrush *b2)  ChopAllowed)

Definition at line 1268 of file Brush.cpp.

void idBrushList::Clear ( void  )
inline

Definition at line 170 of file Brush.h.

idBrushList * idBrushList::Copy ( void  ) const

Definition at line 1192 of file Brush.cpp.

void idBrushList::CreatePlaneList ( idPlaneSet planeList) const

Definition at line 1466 of file Brush.cpp.

void idBrushList::Delete ( idBrush brush)

Definition at line 1163 of file Brush.cpp.

void idBrushList::Free ( void  )

Definition at line 1209 of file Brush.cpp.

idBounds idBrushList::GetBounds ( void  ) const

Definition at line 1039 of file Brush.cpp.

idBrush* idBrushList::Head ( void  ) const
inline

Definition at line 168 of file Brush.h.

bool idBrushList::IsEmpty ( void  ) const
inline

Definition at line 171 of file Brush.h.

void idBrushList::Merge ( bool(*)(idBrush *b1, idBrush *b2)  MergeAllowed)

Definition at line 1397 of file Brush.cpp.

int idBrushList::Num ( void  ) const
inline

Definition at line 166 of file Brush.h.

int idBrushList::NumSides ( void  ) const
inline

Definition at line 167 of file Brush.h.

void idBrushList::Remove ( idBrush brush)

Definition at line 1135 of file Brush.cpp.

void idBrushList::SetFlagOnFacingBrushSides ( const idPlane plane,
int  flag 
)

Definition at line 1437 of file Brush.cpp.

void idBrushList::Split ( const idPlane plane,
int  planeNum,
idBrushList frontList,
idBrushList backList,
bool  useBrushSavedPlaneSide = false 
)

Definition at line 1225 of file Brush.cpp.

idBrush* idBrushList::Tail ( void  ) const
inline

Definition at line 169 of file Brush.h.

void idBrushList::WriteBrushMap ( const idStr fileName,
const idStr ext 
) const

Definition at line 1485 of file Brush.cpp.

Member Data Documentation

idBrush* idBrushList::head
private

Definition at line 203 of file Brush.h.

int idBrushList::numBrushes
private

Definition at line 205 of file Brush.h.

int idBrushList::numBrushSides
private

Definition at line 206 of file Brush.h.

idBrush* idBrushList::tail
private

Definition at line 204 of file Brush.h.


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