3ds Max C++ API Reference
Loading...
Searching...
No Matches
IMesh Class Referenceabstract

Class IMesh describes the mesh to be used to compute the skin weights. More...

#include <geombind.h>

Public Member Functions

virtual SEEXPORT void appendVertex (float v0, float v1, float v2)=0
 This adds a vertex to the mesh.
 
virtual SEEXPORT void appendTriangle (unsigned i0, unsigned i1, unsigned i2)=0
 This adds a face to the mesh.
 

Static Public Member Functions

static SEEXPORT IMeshcreate ()
 This creates an instance of an IMesh

 
static SEEXPORT void dispose (IMesh *)
 This disposes an instance of an IMesh

 

Protected Member Functions

 IMesh ()
 
virtual ~IMesh ()=0
 

Detailed Description

Class IMesh describes the mesh to be used to compute the skin weights.

This is just triangle soup but the heatmap solver requires that this mesh be a manifold mesh and there are no checks here for that. So that needs to be handled before converting to an iMesh

Constructor & Destructor Documentation

◆ IMesh()

IMesh ( )
inlineprotected
91{ }

◆ ~IMesh()

virtual ~IMesh ( )
protectedpure virtual

Member Function Documentation

◆ create()

static SEEXPORT IMesh * create ( )
static

This creates an instance of an IMesh

◆ dispose()

static SEEXPORT void dispose ( IMesh )
static

This disposes an instance of an IMesh

◆ appendVertex()

virtual SEEXPORT void appendVertex ( float  v0,
float  v1,
float  v2 
)
pure virtual

This adds a vertex to the mesh.

Parameters
v0x component
v1y component
v2z component

◆ appendTriangle()

virtual SEEXPORT void appendTriangle ( unsigned  i0,
unsigned  i1,
unsigned  i2 
)
pure virtual

This adds a face to the mesh.

Parameters
i0the index of the first vertex of the face
i1the index of the second vertex of the face
i2the index of the third vertex of the face