MeshFaceData Class Reference

MeshFaceData Class Reference

#include <ihardwareshader.h>

+ Inheritance diagram for MeshFaceData:

Public Member Functions

 MeshFaceData ()
 

Public Attributes

DWORD_PTR id
 
int numFaces
 
GWFacefaces
 
Point3faceNor
 
GWFacenorFaces
 
DWORD mapFlags
 
int displayFlags
 
BitArrayfaceSel
 
BitArrayedgeSel
 
int numClrFaces [GFX_MAX_COLORS]
 
GWFaceclrFaces [GFX_MAX_COLORS]
 
int numTexFaces [GFX_MAX_TEXTURES]
 
GWFacetexFaces [GFX_MAX_TEXTURES]
 
int numXYZ
 
Point3xyz
 
int numNor
 
Point3nor
 
DWTabnorIndex
 
int numRGB [GFX_MAX_COLORS]
 
Point3rgb [GFX_MAX_COLORS]
 
int numUVW [GFX_MAX_TEXTURES]
 
Point3uvw [GFX_MAX_TEXTURES]
 
int numMat
 
MaterialmtlArray
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Constructor & Destructor Documentation

MeshFaceData ( )
inline
247  : id(NULL),
248  numFaces(0),
249  faces(NULL),
250  faceNor(NULL),
251  norFaces(NULL),
252  mapFlags(0),
253  displayFlags(0),
254  faceSel(NULL),
255  edgeSel(NULL),
256  numXYZ(0),
257  xyz(NULL),
258  numNor(0),
259  nor(NULL),
260  norIndex(NULL),
261  numMat(0),
262  mtlArray(NULL)
263  {
264  int kk;
265  for (kk = 0; kk < GFX_MAX_COLORS; kk++) {
266  numClrFaces[kk] = 0;
267  clrFaces[kk] = NULL;
268  numRGB[kk] = 0;
269  rgb[kk] = NULL;
270  }
271  for (kk = 0; kk < GFX_MAX_TEXTURES; kk++) {
272  numTexFaces[kk] = 0;
273  texFaces[kk] = NULL;
274  numUVW[kk] = 0;
275  uvw[kk] = NULL;
276  }
277  }
Material * mtlArray
Definition: ihardwareshader.h:244
DWTab * norIndex
Definition: ihardwareshader.h:238
Point3 * faceNor
Definition: ihardwareshader.h:224
BitArray * edgeSel
Definition: ihardwareshader.h:229
BitArray * faceSel
Definition: ihardwareshader.h:228
Point3 * nor
Definition: ihardwareshader.h:237
#define NULL
Definition: autoptr.h:18
int numTexFaces[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:232
GWFace * clrFaces[GFX_MAX_COLORS]
Definition: ihardwareshader.h:231
int numRGB[GFX_MAX_COLORS]
Definition: ihardwareshader.h:239
Point3 * uvw[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:242
GWFace * texFaces[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:233
int numUVW[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:241
#define GFX_MAX_COLORS
Definition: ihardwareshader.h:33
DWORD mapFlags
Definition: ihardwareshader.h:226
#define GFX_MAX_TEXTURES
Definition: GraphicsConstants.h:168
int numMat
Definition: ihardwareshader.h:243
GWFace * faces
Definition: ihardwareshader.h:223
int displayFlags
Definition: ihardwareshader.h:227
int numXYZ
Definition: ihardwareshader.h:234
DWORD_PTR id
Definition: ihardwareshader.h:221
Point3 * rgb[GFX_MAX_COLORS]
Definition: ihardwareshader.h:240
GWFace * norFaces
Definition: ihardwareshader.h:225
Point3 * xyz
Definition: ihardwareshader.h:235
int numNor
Definition: ihardwareshader.h:236
int numClrFaces[GFX_MAX_COLORS]
Definition: ihardwareshader.h:230
int numFaces
Definition: ihardwareshader.h:222

Member Data Documentation

DWORD_PTR id
int numFaces
GWFace* faces
Point3* faceNor
GWFace* norFaces
DWORD mapFlags
int displayFlags
BitArray* faceSel
BitArray* edgeSel
int numClrFaces[GFX_MAX_COLORS]
GWFace* clrFaces[GFX_MAX_COLORS]
int numTexFaces[GFX_MAX_TEXTURES]
int numXYZ
Point3* xyz
int numNor
Point3* nor
DWTab* norIndex
int numMat
Material* mtlArray