AbcExport/MayaLocatorWriter.h
#ifndef _AlembicExport_MayaLocatorWriter_h_
#define _AlembicExport_MayaLocatorWriter_h_
#include "Foundation.h"
#include "AttributesWriter.h"
#include "MayaTransformWriter.h"
#include <Alembic/AbcGeom/OXform.h>
class MayaLocatorWriter
{
public:
MayaLocatorWriter(
MDagPath & iDag, Alembic::Abc::OObject & iParent,
Alembic::Util::uint32_t iTimeIndex, const JobArgs & iArgs);
~MayaLocatorWriter();
void write();
bool isAnimated() const;
AttributesWriterPtr getAttrs() {return mAttrs;};
private:
bool mIsAnimated;
Alembic::Abc::OScalarProperty mSp;
Alembic::AbcGeom::OXform mXform;
AttributesWriterPtr mAttrs;
};
typedef Alembic::Util::shared_ptr < MayaLocatorWriter > MayaLocatorWriterPtr;
#endif // _AlembicExport_MayaLocatorWriter_h_