#include <import_raw.h>
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) |
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.
typedef MESH_TYPE::FaceIterator vcg::tri::io::ImporterRAW< MESH_TYPE >::FaceIterator |
Definition at line 63 of file import_raw.h.
typedef MESH_TYPE::FaceType vcg::tri::io::ImporterRAW< MESH_TYPE >::FaceType |
Definition at line 61 of file import_raw.h.
typedef MESH_TYPE::ScalarType vcg::tri::io::ImporterRAW< MESH_TYPE >::ScalarType |
Definition at line 59 of file import_raw.h.
typedef MESH_TYPE::VertexIterator vcg::tri::io::ImporterRAW< MESH_TYPE >::VertexIterator |
Definition at line 62 of file import_raw.h.
typedef MESH_TYPE::VertexPointer vcg::tri::io::ImporterRAW< MESH_TYPE >::VertexPointer |
Definition at line 58 of file import_raw.h.
typedef MESH_TYPE::VertexType vcg::tri::io::ImporterRAW< MESH_TYPE >::VertexType |
Definition at line 60 of file import_raw.h.
enum vcg::tri::io::ImporterRAW::RAWError |
Definition at line 69 of file import_raw.h.
static const char* vcg::tri::io::ImporterRAW< MESH_TYPE >::ErrorMsg | ( | int | error | ) | [inline, static] |
Definition at line 82 of file import_raw.h.
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.
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
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 |
Definition at line 288 of file import_raw.h.
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.
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.
static void vcg::tri::io::ImporterRAW< MESH_TYPE >::Skipline | ( | FILE * | fp | ) | [inline, static] |
Definition at line 176 of file import_raw.h.