vcg::tri::io::ExporterSTL< SaveMeshType > Class Template Reference

#include <export_stl.h>

List of all members.

Public Types

typedef unsigned short CallBackSTLFaceAttribute (const SaveMeshType &m, const FaceType &f)
typedef SaveMeshType::FaceType FaceType

Static Public Member Functions

static const char * ErrorMsg (int error)
static int GetExportMaskCapability ()
static int Save (SaveMeshType &m, const char *filename, bool binary=true, const char *objectname=0, CallBackSTLFaceAttribute *faceAttributeCallback=NULL)
static int Save (SaveMeshType &m, const char *filename, const int &, CallBackPos *)

Detailed Description

template<class SaveMeshType>
class vcg::tri::io::ExporterSTL< SaveMeshType >

This class encapsulate a filter for opening stl (sterolitograpy) meshes. The stl format is quite simple and rather un-flexible. It just stores, in ascii or binary the, unindexed, geometry of the faces.

Definition at line 72 of file export_stl.h.


Member Typedef Documentation

template<class SaveMeshType >
typedef unsigned short vcg::tri::io::ExporterSTL< SaveMeshType >::CallBackSTLFaceAttribute(const SaveMeshType &m, const FaceType &f)

Definition at line 76 of file export_stl.h.

template<class SaveMeshType >
typedef SaveMeshType::FaceType vcg::tri::io::ExporterSTL< SaveMeshType >::FaceType

Definition at line 75 of file export_stl.h.


Member Function Documentation

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

Definition at line 145 of file export_stl.h.

template<class SaveMeshType >
static int vcg::tri::io::ExporterSTL< SaveMeshType >::GetExportMaskCapability (  )  [inline, static]

Definition at line 162 of file export_stl.h.

template<class SaveMeshType >
static int vcg::tri::io::ExporterSTL< SaveMeshType >::Save ( SaveMeshType &  m,
const char *  filename,
bool  binary = true,
const char *  objectname = 0,
CallBackSTLFaceAttribute faceAttributeCallback = NULL 
) [inline, static]

Definition at line 83 of file export_stl.h.

template<class SaveMeshType >
static int vcg::tri::io::ExporterSTL< SaveMeshType >::Save ( SaveMeshType &  m,
const char *  filename,
const int &  ,
CallBackPos  
) [inline, static]

Definition at line 78 of file export_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:37 2013