3ds Max C++ API 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()

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  }
#define NULL
Definition: autoptr.h:18
DWORD mapFlags
Definition: ihardwareshader.h:226
int numMat
Definition: ihardwareshader.h:243
int numNor
Definition: ihardwareshader.h:236
DWORD_PTR id
Definition: ihardwareshader.h:221
int numRGB[GFX_MAX_COLORS]
Definition: ihardwareshader.h:239
int numFaces
Definition: ihardwareshader.h:222
BitArray * faceSel
Definition: ihardwareshader.h:228
GWFace * clrFaces[GFX_MAX_COLORS]
Definition: ihardwareshader.h:231
Point3 * faceNor
Definition: ihardwareshader.h:224
Point3 * uvw[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:242
int numClrFaces[GFX_MAX_COLORS]
Definition: ihardwareshader.h:230
BitArray * edgeSel
Definition: ihardwareshader.h:229
int numUVW[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:241
int numXYZ
Definition: ihardwareshader.h:234
int displayFlags
Definition: ihardwareshader.h:227
GWFace * faces
Definition: ihardwareshader.h:223
GWFace * texFaces[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:233
Material * mtlArray
Definition: ihardwareshader.h:244
Point3 * xyz
Definition: ihardwareshader.h:235
DWTab * norIndex
Definition: ihardwareshader.h:238
Point3 * nor
Definition: ihardwareshader.h:237
Point3 * rgb[GFX_MAX_COLORS]
Definition: ihardwareshader.h:240
GWFace * norFaces
Definition: ihardwareshader.h:225
int numTexFaces[GFX_MAX_TEXTURES]
Definition: ihardwareshader.h:232
#define GFX_MAX_TEXTURES
Definition: GraphicsConstants.h:174
#define GFX_MAX_COLORS
Definition: ihardwareshader.h:33

Member Data Documentation

◆ id

DWORD_PTR id

◆ numFaces

int numFaces

◆ faces

GWFace* faces

◆ faceNor

Point3* faceNor

◆ norFaces

GWFace* norFaces

◆ mapFlags

DWORD mapFlags

◆ displayFlags

int displayFlags

◆ faceSel

BitArray* faceSel

◆ edgeSel

BitArray* edgeSel

◆ numClrFaces

int numClrFaces[GFX_MAX_COLORS]

◆ clrFaces

GWFace* clrFaces[GFX_MAX_COLORS]

◆ numTexFaces

int numTexFaces[GFX_MAX_TEXTURES]

◆ texFaces

◆ numXYZ

int numXYZ

◆ xyz

Point3* xyz

◆ numNor

int numNor

◆ nor

Point3* nor

◆ norIndex

DWTab* norIndex

◆ numRGB

◆ rgb

◆ numUVW

◆ uvw

◆ numMat

int numMat

◆ mtlArray

Material* mtlArray