vcg::tri::io::ImporterSTL< OpenMeshType > Class Template Reference

#include <import_stl.h>

List of all members.

Classes

class  STLFacet

Public Types

enum  { STL_LABEL_SIZE = 80 }
typedef OpenMeshType::FaceIterator FaceIterator
typedef OpenMeshType::FaceType FaceType
typedef OpenMeshType::ScalarType ScalarType
enum  STLError { E_NOERROR, E_CANTOPEN, E_UNESPECTEDEOF }
typedef
OpenMeshType::VertexIterator 
VertexIterator
typedef OpenMeshType::VertexPointer VertexPointer
typedef OpenMeshType::VertexType VertexType

Static Public Member Functions

static const char * ErrorMsg (int error)
static int Open (OpenMeshType &m, const char *filename, CallBackPos *cb=0)
static int Open (OpenMeshType &mesh, const char *filename, int &loadmask, CallBackPos *cb=0)
static int OpenAscii (OpenMeshType &m, const char *filename, CallBackPos *cb=0)
static int OpenBinary (OpenMeshType &m, const char *filename, CallBackPos *cb=0)

Detailed Description

template<class OpenMeshType>
class vcg::tri::io::ImporterSTL< OpenMeshType >

This class encapsulate a filter for importing stl (stereolitograpy) meshes. The stl format is quite simple and rather un-flexible. It just stores, in ascii or binary the, unindexed, geometry of the faces. Warning: this code assume little endian (PC) architecture!!!

Definition at line 86 of file import_stl.h.


Member Typedef Documentation

template<class OpenMeshType >
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterSTL< OpenMeshType >::FaceIterator

Definition at line 95 of file import_stl.h.

template<class OpenMeshType >
typedef OpenMeshType::FaceType vcg::tri::io::ImporterSTL< OpenMeshType >::FaceType

Definition at line 93 of file import_stl.h.

template<class OpenMeshType >
typedef OpenMeshType::ScalarType vcg::tri::io::ImporterSTL< OpenMeshType >::ScalarType

Definition at line 91 of file import_stl.h.

template<class OpenMeshType >
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterSTL< OpenMeshType >::VertexIterator

Definition at line 94 of file import_stl.h.

template<class OpenMeshType >
typedef OpenMeshType::VertexPointer vcg::tri::io::ImporterSTL< OpenMeshType >::VertexPointer

Definition at line 90 of file import_stl.h.

template<class OpenMeshType >
typedef OpenMeshType::VertexType vcg::tri::io::ImporterSTL< OpenMeshType >::VertexType

Definition at line 92 of file import_stl.h.


Member Enumeration Documentation

template<class OpenMeshType >
anonymous enum
Enumerator:
STL_LABEL_SIZE 

Definition at line 99 of file import_stl.h.

template<class OpenMeshType >
enum vcg::tri::io::ImporterSTL::STLError
Enumerator:
E_NOERROR 
E_CANTOPEN 
E_UNESPECTEDEOF 

Definition at line 109 of file import_stl.h.


Member Function Documentation

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

Definition at line 116 of file import_stl.h.

template<class OpenMeshType >
static int vcg::tri::io::ImporterSTL< OpenMeshType >::Open ( OpenMeshType &  m,
const char *  filename,
CallBackPos cb = 0 
) [inline, static]

Definition at line 135 of file import_stl.h.

template<class OpenMeshType >
static int vcg::tri::io::ImporterSTL< OpenMeshType >::Open ( OpenMeshType &  mesh,
const char *  filename,
int &  loadmask,
CallBackPos cb = 0 
) [inline, static]

Definition at line 129 of file import_stl.h.

template<class OpenMeshType >
static int vcg::tri::io::ImporterSTL< OpenMeshType >::OpenAscii ( OpenMeshType &  m,
const char *  filename,
CallBackPos cb = 0 
) [inline, static]

Definition at line 209 of file import_stl.h.

template<class OpenMeshType >
static int vcg::tri::io::ImporterSTL< OpenMeshType >::OpenBinary ( OpenMeshType &  m,
const char *  filename,
CallBackPos cb = 0 
) [inline, static]

Definition at line 170 of file import_stl.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