C++ API Reference: testMTopologyEvaluator/testMTopologyEvaluator.h
#ifndef __testMTopologyEvaluator_H__
#define __testMTopologyEvaluator_H__
#include <maya/MPxNode.h>
#include <maya/MStatus.h>
#include <maya/MTypeId.h>
#include <maya/MObject.h>
#include <maya/MPlug.h>
#include <maya/MDataBlock.h>
#include <maya/MPxTopologyEvaluator.h>
#include <vector>
#include <atomic>
class TestMTopologyEvaluator_Node :
public MPxNode
{
public:
TestMTopologyEvaluator_Node() : computeCount(0), pushComputeCount(0), doPushComputeOverride(false) {};
~TestMTopologyEvaluator_Node() override {};
static void* creator ();
public:
std::atomic<unsigned> computeCount;
std::atomic<unsigned> pushComputeCount;
bool doPushComputeOverride;
static std::vector<MObject> attrInputs;
static std::vector<MObject> attrOutputs;
static MObject attrPushComputeCount;
};
{
public:
~TestMTopologyEvaluator_Evaluator() override;
};
#endif // __testMTopologyEvaluator_H__