#include <MSS_CaptureLayerPaintState.h>

Public Member Functions | |
| MSS_CaptureLayerPaintState (JEDI_View &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR) | |
| virtual | ~MSS_CaptureLayerPaintState () |
| virtual const char * | className () const |
| virtual int | enter (BM_SimpleState::BM_EntryType how) |
| Enters the Capture Layer Paint state. | |
| virtual void | status (UT_String &status_string) const |
| virtual void | renderStatusExtras (RE_Render *r) |
Static Public Member Functions | |
| static BM_State * | ourConstructor (BM_View &view, PI_StateTemplate &templ, BM_SceneManager *scene) |
| static PRM_Template * | getTemplateList () |
| static void | buildLayerMenu (void *data, PRM_Name *menu, int count, const PRM_SpareData *, PRM_Parm *) |
| Builds the "Layer" menu. | |
| static void | buildRegionMenu (void *data, PRM_Name *menu, int count, const PRM_SpareData *sd, PRM_Parm *p) |
| Builds the capture "Region" menu. | |
Protected Member Functions | |
| virtual SOP_BrushOp | menuToBrushOp (const UI_Value &menuvalue) const |
| virtual int | handleMouseEvent (UI_Event *event) |
| virtual int | handleKeyTypeEvent (UI_Event *, BM_Viewport &) |
| virtual bool | getSelectionBoundingBox (DM_Viewport &vport, UT_BoundingBox &bbox) |
| virtual void | updatePrompt () |
| virtual void | doRender (RE_Render *r, short x, short y, int ghost) |
| virtual void | doRenderBoneHighlight (RE_Render *r, short x, short y, int ghost, SOP_CaptureLayerPaint *captSop) |
| Renders highlight for "current" bone. | |
| virtual void | handleOpEvent (OP_Node *caller, OP_EventType event_type, void *data) |
| Op event handler. | |
| virtual int | handleParameterEvent (UI_Event *event) |
| State parameter event handler. | |
| const char * | getOpName (UI_Value &val) |
| virtual void | setNode (OP_Node *node) |
| Sets the current node for this state. | |
Static Protected Member Functions | |
| static int | handleRegionMenuStatic (void *o, int index, float t, const PRM_Template *) |
| Region menu handlers. | |
| static bool | buildLayerMenuCallback (OP_Node &op, void *o) |
| Layer menu handlers. | |
| static int | handleLayerMenuStatic (void *o, int index, float t, const PRM_Template *) |
Static Protected Attributes | |
| static PRM_ChoiceList | theLMBMenu |
| static PRM_ChoiceList | theMMBMenu |
Definition at line 34 of file MSS_CaptureLayerPaintState.h.
| MSS_CaptureLayerPaintState::MSS_CaptureLayerPaintState | ( | JEDI_View & | view, | |
| PI_StateTemplate & | templ, | |||
| BM_SceneManager * | scene, | |||
| const char * | cursor = BM_DEFAULT_CURSOR | |||
| ) |
| virtual MSS_CaptureLayerPaintState::~MSS_CaptureLayerPaintState | ( | ) | [virtual] |
| static void MSS_CaptureLayerPaintState::buildLayerMenu | ( | void * | data, | |
| PRM_Name * | menu, | |||
| int | count, | |||
| const PRM_SpareData * | , | |||
| PRM_Parm * | ||||
| ) | [static] |
Builds the "Layer" menu.
| static bool MSS_CaptureLayerPaintState::buildLayerMenuCallback | ( | OP_Node & | op, | |
| void * | o | |||
| ) | [static, protected] |
Layer menu handlers.
| static void MSS_CaptureLayerPaintState::buildRegionMenu | ( | void * | data, | |
| PRM_Name * | menu, | |||
| int | count, | |||
| const PRM_SpareData * | sd, | |||
| PRM_Parm * | p | |||
| ) | [static] |
Builds the capture "Region" menu.
| virtual const char* MSS_CaptureLayerPaintState::className | ( | ) | const [virtual] |
Reimplemented from MSS_BrushBaseState.
| virtual void MSS_CaptureLayerPaintState::doRender | ( | RE_Render * | r, | |
| short | x, | |||
| short | y, | |||
| int | ghost | |||
| ) | [protected, virtual] |
Reimplemented from MSS_BrushBaseState.
| virtual void MSS_CaptureLayerPaintState::doRenderBoneHighlight | ( | RE_Render * | r, | |
| short | x, | |||
| short | y, | |||
| int | ghost, | |||
| SOP_CaptureLayerPaint * | captSop | |||
| ) | [protected, virtual] |
Renders highlight for "current" bone.
| virtual int MSS_CaptureLayerPaintState::enter | ( | BM_SimpleState::BM_EntryType | how | ) | [virtual] |
| const char* MSS_CaptureLayerPaintState::getOpName | ( | UI_Value & | val | ) | [protected] |
Get a human-readable name for the current operation deined by the value of the relevant menu (pass this getPrimaryVal() or getSecondaryVal()).
| virtual bool MSS_CaptureLayerPaintState::getSelectionBoundingBox | ( | DM_Viewport & | vport, | |
| UT_BoundingBox & | bbox | |||
| ) | [protected, virtual] |
Reimplemented from MSS_SingleOpState.
| static PRM_Template* MSS_CaptureLayerPaintState::getTemplateList | ( | ) | [static] |
| virtual int MSS_CaptureLayerPaintState::handleKeyTypeEvent | ( | UI_Event * | , | |
| BM_Viewport & | ||||
| ) | [protected, virtual] |
Reimplemented from MSS_BrushBaseState.
| static int MSS_CaptureLayerPaintState::handleLayerMenuStatic | ( | void * | o, | |
| int | index, | |||
| float | t, | |||
| const PRM_Template * | ||||
| ) | [static, protected] |
| virtual int MSS_CaptureLayerPaintState::handleMouseEvent | ( | UI_Event * | event | ) | [protected, virtual] |
Reimplemented from MSS_BrushBaseState.
| virtual void MSS_CaptureLayerPaintState::handleOpEvent | ( | OP_Node * | caller, | |
| OP_EventType | event_type, | |||
| void * | data | |||
| ) | [protected, virtual] |
Op event handler.
| virtual int MSS_CaptureLayerPaintState::handleParameterEvent | ( | UI_Event * | event | ) | [protected, virtual] |
| static int MSS_CaptureLayerPaintState::handleRegionMenuStatic | ( | void * | o, | |
| int | index, | |||
| float | t, | |||
| const PRM_Template * | ||||
| ) | [static, protected] |
Region menu handlers.
| virtual SOP_BrushOp MSS_CaptureLayerPaintState::menuToBrushOp | ( | const UI_Value & | menuvalue | ) | const [protected, virtual] |
Reimplemented from MSS_BrushBaseState.
| static BM_State* MSS_CaptureLayerPaintState::ourConstructor | ( | BM_View & | view, | |
| PI_StateTemplate & | templ, | |||
| BM_SceneManager * | scene | |||
| ) | [static] |
Reimplemented from MSS_BrushBaseState.
| virtual void MSS_CaptureLayerPaintState::renderStatusExtras | ( | RE_Render * | r | ) | [virtual] |
Reimplemented from BM_State.
| virtual void MSS_CaptureLayerPaintState::setNode | ( | OP_Node * | node | ) | [protected, virtual] |
| virtual void MSS_CaptureLayerPaintState::status | ( | UT_String & | status_string | ) | const [virtual] |
Reimplemented from BM_State.
| virtual void MSS_CaptureLayerPaintState::updatePrompt | ( | ) | [protected, virtual] |
Reimplemented from MSS_PaintBaseState.
PRM_ChoiceList MSS_CaptureLayerPaintState::theLMBMenu [static, protected] |
Definition at line 114 of file MSS_CaptureLayerPaintState.h.
PRM_ChoiceList MSS_CaptureLayerPaintState::theMMBMenu [static, protected] |
Definition at line 115 of file MSS_CaptureLayerPaintState.h.
1.5.9