#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 bool | IsSTLBinary (const char *filename) |
static bool | IsSTLColored (const char *filename, bool &magicsMode) |
static bool | LoadMask (const char *filename, int &mask) |
static int | Open (OpenMeshType &m, 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, int &loadMask, 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 39 of file import_stl.h.
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterSTL< OpenMeshType >::FaceIterator |
Definition at line 48 of file import_stl.h.
typedef OpenMeshType::FaceType vcg::tri::io::ImporterSTL< OpenMeshType >::FaceType |
Definition at line 46 of file import_stl.h.
typedef OpenMeshType::ScalarType vcg::tri::io::ImporterSTL< OpenMeshType >::ScalarType |
Definition at line 44 of file import_stl.h.
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterSTL< OpenMeshType >::VertexIterator |
Definition at line 47 of file import_stl.h.
typedef OpenMeshType::VertexPointer vcg::tri::io::ImporterSTL< OpenMeshType >::VertexPointer |
Definition at line 43 of file import_stl.h.
typedef OpenMeshType::VertexType vcg::tri::io::ImporterSTL< OpenMeshType >::VertexType |
Definition at line 45 of file import_stl.h.
anonymous enum |
Definition at line 52 of file import_stl.h.
enum vcg::tri::io::ImporterSTL::STLError |
Definition at line 62 of file import_stl.h.
static const char* vcg::tri::io::ImporterSTL< OpenMeshType >::ErrorMsg | ( | int | error | ) | [inline, static] |
Definition at line 69 of file import_stl.h.
static bool vcg::tri::io::ImporterSTL< OpenMeshType >::IsSTLBinary | ( | const char * | filename | ) | [inline, static] |
Definition at line 133 of file import_stl.h.
static bool vcg::tri::io::ImporterSTL< OpenMeshType >::IsSTLColored | ( | const char * | filename, |
bool & | magicsMode | ||
) | [inline, static] |
Definition at line 98 of file import_stl.h.
static bool vcg::tri::io::ImporterSTL< OpenMeshType >::LoadMask | ( | const char * | filename, |
int & | mask | ||
) | [inline, static] |
Definition at line 82 of file import_stl.h.
static int vcg::tri::io::ImporterSTL< OpenMeshType >::Open | ( | OpenMeshType & | m, |
const char * | filename, | ||
int & | loadMask, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |
Definition at line 161 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 221 of file import_stl.h.
static int vcg::tri::io::ImporterSTL< OpenMeshType >::OpenBinary | ( | OpenMeshType & | m, |
const char * | filename, | ||
int & | loadMask, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |
Definition at line 173 of file import_stl.h.