vcg::tri::io::ExporterOBJ< SaveMeshType > Class Template Reference

#include <export_obj.h>

List of all members.

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)

Detailed Description

template<class SaveMeshType>
class vcg::tri::io::ExporterOBJ< SaveMeshType >

Definition at line 43 of file export_obj.h.


Member Typedef Documentation

template<class SaveMeshType >
typedef SaveMeshType::FaceIterator vcg::tri::io::ExporterOBJ< SaveMeshType >::FaceIterator

Definition at line 46 of file export_obj.h.

template<class SaveMeshType >
typedef SaveMeshType::VertexIterator vcg::tri::io::ExporterOBJ< SaveMeshType >::VertexIterator

Definition at line 47 of file export_obj.h.

template<class SaveMeshType >
typedef SaveMeshType::VertexType vcg::tri::io::ExporterOBJ< SaveMeshType >::VertexType

Definition at line 48 of file export_obj.h.


Member Enumeration Documentation

template<class SaveMeshType >
enum vcg::tri::io::ExporterOBJ::SaveError
Enumerator:
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.


Member Function Documentation

template<class SaveMeshType >
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.

template<class SaveMeshType >
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.

template<class SaveMeshType >
static const char* vcg::tri::io::ExporterOBJ< SaveMeshType >::ErrorMsg ( int  error  )  [inline, static]

Definition at line 68 of file export_obj.h.

template<class SaveMeshType >
static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetExportMaskCapability (  )  [inline, static]

Definition at line 89 of file export_obj.h.

template<class SaveMeshType >
static int vcg::tri::io::ExporterOBJ< SaveMeshType >::GetIndexVertex ( SaveMeshType &  m,
VertexType p 
) [inline, static]

Definition at line 275 of file export_obj.h.

template<class SaveMeshType >
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.

template<class SaveMeshType >
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.

template<class SaveMeshType >
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.

template<class SaveMeshType >
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.

template<class SaveMeshType >
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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:37 2013