LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::MeshInfo Class Reference

#include <meshinfo.h>

List of all members.

Public Member Functions

 MeshInfo (const LWMeshInfoID _mesh=0, bool _destroy=false)
 ~MeshInfo (void)
LWMeshIteratorID createMeshIterator (int type)
void destroyMeshIterator (LWMeshIteratorID mid)
bool isValid (void) const
LWPolID iterateMesh (LWMeshIteratorID mid)
LWPntID iterateMeshPnt (LWMeshIteratorID mid)
int numPoints (void) const
int numPolygons (void) const
void pntBasePos (LWPntID pnt, LWFVector pos) const
void pntOtherPos (LWPntID pnt, LWFVector pos) const
void pntOtherPos (LWPntID pnt, LWDVector pos) const
bool pntVGet (LWPntID pnt, float *vector) const
int pntVIDGet (LWPntID pnt, float *vector, void *vmap) const
void * pntVLookup (LWID id, const char *name) const
void * pntVLookup (LWID id, const std::string &name) const
bool pntVPGet (LWPntID pnt, LWPolID pol, float *vector) const
int pntVPIDGet (LWPntID pnt, LWPolID pol, float *vector, void *vmap) const
int pntVSelect (void *vmap) const
bool polBaseNormal (LWPolID polID, LWFVector out)
unsigned int polFlags (LWPolID pol) const
bool polOtherNormal (LWPolID polID, LWFVector out)
int polSize (LWPolID id) const
const char * polTag (LWPolID id, LWID tag) const
LWID polType (LWPolID id) const
LWPntID polVertex (LWPolID id, int n) const
void resetMeshIterator (LWMeshIteratorID mid)
size_t scanPoints (LWPntScanFunc *func, void *userData) const
size_t scanPolys (LWPolScanFunc *func, void *userData) const
int scanPolys (MeshPolygonScan *scanner)
void setMeshInfo (const LWMeshInfoID _mesh)

Protected Member Functions

 MeshInfo (const MeshInfo &from)
MeshInfooperator= (const MeshInfo &from)

Protected Attributes

const bool destroy
LWMeshInfoID mesh

Detailed Description

Wrapper for a LWMeshInfo


Constructor & Destructor Documentation

lwpp::MeshInfo::MeshInfo ( const MeshInfo from)
inlineprotected
lwpp::MeshInfo::MeshInfo ( const LWMeshInfoID  _mesh = 0,
bool  _destroy = false 
)
inline
Parameters:
_meshA LWMeshInfoID as passed on by LightWave
_destroyDo a mesh destroy when the class gets deleted. Only recommended for the class that directly receives the LWMeshInfo from LightWave.
lwpp::MeshInfo::~MeshInfo ( void  )
inline

Member Function Documentation

LWMeshIteratorID lwpp::MeshInfo::createMeshIterator ( int  type)
inline
void lwpp::MeshInfo::destroyMeshIterator ( LWMeshIteratorID  mid)
inline
bool lwpp::MeshInfo::isValid ( void  ) const
inline
LWPolID lwpp::MeshInfo::iterateMesh ( LWMeshIteratorID  mid)
inline
LWPntID lwpp::MeshInfo::iterateMeshPnt ( LWMeshIteratorID  mid)
inline
int lwpp::MeshInfo::numPoints ( void  ) const
inline
int lwpp::MeshInfo::numPolygons ( void  ) const
inline
MeshInfo& lwpp::MeshInfo::operator= ( const MeshInfo from)
inlineprotected
void lwpp::MeshInfo::pntBasePos ( LWPntID  pnt,
LWFVector  pos 
) const
inline
void lwpp::MeshInfo::pntOtherPos ( LWPntID  pnt,
LWFVector  pos 
) const
inline
void lwpp::MeshInfo::pntOtherPos ( LWPntID  pnt,
LWDVector  pos 
) const
inline
bool lwpp::MeshInfo::pntVGet ( LWPntID  pnt,
float *  vector 
) const
inline
int lwpp::MeshInfo::pntVIDGet ( LWPntID  pnt,
float *  vector,
void *  vmap 
) const
inline
void* lwpp::MeshInfo::pntVLookup ( LWID  id,
const char *  name 
) const
inline
void* lwpp::MeshInfo::pntVLookup ( LWID  id,
const std::string &  name 
) const
inline
bool lwpp::MeshInfo::pntVPGet ( LWPntID  pnt,
LWPolID  pol,
float *  vector 
) const
inline
int lwpp::MeshInfo::pntVPIDGet ( LWPntID  pnt,
LWPolID  pol,
float *  vector,
void *  vmap 
) const
inline
int lwpp::MeshInfo::pntVSelect ( void *  vmap) const
inline
bool lwpp::MeshInfo::polBaseNormal ( LWPolID  polID,
LWFVector  out 
)
inline
unsigned int lwpp::MeshInfo::polFlags ( LWPolID  pol) const
inline
bool lwpp::MeshInfo::polOtherNormal ( LWPolID  polID,
LWFVector  out 
)
inline
int lwpp::MeshInfo::polSize ( LWPolID  id) const
inline
const char* lwpp::MeshInfo::polTag ( LWPolID  id,
LWID  tag 
) const
inline
LWID lwpp::MeshInfo::polType ( LWPolID  id) const
inline
LWPntID lwpp::MeshInfo::polVertex ( LWPolID  id,
int  n 
) const
inline
void lwpp::MeshInfo::resetMeshIterator ( LWMeshIteratorID  mid)
inline
size_t lwpp::MeshInfo::scanPoints ( LWPntScanFunc *  func,
void *  userData 
) const
inline
size_t lwpp::MeshInfo::scanPolys ( LWPolScanFunc *  func,
void *  userData 
) const
inline
int lwpp::MeshInfo::scanPolys ( MeshPolygonScan scanner)
void lwpp::MeshInfo::setMeshInfo ( const LWMeshInfoID  _mesh)
inline

Member Data Documentation

const bool lwpp::MeshInfo::destroy
protected
LWMeshInfoID lwpp::MeshInfo::mesh
protected

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