This reference page is linked to from the following overview topics: Plug-in Base Classes.
#include <manipulator.h>
Public Member Functions |
|
ManipExport | Manipulator (INode *pINode) |
BOOL | IsManipulator () |
virtual int | HitTest (TimeValue t, INode *pNode, int type, int crossing, int flags, IPoint2 *pScreenPoint, ViewExp *pVpt)=0 |
virtual int | Display (TimeValue t, INode *pNode, ViewExp *pVpt, int flags)=0 |
virtual void | GetLocalBoundBox (TimeValue t, INode *inode, ViewExp *vp, Box3 &box)=0 |
virtual ManipExport bool | AlwaysActive () |
virtual MSTR & | GetManipName ()=0 |
virtual DisplayState | MouseEntersObject (TimeValue t, ViewExp *pVpt, IPoint2 &m, ManipHitData *pHitData) |
virtual DisplayState | MouseLeavesObject (TimeValue t, ViewExp *pVpt, IPoint2 &m, ManipHitData *pHitData) |
virtual void | OnMouseMove (TimeValue t, ViewExp *pVpt, IPoint2 &m, DWORD flags, ManipHitData *pHitData) |
virtual void | OnButtonDown (TimeValue t, ViewExp *pVpt, IPoint2 &m, DWORD flags, ManipHitData *pHitData) |
virtual void | OnButtonUp (TimeValue t, ViewExp *pVpt, IPoint2 &m, DWORD flags, ManipHitData *pHitData) |
virtual INode * | GetINode () |
virtual ManipExport void | DeleteThis () |
Protected Attributes |
|
INode * | mpINode |
ManipExport Manipulator | ( | INode * | pINode | ) | [inline] |
{ mpINode = pINode; }
BOOL IsManipulator | ( | ) | [inline, virtual] |
virtual int HitTest | ( | TimeValue | t, |
INode * | pNode, | ||
int | type, | ||
int | crossing, | ||
int | flags, | ||
IPoint2 * | pScreenPoint, | ||
ViewExp * | pVpt | ||
) | [pure virtual] |
Reimplemented from BaseObject.
Implemented in SimpleManipulator, and MSSimpleManipulatorXtnd.
Reimplemented from BaseObject.
Implemented in SimpleManipulator, and MSSimpleManipulatorXtnd.
virtual void GetLocalBoundBox | ( | TimeValue | t, |
INode * | inode, | ||
ViewExp * | vp, | ||
Box3 & | box | ||
) | [pure virtual] |
Reimplemented from BaseObject.
Implemented in SimpleManipulator, and MSSimpleManipulatorXtnd.
virtual ManipExport bool AlwaysActive | ( | ) | [inline, virtual] |
{ return false; }
virtual MSTR& GetManipName | ( | ) | [pure virtual] |
Implemented in SimpleManipulator.
virtual DisplayState MouseEntersObject | ( | TimeValue | t, |
ViewExp * | pVpt, | ||
IPoint2 & | m, | ||
ManipHitData * | pHitData | ||
) | [inline, virtual] |
Reimplemented in SimpleManipulator.
{return kNoRedrawNeeded; }
virtual DisplayState MouseLeavesObject | ( | TimeValue | t, |
ViewExp * | pVpt, | ||
IPoint2 & | m, | ||
ManipHitData * | pHitData | ||
) | [inline, virtual] |
Reimplemented in SimpleManipulator.
{return kNoRedrawNeeded; }
virtual void OnMouseMove | ( | TimeValue | t, |
ViewExp * | pVpt, | ||
IPoint2 & | m, | ||
DWORD | flags, | ||
ManipHitData * | pHitData | ||
) | [inline, virtual] |
Reimplemented in SimpleManipulator, MSPluginSimpleManipulator, and MSSimpleManipulatorXtnd.
{}
virtual void OnButtonDown | ( | TimeValue | t, |
ViewExp * | pVpt, | ||
IPoint2 & | m, | ||
DWORD | flags, | ||
ManipHitData * | pHitData | ||
) | [inline, virtual] |
Reimplemented in SimpleManipulator, MSPluginSimpleManipulator, and MSSimpleManipulatorXtnd.
{}
virtual void OnButtonUp | ( | TimeValue | t, |
ViewExp * | pVpt, | ||
IPoint2 & | m, | ||
DWORD | flags, | ||
ManipHitData * | pHitData | ||
) | [inline, virtual] |
Reimplemented in SimpleManipulator, MSPluginSimpleManipulator, and MSSimpleManipulatorXtnd.
{}
virtual INode* GetINode | ( | ) | [inline, virtual] |
virtual ManipExport void DeleteThis | ( | ) | [virtual] |
Reimplemented from Animatable.
Reimplemented in MSPluginSimpleManipulator.