#ifndef _meshOpFty
#define _meshOpFty
#include "polyModifierFty.h"
#include <maya/MObject.h>
#include <maya/MIntArray.h>
#include <maya/MString.h>
enum MeshOperation
{
kSubdivideEdges = 0,
kSubdivideFaces = 1,
kExtrudeEdges = 2,
kExtrudeFaces = 3,
kCollapseEdges = 4,
kCollapseFaces = 5,
kDuplicateFaces = 6,
kExtractFaces = 7,
kSplitLightning = 8,
kMeshOperationCount = 9
};
class meshOpFty : public polyModifierFty
{
public:
meshOpFty();
~meshOpFty() override;
void setComponentList(
MObject& componentList );
void setComponentIDs(
MIntArray& componentIDs );
void setMeshOperation( MeshOperation operationType );
static MFn::Type getExpectedComponentType( MeshOperation operationType );
private:
MeshOperation fOperationType;
};
#endif