#include <export_obj.h>
Public Types | |
typedef SaveMeshType::CoordType | CoordType |
typedef SaveMeshType::EdgeIterator | EdgeIterator |
typedef SaveMeshType::FaceIterator | FaceIterator |
enum | SaveError { E_NOERROR, E_CANTOPENFILE, E_CANTCLOSEFILE, E_UNESPECTEDEOF, E_ABORTED, E_NOTDEFINITION, E_NOTVEXTEXVALID, E_NOTFACESVALID } |
typedef SaveMeshType::ScalarType | ScalarType |
typedef SaveMeshType::FaceType::TexCoordType | TexCoordType |
typedef SaveMeshType::VertexIterator | VertexIterator |
typedef SaveMeshType::VertexType | VertexType |
Static Public Member Functions | |
static bool | AddNewNormalVertex (typename std::map< CoordType, int > &m, CoordType &n, int value) |
template<class TexScalarType > | |
static bool | AddNewTextureCoord (std::map< typename vcg::TexCoord2< TexScalarType >, int > &m, const typename vcg::TexCoord2< TexScalarType > &wt, int value) |
static const char * | ErrorMsg (int error) |
static int | GetExportMaskCapability () |
static int | GetIndexVertexNormal (SaveMeshType &, std::map< CoordType, int > &mapNormToInt, const CoordType &norm) |
static int | GetIndexVertexTexture (typename std::map< TexCoordType, int > &mapTexToInt, const TexCoordType &wt) |
static int | Save (SaveMeshType &m, const char *filename, int mask, CallBackPos *cb=0) |
static void | WriteFacesElement (FILE *fp, int v, int vt, int vn) |
static int | WriteMaterials (std::vector< Material > &materialVec, const char *filename, CallBackPos *cb=0) |
Definition at line 41 of file export_obj.h.
typedef SaveMeshType::CoordType vcg::tri::io::ExporterOBJ< SaveMeshType >::CoordType |
Definition at line 49 of file export_obj.h.
typedef SaveMeshType::EdgeIterator vcg::tri::io::ExporterOBJ< SaveMeshType >::EdgeIterator |
Definition at line 45 of file export_obj.h.
typedef SaveMeshType::FaceIterator vcg::tri::io::ExporterOBJ< SaveMeshType >::FaceIterator |
Definition at line 44 of file export_obj.h.
typedef SaveMeshType::ScalarType vcg::tri::io::ExporterOBJ< SaveMeshType >::ScalarType |
Definition at line 48 of file export_obj.h.
typedef SaveMeshType::FaceType::TexCoordType vcg::tri::io::ExporterOBJ< SaveMeshType >::TexCoordType |
Definition at line 50 of file export_obj.h.
typedef SaveMeshType::VertexIterator vcg::tri::io::ExporterOBJ< SaveMeshType >::VertexIterator |
Definition at line 46 of file export_obj.h.
typedef SaveMeshType::VertexType vcg::tri::io::ExporterOBJ< SaveMeshType >::VertexType |
Definition at line 47 of file export_obj.h.
enum vcg::tri::io::ExporterOBJ::SaveError |
E_NOERROR | |
E_CANTOPENFILE | |
E_CANTCLOSEFILE | |
E_UNESPECTEDEOF | |
E_ABORTED | |
E_NOTDEFINITION | |
E_NOTVEXTEXVALID | |
E_NOTFACESVALID |
Definition at line 55 of file export_obj.h.
static bool vcg::tri::io::ExporterOBJ< SaveMeshType >::AddNewNormalVertex | ( | typename std::map< CoordType, int > & | m, |
CoordType & | n, | ||
int | value | ||
) | [inline, static] |
Definition at line 353 of file export_obj.h.
static bool vcg::tri::io::ExporterOBJ< SaveMeshType >::AddNewTextureCoord | ( | std::map< typename vcg::TexCoord2< TexScalarType >, int > & | m, |
const typename vcg::TexCoord2< TexScalarType > & | wt, | ||
int | value | ||
) | [inline, static] |
Definition at line 341 of file export_obj.h.
static const char* vcg::tri::io::ExporterOBJ< SaveMeshType >::ErrorMsg | ( | int | error | ) | [inline, static] |
Definition at line 70 of file export_obj.h.
static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetExportMaskCapability | ( | ) | [inline, static] |
Definition at line 91 of file export_obj.h.
static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetIndexVertexNormal | ( | SaveMeshType & | , |
std::map< CoordType, int > & | mapNormToInt, | ||
const CoordType & | norm | ||
) | [inline, static] |
Definition at line 307 of file export_obj.h.
static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetIndexVertexTexture | ( | typename std::map< TexCoordType, int > & | mapTexToInt, |
const TexCoordType & | wt | ||
) | [inline, static] |
Definition at line 294 of file export_obj.h.
static int vcg::tri::io::ExporterOBJ< SaveMeshType >::Save | ( | SaveMeshType & | m, |
const char * | filename, | ||
int | mask, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |
Definition at line 114 of file export_obj.h.
static void vcg::tri::io::ExporterOBJ< SaveMeshType >::WriteFacesElement | ( | FILE * | fp, |
int | v, | ||
int | vt, | ||
int | vn | ||
) | [inline, static] |
Definition at line 323 of file export_obj.h.
static int vcg::tri::io::ExporterOBJ< SaveMeshType >::WriteMaterials | ( | std::vector< Material > & | materialVec, |
const char * | filename, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |
Definition at line 363 of file export_obj.h.