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 50 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 59 of file import_asc.h.

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

Definition at line 57 of file import_asc.h.

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

Definition at line 55 of file import_asc.h.

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

Definition at line 58 of file import_asc.h.

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

Definition at line 54 of file import_asc.h.

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

Definition at line 56 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 61 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 69 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:
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 91 of file import_asc.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:37 2013