Public Types | Static Public Member Functions
vcg::tri::io::ImporterASC< MESH_TYPE > Class Template Reference

#include <import_asc.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_NO_POINTS }
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 Open (MESH_TYPE &m, const char *filename, CallBackPos *cb=0, bool triangulate=false, int lineskip=0)

Detailed Description

template<class MESH_TYPE>
class vcg::tri::io::ImporterASC< 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 44 of file import_asc.h.


Member Typedef Documentation

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

Definition at line 53 of file import_asc.h.

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

Definition at line 51 of file import_asc.h.

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

Definition at line 49 of file import_asc.h.

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

Definition at line 52 of file import_asc.h.

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

Definition at line 48 of file import_asc.h.

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

Definition at line 50 of file import_asc.h.


Member Enumeration Documentation

template<class MESH_TYPE >
enum vcg::tri::io::ImporterASC::RAWError
Enumerator:
E_NOERROR 
E_CANTOPEN 
E_UNESPECTEDEOF 
E_NO_POINTS 

Definition at line 55 of file import_asc.h.


Member Function Documentation

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

Definition at line 63 of file import_asc.h.

template<class MESH_TYPE >
static int vcg::tri::io::ImporterASC< MESH_TYPE >::Open ( MESH_TYPE &  m,
const char *  filename,
CallBackPos cb = 0,
bool  triangulate = false,
int  lineskip = 0 
) [inline, static]

Standard call for reading a mesh

Parameters:
mthe destination mesh
filenamethe name of the file to read from
triangulateif true, the mesh will be triangulated, otherwise only points will be stored
lineskipnumber of lines to be skipped at the begin of the file
Returns:
the operation result

Definition at line 85 of file import_asc.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:44:00