HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MSS_KeyBindings.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: UI_KeyBindings.h ( UI Library, C++)
7  *
8  * COMMENTS:
9  * Key bindings pertaining to Model SOP States.
10  */
11 
12 #ifndef __MSS_KeyBindings_h__
13 #define __MSS_KeyBindings_h__
14 
15 #include <BM/BM_KeyBindings.h>
16 
17 //
18 // ------------- Hotkey definitions: ----------------
19 //
20 
21 #define MSS_KEY_SOPPATH "h.pane.gview.state.sop."
22 
23 // For the Face State:
24 #define MSS_KEY_CURVE_BEZIER MSS_KEY_SOPPATH "curve.bezier"
25 #define MSS_KEY_CURVE_NURBS MSS_KEY_SOPPATH "curve.nurbs"
26 #define MSS_KEY_CURVE_POLYGON MSS_KEY_SOPPATH "curve.polygon"
27 #define MSS_KEY_CURVE_BREAKPOINTS MSS_KEY_SOPPATH "curve.breakpoints"
28 #define MSS_KEY_CURVE_CVS MSS_KEY_SOPPATH "curve.cvs"
29 #define MSS_KEY_CURVE_FREEHAND MSS_KEY_SOPPATH "curve.freehand"
30 #define MSS_KEY_CURVE_TOGGLEOPEN MSS_KEY_SOPPATH "curve.toggleopen"
31 #define MSS_KEY_CURVE_TRANSFLOOR MSS_KEY_SOPPATH "curve.transfloor"
32 #define MSS_KEY_CURVE_RELPOINTS MSS_KEY_SOPPATH "curve.relpoints"
33 #define MSS_KEY_CURVE_CONVERTREFS MSS_KEY_SOPPATH "curve.convertrefs"
34 
35 // For the PolyKnitState:
36 #define MSS_KEY_POLYKNIT_LOCATE MSS_KEY_SOPPATH "polyknit.locate"
37 
38 // For the PolySplit State:
39 #define MSS_KEY_POLYSPLIT_LOCATE MSS_KEY_SOPPATH "polysplit.locate"
40 #define MSS_KEY_POLYSPLIT_CONSTBIAS MSS_KEY_SOPPATH "polysplit.constbias"
41 #define MSS_KEY_POLYSPLIT_MIDPOINT MSS_KEY_SOPPATH "polysplit.midpoint"
42 #define MSS_KEY_POLYSPLIT_PERP MSS_KEY_SOPPATH "polysplit.perp"
43 #define MSS_KEY_POLYSPLIT_TOGGLEOPEN MSS_KEY_SOPPATH "polysplit.toggleopen"
44 
45 // For the PolySplit2 State:
46 #define MSS_KEY_POLYSPLIT2_SHOWFEEDBACK MSS_KEY_SOPPATH "polysplit2.showfeedback"
47 #define MSS_KEY_POLYSPLIT2_SNAPMIDPOINT MSS_KEY_SOPPATH "polysplit2.snapmidpoint"
48 #define MSS_KEY_POLYSPLIT2_SNAPPERP MSS_KEY_SOPPATH "polysplit2.snapperp"
49 #define MSS_KEY_POLYSPLIT2_SUBDIVTOGGLE MSS_KEY_SOPPATH "polysplit2.subdivtoggle"
50 #define MSS_KEY_POLYSPLIT2_TOGGLEOPEN MSS_KEY_SOPPATH "polysplit2.toggleopen"
51 #define MSS_KEY_POLYSPLIT2_ALLOWFACES MSS_KEY_SOPPATH "polysplit2.allowfaces"
52 #define MSS_KEY_POLYSPLIT2_QUADCOMPLETE MSS_KEY_SOPPATH "polysplit2.togglequadcomp"
53 #define MSS_KEY_POLYSPLIT2_EDGEPERCENTTOGGLE MSS_KEY_SOPPATH "polysplit2.toggleedgepercent"
54 #define MSS_KEY_POLYSPLIT2_PARALLELLOOPTOGGLE MSS_KEY_SOPPATH "polysplit2.parallellooptoggle"
55 #define MSS_KEY_POLYSPLIT2_PARALLELFLIPTOGGLE MSS_KEY_SOPPATH "polysplit2.parallelfliptoggle"
56 
57 // For the Brush States:
58 #define MSS_KEY_BRUSH_CIRCLE MSS_KEY_SOPPATH "brush.circle"
59 #define MSS_KEY_BRUSH_SQUARE MSS_KEY_SOPPATH "brush.square"
60 #define MSS_KEY_BRUSH_BITMAP MSS_KEY_SOPPATH "brush.bitmap"
61 #define MSS_KEY_BRUSH_ORIENT MSS_KEY_SOPPATH "brush.orient"
62 #define MSS_KEY_BRUSH_ACCUMSTENCIL MSS_KEY_SOPPATH "brush.accumstencil"
63 #define MSS_KEY_BRUSH_P_MAIN MSS_KEY_SOPPATH "brush.p_main"
64 #define MSS_KEY_BRUSH_P_SMOOTH MSS_KEY_SOPPATH "brush.p_smooth"
65 #define MSS_KEY_BRUSH_P_ERASE MSS_KEY_SOPPATH "brush.p_erase"
66 #define MSS_KEY_BRUSH_P_LIFT MSS_KEY_SOPPATH "brush.p_lift"
67 #define MSS_KEY_BRUSH_P_ROTATE MSS_KEY_SOPPATH "brush.p_rotate"
68 #define MSS_KEY_BRUSH_S_MAIN MSS_KEY_SOPPATH "brush.s_main"
69 #define MSS_KEY_BRUSH_S_SMOOTH MSS_KEY_SOPPATH "brush.s_smooth"
70 #define MSS_KEY_BRUSH_S_ERASE MSS_KEY_SOPPATH "brush.s_erase"
71 #define MSS_KEY_BRUSH_S_LIFT MSS_KEY_SOPPATH "brush.s_lift"
72 #define MSS_KEY_BRUSH_S_ROTATE MSS_KEY_SOPPATH "brush.s_rotate"
73 
74 // For the Sculpt State:
75 #define MSS_KEY_SCULPT_P_SMOOTHDEFORM MSS_KEY_SOPPATH "brush.sculpt.p_smdef"
76 #define MSS_KEY_SCULPT_S_SMOOTHDEFORM MSS_KEY_SOPPATH "brush.sculpt.s_smdef"
77 
78 // For the Paint State:
79 #define MSS_KEY_PAINT_P_EYEDROP MSS_KEY_SOPPATH "brush.paint.p_eyedrop"
80 #define MSS_KEY_PAINT_S_EYEDROP MSS_KEY_SOPPATH "brush.paint.s_eyedrop"
81 
82 // For the Edit State:
83 #define MSS_KEY_EDIT_BRUSH MSS_KEY_SOPPATH "edit.brush"
84 #define MSS_KEY_EDIT_SLIDE MSS_KEY_SOPPATH "edit.slide"
85 #define MSS_KEY_EDIT_FLATTEN MSS_KEY_SOPPATH "edit.flatten"
86 #define MSS_KEY_EDIT_CIRCLE MSS_KEY_SOPPATH "edit.circle"
87 #define MSS_KEY_EDIT_SPACING MSS_KEY_SOPPATH "edit.spacing"
88 #define MSS_KEY_EDIT_STRAIGHTEN MSS_KEY_SOPPATH "edit.straighten"
89 #define MSS_KEY_EDIT_SMOOTH MSS_KEY_SOPPATH "edit.smooth"
90 #define MSS_KEY_EDIT_TOGGLE_SLOPPY MSS_KEY_SOPPATH "edit.toggle_sloppy_select"
91 
92 // For the UVPelt Selector:
93 #define MSS_KEY_UVPELT_VISUALIZE MSS_KEY_SOPPATH "uvpelt.visualize"
94 
95 // For the UVEdit State:
96 #define MSS_KEY_UVEDIT_TOGGLE_SEW MSS_KEY_SOPPATH "uvedit.toggle_sew"
97 #define MSS_KEY_UVEDIT_SMOOTH MSS_KEY_SOPPATH "uvedit.smooth"
98 #define MSS_KEY_UVEDIT_TOGGLE_SLOPPY MSS_KEY_SOPPATH "uvedit.toggle_sloppy_select"
99 
100 // For the UVFlatten State:
101 #define MSS_KEY_UVFLATTEN_TOGGLE_MODE MSS_KEY_SOPPATH "uvflatten.mode"
102 #define MSS_KEY_UVFLATTEN_FLATTEN_U MSS_KEY_SOPPATH "uvflatten.flatten_u"
103 #define MSS_KEY_UVFLATTEN_FLATTEN_V MSS_KEY_SOPPATH "uvflatten.flatten_v"
104 
105 // For the PolyExtrude 2.0 State:
106 #define MSS_KEY_EXTRUDE2_TOGGLE_XFORM MSS_KEY_SOPPATH "polyextrude2.toggle_xform"
107 #define MSS_KEY_EXTRUDE2_TOGGLE_MODE MSS_KEY_SOPPATH "polyextrude2.toggle_mode"
108 
109 // For the AgentCollisionLayer State:
110 #define MSS_KEY_AGENTCOLLISIONLAYER_TOGGLE_MODE MSS_KEY_SOPPATH "agentcollisionlayer.mode"
111 
112 // For the Agent Configure Joints State:
113 #define MSS_KEY_AGENTCONFIGUREJOINTS_INITLIMITS MSS_KEY_SOPPATH "agentconfigurejoints.initlimits"
114 
115 // For the TopoBuild State:
116 #define MSS_KEY_TOPOBUILD_BUILD MSS_KEY_SOPPATH "topobuild.build"
117 #define MSS_KEY_TOPOBUILD_SLIDE MSS_KEY_SOPPATH "topobuild.slide"
118 #define MSS_KEY_TOPOBUILD_SPLIT MSS_KEY_SOPPATH "topobuild.split"
119 #define MSS_KEY_TOPOBUILD_BRUSH MSS_KEY_SOPPATH "topobuild.brush"
120 #define MSS_KEY_TOPOBUILD_SMOOTH MSS_KEY_SOPPATH "topobuild.smooth"
121 #define MSS_KEY_TOPOBUILD_SKIN MSS_KEY_SOPPATH "topobuild.skin"
122 #define MSS_KEY_TOPOBUILD_COLLAPSE MSS_KEY_SOPPATH "topobuild.collapse"
123 #define MSS_KEY_TOPOBUILD_CIRCLE MSS_KEY_SOPPATH "topobuild.circle"
124 #define MSS_KEY_TOPOBUILD_SPACING MSS_KEY_SOPPATH "topobuild.spacing"
125 #define MSS_KEY_TOPOBUILD_STRAIGHTEN MSS_KEY_SOPPATH "topobuild.straighten"
126 #define MSS_KEY_TOPOBUILD_SKINALIGN MSS_KEY_SOPPATH "topobuild.skinalign"
127 #define MSS_KEY_TOPOBUILD_SKINTRANSLATE MSS_KEY_SOPPATH "topobuild.skintranslate"
128 #endif