narrowPolyViewer/narrowPolyViewerCmd.h
#ifndef NARROWPOLYVIEWERCMD_H
#define NARROWPOLYVIEWERCMD_H
#include <maya/MDagPathArray.h>
#include <maya/MPxModelEditorCommand.h>
#include "narrowPolyViewer.h"
#define kInitFlag "-in"
#define kInitFlagLong "-initilize"
#define kResultsFlag "-r"
#define kResultsFlagLong "-results"
#define kClearFlag "-cl"
#define kClearFlagLong "-clear"
#define kToleranceFlag "-tol"
#define kToleranceFlagLong "-tolerance"
#define kViewCmdName "narrowPolyViewer"
{
public:
narrowPolyViewerCmd();
virtual ~narrowPolyViewerCmd();
static void* creator();
protected:
MStatus initTests(narrowPolyViewer &view);
MStatus testResults(narrowPolyViewer &view);
MStatus clearResults(narrowPolyViewer &view);
private:
static const char*
className() {
return "narrowPolyViewerCmd"; }
};
#endif