OpenMesh::IO::_STLWriter_ Class Reference

#include <STLWriter.hh>

Inheritance diagram for OpenMesh::IO::_STLWriter_:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 _STLWriter_ ()
size_t binary_size (BaseExporter &, Options) const
 Returns expected size of file if binary format is supported else 0.
std::string get_description () const
 Return short description of the supported file format.
std::string get_extensions () const
 Return file format's extension.
bool write (std::ostream &, BaseExporter &, Options) const
 Write to std::ostream _os. Data source specified by BaseExporter _be.
bool write (const std::string &, BaseExporter &, Options) const
 Write to file _filename. Data source specified by BaseExporter _be.
virtual ~_STLWriter_ ()
 Destructor.

Private Member Functions

bool write_stla (const std::string &, BaseExporter &, Options) const
bool write_stlb (const std::string &, BaseExporter &, Options) const

Detailed Description

Implementation of the STL format writer. This class is singleton'ed by SingletonT to STLWriter.

Definition at line 84 of file STLWriter.hh.


Constructor & Destructor Documentation

OpenMesh::IO::_STLWriter_::_STLWriter_ (  ) 
virtual OpenMesh::IO::_STLWriter_::~_STLWriter_ (  )  [inline, virtual]

Destructor.

Definition at line 91 of file STLWriter.hh.


Member Function Documentation

size_t OpenMesh::IO::_STLWriter_::binary_size ( BaseExporter ,
Options   
) const [virtual]

Returns expected size of file if binary format is supported else 0.

Reimplemented from OpenMesh::IO::BaseWriter.

std::string OpenMesh::IO::_STLWriter_::get_description (  )  const [inline, virtual]

Return short description of the supported file format.

Implements OpenMesh::IO::BaseWriter.

Definition at line 93 of file STLWriter.hh.

std::string OpenMesh::IO::_STLWriter_::get_extensions (  )  const [inline, virtual]

Return file format's extension.

Implements OpenMesh::IO::BaseWriter.

Definition at line 94 of file STLWriter.hh.

bool OpenMesh::IO::_STLWriter_::write ( std::ostream &  _os,
BaseExporter _be,
Options  _opt 
) const [virtual]

Write to std::ostream _os. Data source specified by BaseExporter _be.

Implements OpenMesh::IO::BaseWriter.

bool OpenMesh::IO::_STLWriter_::write ( const std::string &  _filename,
BaseExporter _be,
Options  _opt 
) const [virtual]

Write to file _filename. Data source specified by BaseExporter _be.

Implements OpenMesh::IO::BaseWriter.

bool OpenMesh::IO::_STLWriter_::write_stla ( const std::string &  ,
BaseExporter ,
Options   
) const [private]
bool OpenMesh::IO::_STLWriter_::write_stlb ( const std::string &  ,
BaseExporter ,
Options   
) const [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:18 2013