OMToolkit  1.0
The polygonal mesh processing tool.
 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
sDescriptionDescription of the module
OMSaveFile::~OMSaveFile ( )
virtual

Virtual destructor

Member Function Documentation

bool OMSaveFile::main ( )
protectedvirtual

Virtual method called by the processing thread

Returns
True if main loop continues
OMSaveFile::MDS_SHAREDPTR ( OMSaveFile  )

Smart pointer type

void OMSaveFile::shutdown ( )
protectedvirtual

Called on console shutdown

bool OMSaveFile::startup ( )
protectedvirtual

Virtual method called on startup

Returns
True if startup was successful
void OMSaveFile::writeExtendedUsage ( std::ostream &  Stream)
protectedvirtual

Called on writing a usage statement

Parameters
StreamOutput stream

Member Data Documentation

std::string OMSaveFile::m_file
protected

Output file name


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