polyRawExporter/polyExporter.h
#ifndef __POLYEXPORTER_H
#define __POLYEXPORTER_H
#include <maya/MPxFileTranslator.h>
class polyWriter;
public:
polyExporter();
~polyExporter() override;
protected:
virtual MStatus exportAll(ostream& os);
virtual MStatus exportSelection(ostream& os);
virtual void writeHeader(ostream& os);
virtual void writeFooter(ostream& os);
virtual polyWriter* createPolyWriter(
const MDagPath dagPath,
MStatus& status) = 0;
};
#endif