MSS_CaptureLayerPaintState Class Reference

#include <MSS_CaptureLayerPaintState.h>

Inheritance diagram for MSS_CaptureLayerPaintState:

MSS_PaintBaseState MSS_BrushBaseState MSS_SingleOpState MSS_SingleOpBaseState BM_SingleOpState BM_OpState BM_State BM_ParmState BM_SimpleState AP_Interface UI_Object

List of all members.

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_StateourConstructor (BM_View &view, PI_StateTemplate &templ, BM_SceneManager *scene)
static PRM_TemplategetTemplateList ()
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


Detailed Description

Definition at line 34 of file MSS_CaptureLayerPaintState.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

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]

Enters the Capture Layer Paint state.

Reimplemented from MSS_BrushBaseState.

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]

State parameter event handler.

Reimplemented from MSS_PaintBaseState.

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]

Sets the current node for this state.

Reimplemented from MSS_BrushBaseState.

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.


Member Data Documentation

Definition at line 114 of file MSS_CaptureLayerPaintState.h.

Definition at line 115 of file MSS_CaptureLayerPaintState.h.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:30 2012 for HDK by  doxygen 1.5.9