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

#include <snapPts.h>

Inherits DynamicVectorClass< Vector3 >, and RefCountClass.

Public Member Functions

WW3DErrorType Load_W3D (ChunkLoadClass &cload)
 
- Public Member Functions inherited from DynamicVectorClass< Vector3 >
 DynamicVectorClass (unsigned size=0, Vector3 const *array=0)
 
 DynamicVectorClass (unsigned size=0, Vector3 const *array=0)
 
bool operator== (const DynamicVectorClass &src)
 
bool operator!= (const DynamicVectorClass &src)
 
virtual bool Resize (int newsize, Vector3 const *array=0)
 
virtual bool Resize (int newsize, Vector3 const *array=0)
 
virtual void Clear (void)
 
virtual void Clear (void)
 
void Reset_Active (void)
 
void Set_Active (int count)
 
int Count (void) const
 
int Count (void) const
 
bool Add (Vector3 const &object)
 
bool Add (Vector3 const &object)
 
bool Add_Head (Vector3 const &object)
 
bool Add_Head (Vector3 const &object)
 
bool Insert (int index, Vector3 const &object)
 
bool Delete (Vector3 const &object)
 
bool Delete (int index)
 
bool Delete (Vector3 const &object)
 
bool Delete (int index)
 
bool Delete_Index (int index)
 
void Delete_All (void)
 
void Delete_All (void)
 
int Set_Growth_Step (int step)
 
int Set_Growth_Step (int step)
 
int Growth_Step (void)
 
int Growth_Step (void)
 
virtual int ID (Vector3 const *ptr)
 
virtual int ID (Vector3 const &ptr)
 
virtual int ID (Vector3 const *ptr)
 
virtual int ID (Vector3 const &ptr)
 
DynamicVectorClass< Vector3 > & operator= (DynamicVectorClass< Vector3 > const &rvalue)
 
DynamicVectorClass< Vector3 > & operator= (DynamicVectorClass< Vector3 > const &rvalue)
 
Vector3Uninitialized_Add (void)
 
Vector3Uninitialized_Add (void)
 
- Public Member Functions inherited from VectorClass< Vector3 >
WWINLINE VectorClass (NoInitClass const &)
 
 VectorClass (int size=0, Vector3 const *array=0)
 
 VectorClass (VectorClass< Vector3 > const &)
 
 VectorClass (NoInitClass const &)
 
 VectorClass (int size=0, Vector3 const *array=0)
 
 VectorClass (VectorClass< Vector3 > const &)
 
virtual ~VectorClass (void)
 
virtual ~VectorClass (void)
 
WWINLINE Vector3operator[] (int index)
 
WWINLINE Vector3 const & operator[] (int index) const
 
Vector3operator[] (int index)
 
Vector3 const & operator[] (int index) const
 
VectorClass< Vector3 > & operator= (VectorClass< Vector3 > const &)
 
VectorClass< Vector3 > & operator= (VectorClass< Vector3 > const &)
 
virtual bool operator== (VectorClass< Vector3 > const &) const
 
virtual bool operator== (VectorClass< Vector3 > const &) const
 
WWINLINE int Length (void) const
 
int Length (void) const
 
- 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)
 

Static Public Member Functions

static void Export_Points (INode *scene_root, TimeValue time, ChunkSaveClass &csave)
 
- 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)
 

Protected Member Functions

 ~SnapPointsClass (void)
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Additional Inherited Members

- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Attributes inherited from DynamicVectorClass< Vector3 >
int ActiveCount
 
int GrowthStep
 
- Protected Attributes inherited from VectorClass< Vector3 >
Vector3Vector
 
int VectorMax
 
bool IsValid
 
bool IsAllocated
 
bool VectorClassPad [2]
 

Detailed Description

Definition at line 52 of file snapPts.h.

Constructor & Destructor Documentation

◆ ~SnapPointsClass()

SnapPointsClass::~SnapPointsClass ( void )
inlineprotected

Definition at line 60 of file snapPts.h.

Member Function Documentation

◆ Export_Points()

void SnapPointsClass::Export_Points ( INode * scene_root,
TimeValue time,
ChunkSaveClass & csave )
static

Definition at line 74 of file SnapPoints.cpp.

◆ Load_W3D()

WW3DErrorType SnapPointsClass::Load_W3D ( ChunkLoadClass & cload)

Definition at line 42 of file snappts.cpp.


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