vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 > Class Template Reference

#include <import_vmi.h>

Inheritance diagram for vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

template<class OpenMeshType, class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
class vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >

Definition at line 244 of file import_vmi.h.


Member Typedef Documentation

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
typedef OpenMeshType::FaceContainer vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceContainer [private]

Definition at line 541 of file import_vmi.h.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceIterator [private]

Definition at line 542 of file import_vmi.h.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
typedef OpenMeshType::FaceType vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::FaceType [private]

Definition at line 540 of file import_vmi.h.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
typedef OpenMeshType::VertContainer vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertContainer [private]

Definition at line 544 of file import_vmi.h.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertexIterator [private]

Definition at line 545 of file import_vmi.h.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
typedef OpenMeshType::VertexType vcg::tri::io::ImporterVMI< OpenMeshType, A0, A1, A2, A3, A4 >::VertexType [private]

Definition at line 546 of file import_vmi.h.


Member Enumeration Documentation

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
enum vcg::tri::io::ImporterVMI::VMIErrorCodes
Enumerator:
VMI_NO_ERROR 
VMI_INCOMPATIBLE_VERTEX_TYPE 
VMI_INCOMPATIBLE_FACE_TYPE 
VMI_FAILED_OPEN 

Definition at line 549 of file import_vmi.h.


Member Function Documentation

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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

Parameters:
message_code The code returned by Open
Returns:
The string describing the error code

Definition at line 561 of file import_vmi.h.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.

template<class OpenMeshType , class A0 = long, class A1 = double, class A2 = int, class A3 = short, class A4 = char>
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.


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:39 2013