vcg::tri::io::Importer< OpenMeshType > Class Template Reference

#include <import.h>

List of all members.

Static Public Member Functions

static bool ErrorCritical (int error)
static const char * ErrorMsg (int error)
static bool FileExtension (std::string filename, std::string extension)
static bool LoadMask (const char *filename, int &mask)
static int Open (OpenMeshType &m, const char *filename, int &loadmask, CallBackPos *cb=0)
static int Open (OpenMeshType &m, const char *filename, CallBackPos *cb=0)

Private Types

enum  KnownTypes {
  KT_UNKNOWN, KT_PLY, KT_STL, KT_OFF,
  KT_OBJ, KT_VMI
}

Static Private Member Functions

static int & LastType ()

Detailed Description

template<class OpenMeshType>
class vcg::tri::io::Importer< OpenMeshType >

This class encapsulate a filter for automatically importing meshes by guessing the right filter according to the extension

Definition at line 85 of file import.h.


Member Enumeration Documentation

template<class OpenMeshType >
enum vcg::tri::io::Importer::KnownTypes [private]
Enumerator:
KT_UNKNOWN 
KT_PLY 
KT_STL 
KT_OFF 
KT_OBJ 
KT_VMI 

Definition at line 88 of file import.h.


Member Function Documentation

template<class OpenMeshType >
static bool vcg::tri::io::Importer< OpenMeshType >::ErrorCritical ( int  error  )  [inline, static]

Definition at line 150 of file import.h.

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

Definition at line 163 of file import.h.

template<class OpenMeshType >
static bool vcg::tri::io::Importer< OpenMeshType >::FileExtension ( std::string  filename,
std::string  extension 
) [inline, static]

Definition at line 97 of file import.h.

template<class OpenMeshType >
static int& vcg::tri::io::Importer< OpenMeshType >::LastType (  )  [inline, static, private]

Definition at line 89 of file import.h.

template<class OpenMeshType >
static bool vcg::tri::io::Importer< OpenMeshType >::LoadMask ( const char *  filename,
int &  mask 
) [inline, static]

Definition at line 176 of file import.h.

template<class OpenMeshType >
static int vcg::tri::io::Importer< OpenMeshType >::Open ( OpenMeshType &  m,
const char *  filename,
int &  loadmask,
CallBackPos cb = 0 
) [inline, static]

Definition at line 114 of file import.h.

template<class OpenMeshType >
static int vcg::tri::io::Importer< OpenMeshType >::Open ( OpenMeshType &  m,
const char *  filename,
CallBackPos cb = 0 
) [inline, static]

Definition at line 107 of file import.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