#include <import_vmi.h>
Classes | |
struct | LoadFaceOcf |
struct | LoadFaceOcf< MeshType, face::vector_ocf< typename OpenMeshType::FaceType > > |
struct | LoadVertexOcf |
struct | LoadVertexOcf< MeshType, vertex::vector_ocf< typename OpenMeshType::VertexType > > |
Public Types | |
enum | VMIErrorCodes { VMI_NO_ERROR = 0, VMI_INCOMPATIBLE_VERTEX_TYPE, VMI_INCOMPATIBLE_FACE_TYPE, VMI_FAILED_OPEN } |
Static Public Member Functions | |
static const char * | ErrorMsg (int message_code) |
static bool | GetHeader (const char *filename, std::vector< std::string > &nameV, std::vector< std::string > &nameF, unsigned int &vertSize, unsigned int &faceSize, vcg::Box3f &bbox, int &mask) |
static bool | GetHeader (std::vector< std::string > &fnameV, std::vector< std::string > &fnameF, unsigned int &vertSize, unsigned int &faceSize, vcg::Box3f &bbox, int &mask) |
static bool | LoadMask (const char *f, int &mask) |
static int | Open (OpenMeshType &m, const char *filename, int &mask, CallBackPos *=0) |
Private Types | |
typedef OpenMeshType::FaceContainer | FaceContainer |
typedef OpenMeshType::FaceIterator | FaceIterator |
typedef OpenMeshType::FaceType | FaceType |
typedef OpenMeshType::VertContainer | VertContainer |
typedef OpenMeshType::VertexIterator | VertexIterator |
typedef OpenMeshType::VertexType | VertexType |
Static Private Member Functions | |
static FILE *& | F () |
static int | FaceMaskBitFromString (std::string s) |
static void | Free (void *ptr) |
static int | LoadFaceOcfMask (FILE *f) |
static int | LoadVertexOcfMask (FILE *f) |
static void * | Malloc (unsigned int n) |
static void | ReadFloat (FILE *f, float &v) |
static void | ReadInt (FILE *f, unsigned int &i) |
static void | ReadString (FILE *f, std::string &out) |
static int | VertexMaskBitFromString (std::string s) |
Definition at line 244 of file import_vmi.h.
typedef OpenMeshType::FaceContainer vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceContainer [private] |
Definition at line 541 of file import_vmi.h.
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceIterator [private] |
Definition at line 542 of file import_vmi.h.
typedef OpenMeshType::FaceType vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceType [private] |
Definition at line 540 of file import_vmi.h.
typedef OpenMeshType::VertContainer vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertContainer [private] |
Definition at line 544 of file import_vmi.h.
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertexIterator [private] |
Definition at line 545 of file import_vmi.h.
typedef OpenMeshType::VertexType vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertexType [private] |
Definition at line 546 of file import_vmi.h.
enum vcg::tri::io::ImporterVMI::VMIErrorCodes |
Definition at line 549 of file import_vmi.h.
static const char* vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ErrorMsg | ( | int | message_code | ) | [inline, static] |
Standard call for knowing the meaning of an error code
message_code | The code returned by Open |
Definition at line 561 of file import_vmi.h.
static FILE*& vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::F | ( | ) | [inline, static, private] |
Definition at line 533 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceMaskBitFromString | ( | std::string | s | ) | [inline, static, private] |
Definition at line 509 of file import_vmi.h.
static void vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::Free | ( | void * | ptr | ) | [inline, static, private] |
Definition at line 537 of file import_vmi.h.
static bool vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::GetHeader | ( | const char * | filename, | |
std::vector< std::string > & | nameV, | |||
std::vector< std::string > & | nameF, | |||
unsigned int & | vertSize, | |||
unsigned int & | faceSize, | |||
vcg::Box3f & | bbox, | |||
int & | mask | |||
) | [inline, static] |
Definition at line 616 of file import_vmi.h.
static bool vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::GetHeader | ( | std::vector< std::string > & | fnameV, | |
std::vector< std::string > & | fnameF, | |||
unsigned int & | vertSize, | |||
unsigned int & | faceSize, | |||
vcg::Box3f & | bbox, | |||
int & | mask | |||
) | [inline, static] |
Definition at line 581 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::LoadFaceOcfMask | ( | FILE * | f | ) | [inline, static, private] |
Definition at line 392 of file import_vmi.h.
static bool vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::LoadMask | ( | const char * | f, | |
int & | mask | |||
) | [inline, static] |
Definition at line 623 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::LoadVertexOcfMask | ( | FILE * | f | ) | [inline, static, private] |
Definition at line 259 of file import_vmi.h.
static void* vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::Malloc | ( | unsigned int | n | ) | [inline, static, private] |
Definition at line 536 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::Open | ( | OpenMeshType & | m, | |
const char * | filename, | |||
int & | mask, | |||
CallBackPos * | = 0 | |||
) | [inline, static] |
Definition at line 632 of file import_vmi.h.
static void vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ReadFloat | ( | FILE * | f, | |
float & | v | |||
) | [inline, static, private] |
Definition at line 256 of file import_vmi.h.
static void vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ReadInt | ( | FILE * | f, | |
unsigned int & | i | |||
) | [inline, static, private] |
Definition at line 255 of file import_vmi.h.
static void vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ReadString | ( | FILE * | f, | |
std::string & | out | |||
) | [inline, static, private] |
Definition at line 247 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertexMaskBitFromString | ( | std::string | s | ) | [inline, static, private] |
Definition at line 521 of file import_vmi.h.