Public Types | Static Public Member Functions
vcg::tri::io::ExporterOBJ< SaveMeshType > Class Template Reference

#include <export_obj.h>

List of all members.

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)

Detailed Description

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

Definition at line 41 of file export_obj.h.


Member Typedef Documentation

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

Definition at line 49 of file export_obj.h.

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

Definition at line 45 of file export_obj.h.

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

Definition at line 44 of file export_obj.h.

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

Definition at line 48 of file export_obj.h.

template<class SaveMeshType >
typedef SaveMeshType::FaceType::TexCoordType vcg::tri::io::ExporterOBJ< SaveMeshType >::TexCoordType

Definition at line 50 of file export_obj.h.

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

Definition at line 46 of file export_obj.h.

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

Definition at line 47 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 55 of file export_obj.h.


Member Function Documentation

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

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

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

Definition at line 70 of file export_obj.h.

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

Definition at line 91 of file export_obj.h.

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

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

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 114 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 323 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 363 of file export_obj.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:43:59