3ds Max C++ API Reference
IMeshWrapper Class Referenceabstract

#include <IProjectionRenderHandler.h>

+ Inheritance diagram for IMeshWrapper:

Public Member Functions

virtual ~IMeshWrapper ()
 
virtual void DeleteThis ()=0
 
virtual int NumTriangles ()=0
 
virtual void Translate (int rawTriIndex, int &faceIndex, int &faceTriIndex)=0
 
virtual Matrix3 GetTM ()=0
 
virtual void SetTM (Matrix3 tm)=0
 
virtual GenTri GetTri (int triIndex)=0
 
virtual void GetTriPoints (int triIndex, GenTriPoints &triPoints)=0
 
virtual Point3 GetVert (int vertIndex)=0
 
virtual int NumVerts ()=0
 
virtual BOOL GetChannelSupport (int mapChannel)=0
 
virtual GenTri GetMapTri (int triIndex, int mapChannel)=0
 
virtual void GetMapTriPoints (int triIndex, int mapChannel, GenTriPoints &triPoints)=0
 
virtual Point3 GetMapVert (int vertIndex, int mapChannel)=0
 
virtual int NumMapVerts (int mapChannel)=0
 
virtual Point3 GetNormal (int triIndex)=0
 
virtual TangentBasis GetTangentBasis (int triIndex, int mapChannel)=0
 
virtual Point3 GetVertexNormal (int vertIndex, DWORD smGroup)=0
 
virtual TangentBasis GetVertexTangentBasis (int vertIndex, DWORD smGroup, int mapChannel)=0
 
virtual Point3 GetMapNormal (int triIndex, int mapChannel)=0
 
virtual MtlID GetMtlID (int triIndex)=0
 
virtual DWORD GetSmoothingGroup (int triIndex)=0
 
virtual void GetPoint (int triIndex, const Point3 &triBary, Point3 &point)=0
 
virtual void GetMapPoint (int triIndex, const Point3 &triBary, int mapChannel, Point3 &uvw)=0
 
virtual void GetNormal (int triIndex, const Point3 &triBary, Point3 &point)=0
 
virtual void GetTangentBasis (int triIndex, const Point3 &triBary, int mapChannel, TangentBasis &tangentBasis)=0
 

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

◆ ~IMeshWrapper()

virtual ~IMeshWrapper ( )
inlinevirtual
109 {;}

Member Function Documentation

◆ DeleteThis()

virtual void DeleteThis ( )
pure virtual

◆ NumTriangles()

virtual int NumTriangles ( )
pure virtual

◆ Translate()

virtual void Translate ( int  rawTriIndex,
int faceIndex,
int faceTriIndex 
)
pure virtual

◆ GetTM()

virtual Matrix3 GetTM ( )
pure virtual

◆ SetTM()

virtual void SetTM ( Matrix3  tm)
pure virtual

◆ GetTri()

virtual GenTri GetTri ( int  triIndex)
pure virtual

◆ GetTriPoints()

virtual void GetTriPoints ( int  triIndex,
GenTriPoints triPoints 
)
pure virtual

◆ GetVert()

virtual Point3 GetVert ( int  vertIndex)
pure virtual

◆ NumVerts()

virtual int NumVerts ( )
pure virtual

◆ GetChannelSupport()

virtual BOOL GetChannelSupport ( int  mapChannel)
pure virtual

◆ GetMapTri()

virtual GenTri GetMapTri ( int  triIndex,
int  mapChannel 
)
pure virtual

◆ GetMapTriPoints()

virtual void GetMapTriPoints ( int  triIndex,
int  mapChannel,
GenTriPoints triPoints 
)
pure virtual

◆ GetMapVert()

virtual Point3 GetMapVert ( int  vertIndex,
int  mapChannel 
)
pure virtual

◆ NumMapVerts()

virtual int NumMapVerts ( int  mapChannel)
pure virtual

◆ GetNormal() [1/2]

virtual Point3 GetNormal ( int  triIndex)
pure virtual

◆ GetTangentBasis() [1/2]

virtual TangentBasis GetTangentBasis ( int  triIndex,
int  mapChannel 
)
pure virtual

◆ GetVertexNormal()

virtual Point3 GetVertexNormal ( int  vertIndex,
DWORD  smGroup 
)
pure virtual

◆ GetVertexTangentBasis()

virtual TangentBasis GetVertexTangentBasis ( int  vertIndex,
DWORD  smGroup,
int  mapChannel 
)
pure virtual

◆ GetMapNormal()

virtual Point3 GetMapNormal ( int  triIndex,
int  mapChannel 
)
pure virtual

◆ GetMtlID()

virtual MtlID GetMtlID ( int  triIndex)
pure virtual

◆ GetSmoothingGroup()

virtual DWORD GetSmoothingGroup ( int  triIndex)
pure virtual

◆ GetPoint()

virtual void GetPoint ( int  triIndex,
const Point3 triBary,
Point3 point 
)
pure virtual

◆ GetMapPoint()

virtual void GetMapPoint ( int  triIndex,
const Point3 triBary,
int  mapChannel,
Point3 uvw 
)
pure virtual

◆ GetNormal() [2/2]

virtual void GetNormal ( int  triIndex,
const Point3 triBary,
Point3 point 
)
pure virtual

◆ GetTangentBasis() [2/2]

virtual void GetTangentBasis ( int  triIndex,
const Point3 triBary,
int  mapChannel,
TangentBasis tangentBasis 
)
pure virtual