Static Public Member Functions | Private Types | Static Private Member Functions
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, CallBackPos *cb=0)
static int Open (OpenMeshType &m, const char *filename, int &loadmask, CallBackPos *cb=0)
 Open Mesh and fills the load mask (the load mask must be initialized first); returns 0 on success.

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 148 of file import.h.

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

Definition at line 161 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 174 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 105 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]

Open Mesh and fills the load mask (the load mask must be initialized first); returns 0 on success.

Definition at line 112 of file import.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:44:00