Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
AABTreeClass Class Reference

#include <aabtree.h>

Inherits W3DMPO, and RefCountClass.

Public Member Functions

 AABTreeClass (void)
 
 AABTreeClass (AABTreeBuilderClass *builder)
 
 AABTreeClass (const AABTreeClass &that)
 
 ~AABTreeClass (void)
 
void Load_W3D (ChunkLoadClass &cload)
 
void Scale (float scale)
 
int Get_Node_Count (void)
 
int Get_Poly_Count (void)
 
int Compute_Ram_Size (void)
 
void Generate_APT (const OBBoxClass &box, SimpleDynVecClass< uint32 > &apt)
 
void Generate_APT (const OBBoxClass &box, const Vector3 &viewdir, SimpleDynVecClass< uint32 > &apt)
 
bool Cast_Ray (RayCollisionTestClass &raytest)
 
int Cast_Semi_Infinite_Axis_Aligned_Ray (const Vector3 &start_point, int axis_dir, unsigned char &flags)
 
bool Cast_AABox (AABoxCollisionTestClass &boxtest)
 
bool Cast_OBBox (OBBoxCollisionTestClass &boxtest)
 
bool Intersect_OBBox (OBBoxIntersectionTestClass &boxtest)
 
void Set_Mesh (MeshGeometryClass *mesh)
 
- Public Member Functions inherited from W3DMPO
virtual ~W3DMPO ()
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Friends

class MeshClass
 
class MeshGeometryClass
 
class AuxMeshDataClass
 
class AABTreeBuilderClass
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Member Functions inherited from W3DMPO
virtual int glueEnforcer () const =0
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Detailed Description

Definition at line 88 of file aabtree.h.

Constructor & Destructor Documentation

◆ AABTreeClass() [1/3]

AABTreeClass::AABTreeClass ( void )

Definition at line 89 of file aabtree.cpp.

◆ AABTreeClass() [2/3]

AABTreeClass::AABTreeClass ( AABTreeBuilderClass * builder)

Definition at line 113 of file aabtree.cpp.

◆ AABTreeClass() [3/3]

AABTreeClass::AABTreeClass ( const AABTreeClass & that)

Definition at line 138 of file aabtree.cpp.

◆ ~AABTreeClass()

AABTreeClass::~AABTreeClass ( void )

Definition at line 160 of file aabtree.cpp.

Member Function Documentation

◆ Cast_AABox()

bool AABTreeClass::Cast_AABox ( AABoxCollisionTestClass & boxtest)
inline

Definition at line 262 of file aabtree.h.

◆ Cast_OBBox()

bool AABTreeClass::Cast_OBBox ( OBBoxCollisionTestClass & boxtest)
inline

Definition at line 268 of file aabtree.h.

◆ Cast_Ray()

bool AABTreeClass::Cast_Ray ( RayCollisionTestClass & raytest)
inline

Definition at line 231 of file aabtree.h.

◆ Cast_Semi_Infinite_Axis_Aligned_Ray()

int AABTreeClass::Cast_Semi_Infinite_Axis_Aligned_Ray ( const Vector3 & start_point,
int axis_dir,
unsigned char & flags )
inline

Definition at line 237 of file aabtree.h.

◆ Compute_Ram_Size()

int AABTreeClass::Compute_Ram_Size ( void )
inline

Definition at line 224 of file aabtree.h.

◆ Generate_APT() [1/2]

void AABTreeClass::Generate_APT ( const OBBoxClass & box,
const Vector3 & viewdir,
SimpleDynVecClass< uint32 > & apt )

Definition at line 430 of file aabtree.cpp.

◆ Generate_APT() [2/2]

void AABTreeClass::Generate_APT ( const OBBoxClass & box,
SimpleDynVecClass< uint32 > & apt )

Definition at line 337 of file aabtree.cpp.

◆ Get_Node_Count()

int AABTreeClass::Get_Node_Count ( void )
inline

Definition at line 103 of file aabtree.h.

◆ Get_Poly_Count()

int AABTreeClass::Get_Poly_Count ( void )
inline

Definition at line 104 of file aabtree.h.

◆ Intersect_OBBox()

bool AABTreeClass::Intersect_OBBox ( OBBoxIntersectionTestClass & boxtest)
inline

Definition at line 274 of file aabtree.h.

◆ Load_W3D()

void AABTreeClass::Load_W3D ( ChunkLoadClass & cload)

Definition at line 1154 of file aabtree.cpp.

◆ Scale()

void AABTreeClass::Scale ( float scale)

Definition at line 240 of file aabtree.cpp.

◆ Set_Mesh()

void AABTreeClass::Set_Mesh ( MeshGeometryClass * mesh)

Definition at line 318 of file aabtree.cpp.

Friends And Related Symbol Documentation

◆ AABTreeBuilderClass

friend class AABTreeBuilderClass
friend

Definition at line 220 of file aabtree.h.

◆ AuxMeshDataClass

friend class AuxMeshDataClass
friend

Definition at line 219 of file aabtree.h.

◆ MeshClass

friend class MeshClass
friend

Definition at line 217 of file aabtree.h.

◆ MeshGeometryClass

friend class MeshGeometryClass
friend

Definition at line 218 of file aabtree.h.


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