#include <maya/MStatus.h>
#include <maya/MString.h>
#include <maya/MObject.h>
#include <maya/MGlobal.h>
#include <maya/MItDag.h>
#include <maya/MDagPath.h>
#include <maya/MItSelectionList.h>
#include <maya/MPlug.h>
#include <maya/MIOStream.h>
#include <maya/MFStream.h>
#include "polyExporter.h"
#include "polyWriter.h"
polyExporter::polyExporter()
{
}
polyExporter::~polyExporter()
{
}
{
ofstream newFile(fileName.
asChar(), ios::out);
if (!newFile) {
}
newFile.setf(ios::unitbuf);
writeHeader(newFile);
}
}
} else {
}
writeFooter(newFile);
newFile.flush();
newFile.close();
}
bool polyExporter::haveWriteMethod() const
{
return true;
}
bool polyExporter::haveReadMethod() const
{
return false;
}
bool polyExporter::canBeOpened() const
{
return true;
}
MStatus polyExporter::exportAll(ostream& os)
{
}
for(;!itDag.isDone();itDag.next()) {
}
}
}
}
}
MStatus polyExporter::exportSelection(ostream& os)
{
}
}
for (itSelectionList.reset(); !itSelectionList.isDone(); itSelectionList.next()) {
}
}
}
}
{
polyWriter* pWriter = createPolyWriter(dagPath, status);
delete pWriter;
}
delete pWriter;
}
delete pWriter;
}
delete pWriter;
}
{
return false;
return false;
} else {
bool visible;
}
return visible;
}
}
void polyExporter::writeHeader(ostream& os)
{
os << "";
}
void polyExporter::writeFooter(ostream& os)
{
os << "";
}