|
| MTemplateSelectionContext () |
| Constructor.
|
|
virtual | ~MTemplateSelectionContext () |
| Destructor.
|
|
virtual void | toolOnSetup (MEvent &event) |
| Sets up a active list modified message which will trigger manipulator create/delete operations. More...
|
|
virtual void | toolOffCleanup () |
| Removes the callback.
|
|
virtual void | namesOfAttributes (MStringArray &namesOfAttributes) |
| Override to specify which attributes are required on the selected geometry. More...
|
|
virtual void | setInitialState () |
| Override to set manipulator initial state. More...
|
|
bool | validGeometrySelected () |
| Ensure that valid geometry is selected.
|
|
| MPxSelectionContext () |
| Class contstructor. More...
|
|
virtual | ~MPxSelectionContext () |
| Default destructor. More...
|
|
virtual MStatus | doPress (MEvent &event, MHWRender::MUIDrawManager &drawMgr, const MHWRender::MFrameContext &context) |
| This method is not available in Python. More...
|
|
virtual MStatus | doRelease (MEvent &event, MHWRender::MUIDrawManager &drawMgr, const MHWRender::MFrameContext &context) |
| This method is not available in Python. More...
|
|
virtual MStatus | doDrag (MEvent &event, MHWRender::MUIDrawManager &drawMgr, const MHWRender::MFrameContext &context) |
| This method is not available in Python. More...
|
|
virtual MStatus | doHold (MEvent &event, MHWRender::MUIDrawManager &drawMgr, const MHWRender::MFrameContext &context) |
| This method is not available in Python. More...
|
|
virtual MStatus | doPress (MEvent &event) |
| This method is called when any mouse button is pressed. More...
|
|
virtual MStatus | doRelease (MEvent &event) |
| This method is called when any mouse button is released. More...
|
|
virtual MStatus | doDrag (MEvent &event) |
| This method is called when a mouse drag event occurs. More...
|
|
virtual MStatus | doHold (MEvent &event) |
| This method is called when after a mouse button is pressed but before the mouse is dragged. More...
|
|
virtual MStatus | helpStateHasChanged (MEvent &) |
| This method is called whenever the help state may need to be updated. More...
|
|
virtual MStatus | addManipulator (const MObject &manipulator) |
| This method adds a manipulator to the context, and also adds the manipulator to the DAG. More...
|
|
virtual MStatus | deleteManipulators () |
| This method deletes all the manipulators that belong to the context. More...
|
|
MStatus | setAllowPreSelectHilight () |
| This method enables the support of pre-selection highlight for this context. More...
|
|
MStatus | setAllowSoftSelect () |
| This method enables the support of soft selection for this context. More...
|
|
MStatus | setAllowSymmetry () |
| This method enables the support of symmetrical selection for this context. More...
|
|
MStatus | setAllowDoubleClickAction () |
| This method enables the support of double click smart selection for this context. More...
|
|
MStatus | setImage (const MString &image, ImageIndex index) |
| This method is used to set an XPM icon image that is to be used to represent this tool context in various places including the tool bar and can be queried from mel using the contextInfo command. More...
|
|
MString | image (ImageIndex index, MStatus *ReturnStatus=NULL) const |
| This method is used to retrieve an XPM icon image that has previously been set for this tool context. More...
|
|
MStatus | getImage (MString &image, ImageIndex index) const |
| NO SCRIPT SUPPORT. More...
|
|
virtual void | abortAction () |
| This method is called when the abort key is pressed. More...
|
|
virtual bool | processNumericalInput (const MDoubleArray &values, const MIntArray &flags, bool isAbsolute) |
| This method processes the input from the numerical input field. More...
|
|
virtual bool | feedbackNumericalInput () const |
| This method is called to update the numerical feedback. More...
|
|
virtual MSyntax::MArgType | argTypeNumericalInput (unsigned int index) const |
| This method is used by the feedback line to determine what units to display. More...
|
|
| MPxContext () |
| Class contstructor. More...
|
|
virtual | ~MPxContext () |
| Default destructor. More...
|
|
virtual MStatus | drawFeedback (MHWRender::MUIDrawManager &drawMgr, const MHWRender::MFrameContext &context) |
| This method is not available in Python. More...
|
|
virtual MStatus | doPtrMoved (MEvent &event, MHWRender::MUIDrawManager &drawMgr, const MHWRender::MFrameContext &context) |
| This method is called when a mouse move event occurs. More...
|
|
virtual MStatus | doPtrMoved (MEvent &event) |
| This method is called when a mouse move event occurs. More...
|
|
virtual MStatus | doEnterRegion (MEvent &event) |
| This method is called when the mouse pointer enters a screen panel region. More...
|
|
virtual void | deleteAction () |
| This method is called when the delete or backspace key is pressed. More...
|
|
virtual void | completeAction () |
| This method is called when the complete key is pressed. More...
|
|
MStatus | setImage (const MString &image, ImageIndex index) |
| This method is used to set an XPM icon image that is to be used to represent this tool context in various places including the tool bar and can be queried from mel using the contextInfo command. More...
|
|
MString | image (ImageIndex index, MStatus *ReturnStatus=NULL) const |
| This method is used to retrieve an XPM icon image that has previously been set for this tool context. More...
|
|
virtual MString | stringClassName () const |
| This method is called to determine the name that uniquely identifies the context. More...
|
|
virtual void | getClassName (MString &name) const |
| NO SCRIPT SUPPORT. More...
|
|
MStatus | getImage (MString &image, ImageIndex index) const |
| NO SCRIPT SUPPORT. More...
|
|
template<const char * ContextNameString, class ContextClass, MFn::Type NodeType, class ManipulatorClass, const char * ManipulatorNodeName>
class MTemplateSelectionContext< ContextNameString, ContextClass, NodeType, ManipulatorClass, ManipulatorNodeName >
Template class for selection context.
Template helper to build selection contexts.
- Parameters:
- ContextNameString : string name of context command
- ContextClass : context command derived from MPxContextCommand
- NodeType : MFn type that selection context should operate on
- ManipulatorClass : derived from MPxManipulatorNode
- ManipulatorNodeName : name of the manipulator node
- Examples:
- lineManipContainer/lineManipContainer.cpp, and squareScaleManipContext/squareScaleManipContext.cpp.