vcg::tri::io::ImporterRAW< MESH_TYPE > Class Template Reference

#include <import_raw.h>

List of all members.

Public Types

typedef MESH_TYPE::FaceIterator FaceIterator
typedef MESH_TYPE::FaceType FaceType
enum  RAWError {
  E_NOERROR, E_CANTOPEN, E_UNESPECTEDEOF, E_INVALIDLINEDESC,
  E_LINEERROR, E_WRONGPOINTNUM
}
typedef MESH_TYPE::ScalarType ScalarType
typedef MESH_TYPE::VertexIterator VertexIterator
typedef MESH_TYPE::VertexPointer VertexPointer
typedef MESH_TYPE::VertexType VertexType

Static Public Member Functions

static const char * ErrorMsg (int error)
static int fillHoles (MESH_TYPE &m, size_t rowCount, size_t colCount)
static int Open (MESH_TYPE &m, const char *filename, bool triangulate=false, int lineskip=0, const char *linedesc="PX PY PZ")
static int Parseline (int tokennumber, int *tokenorder, char *rawline, float *linebuffer)
static int Parselinedescription (const char *linedesc, int &tokennumber, int *order)
static void Skipline (FILE *fp)

Detailed Description

template<class MESH_TYPE>
class vcg::tri::io::ImporterRAW< MESH_TYPE >

This class encapsulate a filter for importing raw format pointcloud. there exists many raw formats. each one with a particular sintax even if they only contains

Definition at line 54 of file import_raw.h.


Member Typedef Documentation

template<class MESH_TYPE >
typedef MESH_TYPE::FaceIterator vcg::tri::io::ImporterRAW< MESH_TYPE >::FaceIterator

Definition at line 63 of file import_raw.h.

template<class MESH_TYPE >
typedef MESH_TYPE::FaceType vcg::tri::io::ImporterRAW< MESH_TYPE >::FaceType

Definition at line 61 of file import_raw.h.

template<class MESH_TYPE >
typedef MESH_TYPE::ScalarType vcg::tri::io::ImporterRAW< MESH_TYPE >::ScalarType

Definition at line 59 of file import_raw.h.

template<class MESH_TYPE >
typedef MESH_TYPE::VertexIterator vcg::tri::io::ImporterRAW< MESH_TYPE >::VertexIterator

Definition at line 62 of file import_raw.h.

template<class MESH_TYPE >
typedef MESH_TYPE::VertexPointer vcg::tri::io::ImporterRAW< MESH_TYPE >::VertexPointer

Definition at line 58 of file import_raw.h.

template<class MESH_TYPE >
typedef MESH_TYPE::VertexType vcg::tri::io::ImporterRAW< MESH_TYPE >::VertexType

Definition at line 60 of file import_raw.h.


Member Enumeration Documentation

template<class MESH_TYPE >
enum vcg::tri::io::ImporterRAW::RAWError
Enumerator:
E_NOERROR 
E_CANTOPEN 
E_UNESPECTEDEOF 
E_INVALIDLINEDESC 
E_LINEERROR 
E_WRONGPOINTNUM 

Definition at line 69 of file import_raw.h.


Member Function Documentation

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

Definition at line 82 of file import_raw.h.

template<class MESH_TYPE >
static int vcg::tri::io::ImporterRAW< MESH_TYPE >::fillHoles ( MESH_TYPE &  m,
size_t  rowCount,
size_t  colCount 
) [inline, static]

Definition at line 250 of file import_raw.h.

template<class MESH_TYPE >
static int vcg::tri::io::ImporterRAW< MESH_TYPE >::Open ( MESH_TYPE &  m,
const char *  filename,
bool  triangulate = false,
int  lineskip = 0,
const char *  linedesc = "PX PY PZ" 
) [inline, static]

Standard call for reading a mesh

Parameters:
m the destination mesh
filename the name of the file to read from
triangulate if true, the mesh will be triangulated, otherwise only points will be stored
lineskip number of lines to be skipped at the begin of the file
Returns:
the operation result

Definition at line 288 of file import_raw.h.

template<class MESH_TYPE >
static int vcg::tri::io::ImporterRAW< MESH_TYPE >::Parseline ( int  tokennumber,
int *  tokenorder,
char *  rawline,
float *  linebuffer 
) [inline, static]

Definition at line 189 of file import_raw.h.

template<class MESH_TYPE >
static int vcg::tri::io::ImporterRAW< MESH_TYPE >::Parselinedescription ( const char *  linedesc,
int &  tokennumber,
int *  order 
) [inline, static]

Definition at line 122 of file import_raw.h.

template<class MESH_TYPE >
static void vcg::tri::io::ImporterRAW< MESH_TYPE >::Skipline ( FILE *  fp  )  [inline, static]

Definition at line 176 of file import_raw.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