OMToolkit 1.0 The polygonal mesh processing tool.

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OMSaveFile Class Reference

`#include <SaveFile.h>`

Inheritance diagram for OMSaveFile:

## Public Member Functions
| MDS_SHAREDPTR (OMSaveFile)
| OMSaveFile (const std::string &sDescription)
virtual | ~OMSaveFile ()

## Protected Member Functions
virtual bool | startup ()
virtual bool | main ()
virtual void | shutdown ()
virtual void | writeExtendedUsage (std::ostream &Stream)

## Protected Attributes
std::string | m_file

## Detailed Description

Module which saves a mesh from input MDSTk channel into specified file Possible file formats are .stl, .om, .obj, .off, .ply and are determined from file extension

## Constructor & Destructor Documentation

OMSaveFile::OMSaveFile | ( | const std::string & | sDescription | ) |

Constructor

Parameters

  sDescription | Description of the module

OMSaveFile::~OMSaveFile | ( |  | ) |
| virtual

Virtual destructor

## Member Function Documentation

bool OMSaveFile::main | ( |  | ) |
| protected virtual

Virtual method called by the processing thread

Returns
  True if main loop continues

OMSaveFile::MDS_SHAREDPTR | ( | OMSaveFile |  | ) |

Smart pointer type

void OMSaveFile::shutdown | ( |  | ) |
| protected virtual

Called on console shutdown

bool OMSaveFile::startup | ( |  | ) |
| protected virtual

Virtual method called on startup

Returns
  True if startup was successful

void OMSaveFile::writeExtendedUsage | ( | std::ostream & | Stream | ) |
| protected virtual

Called on writing a usage statement

Parameters

  Stream | Output stream

## Member Data Documentation

std::string OMSaveFile::m_file
| protected

Output file name

The documentation for this class was generated from the following files:

- trunk/src/modules/SaveFile/SaveFile.h
- trunk/src/modules/SaveFile/SaveFile.cpp