lineManipContainer/lineManipContainer.h
#include <maya/MTypeId.h>
#include <maya/MTypes.h>
#include <maya/MPxManipulatorNode.h>
#include <maya/MPxManipContainer.h>
#include <maya/MFnPlugin.h>
#include <maya/MObjectHandle.h>
#include <maya/MPxCommand.h>
#include <maya/MSyntax.h>
#include <maya/MDagModifier.h>
#include <maya/M3dView.h>
#include <maya/MGLFunctionTable.h>
#include "manipulatorMath.h"
{
public:
lineManip();
~lineManip();
static void* creator();
bool affectScale;
bool affectTranslate;
private:
bool fDrawManip;
MGLuint lineName;
planeMath plane;
private:
void getManipLinePos(float* top, float* bottom);
};
{
public:
lineManipContainer();
virtual ~lineManipContainer();
static void * creator();
public:
};