#ifndef __POLYWRITER_H
#define __POLYWRITER_H
#include <maya/MFnMesh.h>
#include <maya/MPointArray.h>
#include <maya/MFloatVectorArray.h>
#include <maya/MFloatArray.h>
#include <iosfwd>
class polyWriter {
public:
virtual ~polyWriter ();
virtual MStatus extractGeometry ();
virtual MStatus writeToFile (std::ostream & os) = 0;
protected:
virtual MStatus outputSets (std::ostream& os);
virtual MStatus outputSingleSet (std::ostream& os,
static void outputTabs (std::ostream & os, unsigned int tabCount);
};
#endif