Classes | Public Types | Static Public Member Functions
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 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)

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 39 of file import_stl.h.


Member Typedef Documentation

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

Definition at line 48 of file import_stl.h.

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

Definition at line 46 of file import_stl.h.

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

Definition at line 44 of file import_stl.h.

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

Definition at line 47 of file import_stl.h.

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

Definition at line 43 of file import_stl.h.

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

Definition at line 45 of file import_stl.h.


Member Enumeration Documentation

template<class OpenMeshType >
anonymous enum
Enumerator:
STL_LABEL_SIZE 

Definition at line 52 of file import_stl.h.

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

Definition at line 62 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 69 of file import_stl.h.

template<class OpenMeshType >
static bool vcg::tri::io::ImporterSTL< OpenMeshType >::IsSTLBinary ( const char *  filename) [inline, static]

Definition at line 133 of file import_stl.h.

template<class OpenMeshType >
static bool vcg::tri::io::ImporterSTL< OpenMeshType >::IsSTLColored ( const char *  filename,
bool &  magicsMode 
) [inline, static]

Definition at line 98 of file import_stl.h.

template<class OpenMeshType >
static bool vcg::tri::io::ImporterSTL< OpenMeshType >::LoadMask ( const char *  filename,
int &  mask 
) [inline, static]

Definition at line 82 of file import_stl.h.

template<class OpenMeshType >
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.

template<class OpenMeshType >
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.

template<class OpenMeshType >
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.


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:03