#include <import_stl.h>
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) |
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.
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterSTL< OpenMeshType >::FaceIterator |
Definition at line 95 of file import_stl.h.
typedef OpenMeshType::FaceType vcg::tri::io::ImporterSTL< OpenMeshType >::FaceType |
Definition at line 93 of file import_stl.h.
typedef OpenMeshType::ScalarType vcg::tri::io::ImporterSTL< OpenMeshType >::ScalarType |
Definition at line 91 of file import_stl.h.
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterSTL< OpenMeshType >::VertexIterator |
Definition at line 94 of file import_stl.h.
typedef OpenMeshType::VertexPointer vcg::tri::io::ImporterSTL< OpenMeshType >::VertexPointer |
Definition at line 90 of file import_stl.h.
typedef OpenMeshType::VertexType vcg::tri::io::ImporterSTL< OpenMeshType >::VertexType |
Definition at line 92 of file import_stl.h.
anonymous enum |
Definition at line 99 of file import_stl.h.
enum vcg::tri::io::ImporterSTL::STLError |
Definition at line 109 of file import_stl.h.
static const char* vcg::tri::io::ImporterSTL< OpenMeshType >::ErrorMsg | ( | int | error | ) | [inline, static] |
Definition at line 116 of file import_stl.h.
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.
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.
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.
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.