#include <import.h>
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 () |
This class encapsulate a filter for automatically importing meshes by guessing the right filter according to the extension
enum vcg::tri::io::Importer::KnownTypes [private] |
static bool vcg::tri::io::Importer< OpenMeshType >::ErrorCritical | ( | int | error | ) | [inline, static] |
static const char* vcg::tri::io::Importer< OpenMeshType >::ErrorMsg | ( | int | error | ) | [inline, static] |
static bool vcg::tri::io::Importer< OpenMeshType >::FileExtension | ( | std::string | filename, |
std::string | extension | ||
) | [inline, static] |
static int& vcg::tri::io::Importer< OpenMeshType >::LastType | ( | ) | [inline, static, private] |
static bool vcg::tri::io::Importer< OpenMeshType >::LoadMask | ( | const char * | filename, |
int & | mask | ||
) | [inline, static] |
static int vcg::tri::io::Importer< OpenMeshType >::Open | ( | OpenMeshType & | m, |
const char * | filename, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |
static int vcg::tri::io::Importer< OpenMeshType >::Open | ( | OpenMeshType & | m, |
const char * | filename, | ||
int & | loadmask, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |