#include <export_obj.h>
Public Types | |
| typedef SaveMeshType::FaceIterator | FaceIterator |
| enum | SaveError { E_NOERROR, E_CANTOPENFILE, E_CANTCLOSEFILE, E_UNESPECTEDEOF, E_ABORTED, E_NOTDEFINITION, E_NOTVEXTEXVALID, E_NOTFACESVALID } |
| typedef SaveMeshType::VertexIterator | VertexIterator |
| typedef SaveMeshType::VertexType | VertexType |
Static Public Member Functions | |
| static bool | AddNewNormalVertex (std::map< Point3f, int > &m, Point3f &n, int value) |
| static bool | AddNewTextureCoord (std::map< vcg::TexCoord2< float >, int > &m, const vcg::TexCoord2< float > &wt, int value) |
| static const char * | ErrorMsg (int error) |
| static int | GetExportMaskCapability () |
| static int | GetIndexVertex (SaveMeshType &m, VertexType *p) |
| static int | GetIndexVertexNormal (SaveMeshType &, std::map< Point3f, int > &mapNormToInt, const Point3f &norm) |
| static int | GetIndexVertexTexture (std::map< TexCoord2< float >, int > &mapTexToInt, const vcg::TexCoord2< float > &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 43 of file export_obj.h.
| typedef SaveMeshType::FaceIterator vcg::tri::io::ExporterOBJ< SaveMeshType >::FaceIterator |
Definition at line 46 of file export_obj.h.
| typedef SaveMeshType::VertexIterator vcg::tri::io::ExporterOBJ< SaveMeshType >::VertexIterator |
Definition at line 47 of file export_obj.h.
| typedef SaveMeshType::VertexType vcg::tri::io::ExporterOBJ< SaveMeshType >::VertexType |
Definition at line 48 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 53 of file export_obj.h.
| static bool vcg::tri::io::ExporterOBJ< SaveMeshType >::AddNewNormalVertex | ( | std::map< Point3f, int > & | m, | |
| Point3f & | n, | |||
| int | value | |||
| ) | [inline, static] |
Definition at line 343 of file export_obj.h.
| static bool vcg::tri::io::ExporterOBJ< SaveMeshType >::AddNewTextureCoord | ( | std::map< vcg::TexCoord2< float >, int > & | m, | |
| const vcg::TexCoord2< float > & | wt, | |||
| int | value | |||
| ) | [inline, static] |
Definition at line 332 of file export_obj.h.
| static const char* vcg::tri::io::ExporterOBJ< SaveMeshType >::ErrorMsg | ( | int | error | ) | [inline, static] |
Definition at line 68 of file export_obj.h.
| static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetExportMaskCapability | ( | ) | [inline, static] |
Definition at line 89 of file export_obj.h.
| static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetIndexVertex | ( | SaveMeshType & | m, | |
| VertexType * | p | |||
| ) | [inline, static] |
Definition at line 275 of file export_obj.h.
| static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetIndexVertexNormal | ( | SaveMeshType & | , | |
| std::map< Point3f, int > & | mapNormToInt, | |||
| const Point3f & | norm | |||
| ) | [inline, static] |
Definition at line 296 of file export_obj.h.
| static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetIndexVertexTexture | ( | std::map< TexCoord2< float >, int > & | mapTexToInt, | |
| const vcg::TexCoord2< float > & | wt | |||
| ) | [inline, static] |
Definition at line 283 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 110 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 315 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 353 of file export_obj.h.