AbcExport/MayaPointPrimitiveWriter.h
#ifndef _AlembicExport_MayaPointPrimitiveWriter_h_
#define _AlembicExport_MayaPointPrimitiveWriter_h_
#include "Foundation.h"
#include "AttributesWriter.h"
#include "MayaTransformWriter.h"
#include <Alembic/AbcGeom/OPoints.h>
class MayaPointPrimitiveWriter
{
public:
MayaPointPrimitiveWriter(
double iFrame,
MDagPath & iDag,
Alembic::AbcGeom::OObject & iParent, Alembic::Util::uint32_t iTimeIndex,
const JobArgs & iArgs);
void write(double iFrame);
bool isAnimated() const;
unsigned int getNumCVs();
AttributesWriterPtr getAttrs() {return mAttrs;};
private:
bool mIsAnimated;
AttributesWriterPtr mAttrs;
Alembic::AbcGeom::OPointsSchema mSchema;
};
#endif // _AlembicExport_MayaPointPrimitiveWriter_h_