Neo  0.5.0
Developer Documentation
Neo::SubMesh Class Reference

#include <Mesh.h>

Public Member Functions

 SubMesh (void)
 
 ~SubMesh (void)
 
void clearMorphingData (void)
 
MorphingDatacreateMorphingData (void)
 
MorphingDatagetMorphingData (void)
 
void clearSkinData (void)
 
SkinDatacreateSkinData (void)
 
SkinDatagetSkinData (void)
 
void clearIndices (void)
 
void clearVertices (void)
 
void clearNormals (void)
 
void clearTangents (void)
 
void clearTexCoords (void)
 
void clearColors (void)
 
void * allocIndices (unsigned int size, VAR_TYPES type)
 
ColorallocColors (unsigned int size)
 
Vector3allocVertices (unsigned int size)
 
Vector3allocNormals (unsigned int size)
 
Vector3allocTangents (unsigned int size)
 
Vector2allocTexCoords (unsigned int size)
 
unsigned int getIndicesSize (void)
 
unsigned int getVerticesSize (void)
 
unsigned int getNormalsSize (void)
 
unsigned int getTangentsSize (void)
 
unsigned int getTexCoordsSize (void)
 
unsigned int getColorsSize (void)
 
VAR_TYPES getIndicesType (void)
 
void * getIndices (void)
 
ColorgetColors (void)
 
Vector3getVertices (void)
 
Vector3getNormals (void)
 
Vector3getTangents (void)
 
Vector2getTexCoords (void)
 
Vector3getSkinVertices (void)
 
Vector3getSkinNormals (void)
 
Vector3getSkinTangents (void)
 
Vector3getVertex (size_t idx)
 
unsigned int getIndex (size_t idx)
 
void clearVBO (void)
 
unsigned int * getVBOid1 (void)
 
unsigned int * getVBOid2 (void)
 
void clearMapChannelOffset (void)
 
void setMapChannelOffset (unsigned int channel, unsigned int offset)
 
bool isMapChannelExist (unsigned int channel)
 
unsigned int getMapChannelOffset (unsigned int channel)
 
map< unsigned int, unsigned int > * getMapChannelOffsets (void)
 
void allocDisplays (unsigned int size)
 
void clearDisplays (void)
 
MaterialDisplayaddNewDisplay (PRIMITIVE_TYPES primitiveType, unsigned int begin, unsigned int size)
 
unsigned int getDisplaysNumber (void)
 
MaterialDisplaygetDisplay (unsigned int id)
 
Box3dgetBoundingBox (void)
 
bool hasTransparency (void)
 

Constructor & Destructor Documentation

Neo::SubMesh::SubMesh ( void  )
Neo::SubMesh::~SubMesh ( void  )

Member Function Documentation

MaterialDisplay* Neo::SubMesh::addNewDisplay ( PRIMITIVE_TYPES  primitiveType,
unsigned int  begin,
unsigned int  size 
)
Color* Neo::SubMesh::allocColors ( unsigned int  size)
void Neo::SubMesh::allocDisplays ( unsigned int  size)
void* Neo::SubMesh::allocIndices ( unsigned int  size,
VAR_TYPES  type 
)
Vector3* Neo::SubMesh::allocNormals ( unsigned int  size)
Vector3* Neo::SubMesh::allocTangents ( unsigned int  size)
Vector2* Neo::SubMesh::allocTexCoords ( unsigned int  size)
Vector3* Neo::SubMesh::allocVertices ( unsigned int  size)
void Neo::SubMesh::clearColors ( void  )
void Neo::SubMesh::clearDisplays ( void  )
void Neo::SubMesh::clearIndices ( void  )
void Neo::SubMesh::clearMapChannelOffset ( void  )
void Neo::SubMesh::clearMorphingData ( void  )
void Neo::SubMesh::clearNormals ( void  )
void Neo::SubMesh::clearSkinData ( void  )
void Neo::SubMesh::clearTangents ( void  )
void Neo::SubMesh::clearTexCoords ( void  )
void Neo::SubMesh::clearVBO ( void  )
void Neo::SubMesh::clearVertices ( void  )
MorphingData* Neo::SubMesh::createMorphingData ( void  )
SkinData* Neo::SubMesh::createSkinData ( void  )
Box3d* Neo::SubMesh::getBoundingBox ( void  )
inline
Color* Neo::SubMesh::getColors ( void  )
inline
unsigned int Neo::SubMesh::getColorsSize ( void  )
inline
MaterialDisplay* Neo::SubMesh::getDisplay ( unsigned int  id)
inline
unsigned int Neo::SubMesh::getDisplaysNumber ( void  )
inline
unsigned int Neo::SubMesh::getIndex ( size_t  idx)
inline
void* Neo::SubMesh::getIndices ( void  )
inline
unsigned int Neo::SubMesh::getIndicesSize ( void  )
inline
VAR_TYPES Neo::SubMesh::getIndicesType ( void  )
inline
unsigned int Neo::SubMesh::getMapChannelOffset ( unsigned int  channel)
map<unsigned int, unsigned int>* Neo::SubMesh::getMapChannelOffsets ( void  )
inline
MorphingData* Neo::SubMesh::getMorphingData ( void  )
inline
Vector3* Neo::SubMesh::getNormals ( void  )
inline
unsigned int Neo::SubMesh::getNormalsSize ( void  )
inline
SkinData* Neo::SubMesh::getSkinData ( void  )
inline
Vector3* Neo::SubMesh::getSkinNormals ( void  )
inline
Vector3* Neo::SubMesh::getSkinTangents ( void  )
inline
Vector3* Neo::SubMesh::getSkinVertices ( void  )
inline
Vector3* Neo::SubMesh::getTangents ( void  )
inline
unsigned int Neo::SubMesh::getTangentsSize ( void  )
inline
Vector2* Neo::SubMesh::getTexCoords ( void  )
inline
unsigned int Neo::SubMesh::getTexCoordsSize ( void  )
inline
unsigned int* Neo::SubMesh::getVBOid1 ( void  )
inline
unsigned int* Neo::SubMesh::getVBOid2 ( void  )
inline
Vector3* Neo::SubMesh::getVertex ( size_t  idx)
inline
Vector3* Neo::SubMesh::getVertices ( void  )
inline
unsigned int Neo::SubMesh::getVerticesSize ( void  )
inline
bool Neo::SubMesh::hasTransparency ( void  )
bool Neo::SubMesh::isMapChannelExist ( unsigned int  channel)
void Neo::SubMesh::setMapChannelOffset ( unsigned int  channel,
unsigned int  offset 
)

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