AbcExport/AttributesWriter.h
#ifndef _maya2hdf_AttributesWriter_h_
#define _maya2hdf_AttributesWriter_h_
#include "Foundation.h"
#include "MayaUtility.h"
class AttributesWriter
{
public:
AttributesWriter(Alembic::Abc::OCompoundProperty & iArgGeom,
Alembic::Abc::OCompoundProperty & iUserProps,
Alembic::Abc::OObject & iParentObj,
Alembic::Util::uint32_t iTimeIndex,
const JobArgs & iArgs);
~AttributesWriter();
void write();
bool isAnimated();
static bool matchFilterOrAttribs(
const MPlug & iPlug,
const JobArgs & iArgs,
bool& userAttrOut);
const JobArgs & iArgs);
private:
std::vector < PlugAndObjArray > mPlugObjArrayVec;
std::vector < PlugAndObjScalar > mPlugObjScalarVec;
PlugAndObjScalar mAnimVisibility;
};
typedef Alembic::Util::shared_ptr<AttributesWriter> AttributesWriterPtr;
#endif // _maya2hdf_AttributesWriter_h_