13 #ifndef __MSS_BrushBaseState_H__
14 #define __MSS_BrushBaseState_H__
36 BM_SceneManager *scene,
43 BM_SceneManager *scene);
81 BM_Viewport &)
override;
102 virtual void updatePrompt();
106 virtual void enableVisualization();
107 virtual void disableVisualization();
110 {
return myModifierKeys; }
127 void usePrimaryButton();
128 void useSecondaryButton();
130 int sendRay(
const UT_Vector2& screen_coord,
bool isuv,
143 float u,
float v,
float w);
147 void reorientCursor();
158 bool myRenderBrushCursor;
159 bool myBrushCursorIsUV;
165 bool myResizingCursor;
166 int myLastCursorX, myLastCursorY;
171 bool myOldOrientValid;
175 float myOldOrientScaleHistory;
176 bool myOldOrientIsUV;
178 float myOldOrientHitU;
179 float myOldOrientHitV;
180 float myOldOrientHitW;
void getKeyResolveInfo(UI_KeyResolveInfo &info) override
void doRender(RE_Render *r, int, int, int ghost) override
void interrupt(BM_SimpleState *state=0) override
int handleMouseEvent(UI_Event *event) override
int handleParameterEvent(UI_Event *event) override
SOP_BrushBase * getBrushSOP() const
virtual void doneSelecting()
const char * className() const override
int enter(BM_SimpleState::BM_EntryType how) override
#define BM_DEFAULT_CURSOR
virtual void handleOpNodeChange(OP_Node &)
static PRM_Template * ourTemplateList
virtual bool forceVisualization() const
int handleKeyTypeEvent(int key, UI_Event *event, BM_Viewport &) override
Respond to keyboard events.
virtual void setNode(OP_Node *node)
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Definition of a modifier key context.
UI_Value & getSecondaryVal()
static BM_State * ourConstructor(BM_View &view, PI_StateTemplate &templ, BM_SceneManager *scene)
const DM_ModifierKeys & getModifierKeys() const
int handleMouseWheelEvent(UI_Event *event) override
void resume(BM_SimpleState *state=0) override
virtual int nodeIdToReselectWithin() const
GLubyte GLubyte GLubyte GLubyte w
virtual SOP_Node * updateBrushIntersectSop(SOP_BrushBase *brush_sop, SOP_Node *intersect_sop, fpreal t)
bool getAllowIndirectHandleDrag() const override
OP_Node * getNode() const
UI_Value & getPrimaryVal()
virtual bool generateAllNodes()