#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 int | Deserialize (OpenMeshType &m, int &mask) |
static const char * | ErrorMsg (int message_code) |
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 | 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 const char *& | In_mem () |
static unsigned int & | In_mode () |
static bool | LoadMask (const char *f, int &mask) |
static bool | LoadMaskFromMem (const char *ptr, int &mask) |
static int | Open (OpenMeshType &m, const char *filename, int &mask, CallBackPos *=0) |
static unsigned int & | pos () |
static int | Read (void *dst, size_t size, size_t count) |
static int | Read_mem (void *dst, size_t size, size_t count) |
static int | Read_sim (const void *, size_t size, size_t count) |
static int | ReadFromMem (OpenMeshType &m, int &mask, char *ptr) |
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 () |
static int | LoadVertexOcfMask () |
static void * | Malloc (unsigned int n) |
static void | ReadFloat (float &v) |
static void | ReadInt (unsigned int &i) |
static void | ReadString (std::string &out) |
static int | VertexMaskBitFromString (std::string s) |
Definition at line 245 of file import_vmi.h.
typedef OpenMeshType::FaceContainer vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceContainer [private] |
Definition at line 542 of file import_vmi.h.
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceIterator [private] |
Definition at line 543 of file import_vmi.h.
typedef OpenMeshType::FaceType vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceType [private] |
Definition at line 541 of file import_vmi.h.
typedef OpenMeshType::VertContainer vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertContainer [private] |
Definition at line 545 of file import_vmi.h.
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertexIterator [private] |
Definition at line 546 of file import_vmi.h.
typedef OpenMeshType::VertexType vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertexType [private] |
Definition at line 547 of file import_vmi.h.
enum vcg::tri::io::ImporterVMI::VMIErrorCodes |
Definition at line 550 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::Deserialize | ( | OpenMeshType & | m, |
int & | mask | ||
) | [inline, static] |
Definition at line 684 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 562 of file import_vmi.h.
static FILE*& vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::F | ( | ) | [inline, static, private] |
Definition at line 534 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 510 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 538 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 582 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 618 of file import_vmi.h.
static const char* & vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::In_mem | ( | ) | [inline, static] |
Definition at line 626 of file import_vmi.h.
static unsigned int& vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::In_mode | ( | ) | [inline, static] |
Definition at line 627 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::LoadFaceOcfMask | ( | ) | [inline, static, private] |
Definition at line 393 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 645 of file import_vmi.h.
static bool vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::LoadMaskFromMem | ( | const char * | ptr, |
int & | mask | ||
) | [inline, static] |
Definition at line 656 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::LoadVertexOcfMask | ( | ) | [inline, static, private] |
Definition at line 260 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 537 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 668 of file import_vmi.h.
static unsigned int& vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::pos | ( | ) | [inline, static] |
Definition at line 630 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::Read | ( | void * | dst, |
size_t | size, | ||
size_t | count | ||
) | [inline, static] |
Definition at line 635 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::Read_mem | ( | void * | dst, |
size_t | size, | ||
size_t | count | ||
) | [inline, static] |
Definition at line 632 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::Read_sim | ( | const void * | , |
size_t | size, | ||
size_t | count | ||
) | [inline, static] |
Definition at line 631 of file import_vmi.h.
static void vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ReadFloat | ( | float & | v | ) | [inline, static, private] |
Definition at line 257 of file import_vmi.h.
static int vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ReadFromMem | ( | OpenMeshType & | m, |
int & | mask, | ||
char * | ptr | ||
) | [inline, static] |
Definition at line 677 of file import_vmi.h.
static void vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ReadInt | ( | unsigned int & | i | ) | [inline, static, private] |
Definition at line 256 of file import_vmi.h.
static void vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::ReadString | ( | std::string & | out | ) | [inline, static, private] |
Definition at line 248 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 522 of file import_vmi.h.