13 #ifndef __MSS_BrushBaseState_H__
14 #define __MSS_BrushBaseState_H__
37 BM_SceneManager *scene,
44 BM_SceneManager *scene);
82 BM_Viewport &)
override;
103 virtual void updatePrompt();
107 virtual void enableVisualization();
108 virtual void disableVisualization();
111 {
return myModifierKeys; }
128 void usePrimaryButton();
129 void useSecondaryButton();
131 int sendRay(
const UT_Vector2& screen_coord,
bool isuv,
144 float u,
float v,
float w);
148 void reorientCursor();
160 bool myRenderBrushCursor;
161 bool myBrushCursorIsUV;
167 bool myResizingCursor;
168 int myLastCursorX, myLastCursorY;
173 bool myOldOrientValid;
177 float myOldOrientScaleHistory;
178 bool myOldOrientIsUV;
180 float myOldOrientHitU;
181 float myOldOrientHitV;
182 float myOldOrientHitW;
void getKeyResolveInfo(UI_KeyResolveInfo &info) 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
Temporary container for either a RV_Render and an RE_Render.
#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()
void doRender(RE_RenderContext r, int, int, int ghost) override
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()