HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DM_Defines.h File Reference
#include <UT/UT_Array.h>
#include <GU/GU_SelectType.h>
#include <BM/BM_KeyBindings.h>
#include <RE/RE_Types.h>
+ Include dependency graph for DM_Defines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DM_ViewportMBlurDOFParms
 

Macros

#define DM_DRAW_SELECTED   0x01
 
#define DM_DRAW_NONSELECTED   0x02
 
#define DM_DRAW_ALL   (DM_DRAW_SELECTED | DM_DRAW_NONSELECTED)
 
#define DM_PICKED_NOTHING   0
 
#define DM_PICKED_POINT   1
 
#define DM_PICKED_EDGE   2
 
#define DM_PICKED_NORMAL   3
 
#define DM_PICKED_PRIMITIVE   4
 
#define DM_VIEWPORT_MAX_PICK_DIST   RE_MAX_PICK_DIST
 
#define DM_VIEWPORT_SNAP_NEAR_PICK_DIST   RE_MAX_PICK_DIST
 
#define DM_VIEWPORT_HANDLE_PICK_DIST   5
 
#define DM_VIEWPORT_HANDLE_PICK_OVERLAP_DIST   5
 
#define DM_VIEWPORT_GEO_PICK_DIST   5
 
#define DM_VIEWPORT_GEO_PICK_OVERLAP_DIST   5
 
#define DM_VIEWPORT_SNAP_PICK_DIST   10
 
#define DM_VIEWPORT_SNAP_PICK_OVERLAP_DIST   10
 
#define DM_X_AXIS   'X'
 
#define DM_Y_AXIS   'Y'
 
#define DM_Z_AXIS   'Z'
 
#define DM_x_AXIS   'x'
 
#define DM_y_AXIS   'y'
 
#define DM_z_AXIS   'z'
 
#define DM_ROTATE_BY   45
 
#define DM_PRIMARY_BUTTON   UI_LEFT_BUTTON
 
#define DM_SECONDARY_BUTTON   UI_MIDDLE_BUTTON
 
#define DM_TERTIARY_BUTTON   UI_RIGHT_BUTTON
 
#define DM_SELECTDRAG_BUTTON   UI_LEFT_BUTTON
 
#define DM_SAFESELECT_BUTTON   UI_MIDDLE_BUTTON
 
#define DM_FINISH_BUTTON   UI_RIGHT_BUTTON
 
#define DM_VIEW_MEMORY_NAME   "View"
 
#define DM_SNAPSHOT_MEMORY_NAME   "Snapshot"
 
#define DM_LABEL_HOFFSET   0.15
 
#define DM_LABEL_VOFFSET   0.05
 

Enumerations

enum  DM_SelectionStyle {
  DM_STYLE_UNKNOWN = -1, DM_STYLE_BOX_PICK = 0, DM_STYLE_LASSO_PICK, DM_STYLE_BRUSH_PICK,
  DM_STYLE_LASER_PICK, DM_STYLE_NUM_ENTRIES
}
 
enum  {
  DM_OBJ_GEO = 0x00000001, DM_OBJ_CAM = 0x00000002, DM_OBJ_LIGHT = 0x00000004, DM_OBJ_BONE = 0x00000008,
  DM_OBJ_NULL = 0x00000010, DM_OBJ_BLEND = 0x00000020, DM_OBJ_OTHER = 0x00000040, DM_OBJ_ALL = 0x0000007F
}
 
enum  DM_SelectionFacing { DM_SEL_ALLOW_FRONT_AND_BACK = 0, DM_SEL_ALLOW_FRONT, DM_SEL_ALLOW_BACK, DM_SEL_ALLOW_NUM }
 
enum  { DM_SEL_CONNECTIVITY_VIEWPORT = 0, DM_SEL_CONNECTIVITY_3D, DM_SEL_CONNECTIVITY_UV, DM_SEL_CONNECTIVITY_NUM_ENTRIES }
 
enum  {
  DM_CLIPPLANE_TOP = 0, DM_CLIPPLANE_BOTTOM, DM_CLIPPLANE_LEFT, DM_CLIPPLANE_RIGHT,
  DM_CLIPPLANE_FRONT, DM_CLIPPLANE_BACK, DM_NUM_CLIPPLANES
}
 
enum  DM_SelectMode {
  DM_SELECTMODE_INVALID = -1, DM_SELECTMODE_OBJECT = 0, DM_SELECTMODE_GEOMETRY, DM_SELECTMODE_DYNAMICS,
  DM_NUM_SELECTMODES
}
 
enum  DM_DopSelectMode { DM_DOPSELECTMODE_DETAILS = 0, DM_DOPSELECTMODE_POINTS, DM_DOPSELECTMODE_POLYGONS, DM_NUM_DOPSELECTMODES }
 
enum  DM_InspectMode { DM_INSPECTMODE_OBJECTS = 0, DM_INSPECTMODE_PRIMITIVES, DM_INSPECTMODE_PIXELS, DM_NUM_INSPECTMODES }
 
enum  DM_InfoTextMode { DM_INFOTEXT_OFF = 0, DM_INFOTEXT_SELECTED_ONLY, DM_INFOTEXT_ALWAYS }
 
enum  DM_GeoSortMode { DM_GEO_UNSORTED = 0, DM_GEO_SORTED_NEAR_FIRST, DM_GEO_SORTED_FAR_FIRST }
 
enum  DM_SnapMode {
  DM_SNAP_MODE_NONE = -1, DM_SNAP_MODE_GRID = 0, DM_SNAP_MODE_PRIM, DM_SNAP_MODE_POINT,
  DM_SNAP_MODE_MULTI, DM_SNAP_MODE_LAST
}
 mode types for snapping More...
 
enum  DM_SnapshotOptionType { DM_SNAPSHOT_HIDE_AT_SOURCE, DM_SNAPSHOT_ALPHA_VALUE, DM_SNAPSHOT_VISIBLE_OBJECTS, DM_SNAPSHOT_HIDE_HANDLES }
 Enumerates options that can change and whose changes are broadcast. More...
 
enum  DM_SelectionModifierKeys { DM_SMK_TOGGLE_REMOVE_ADD, DM_SMK_ADD_TOGGLE_REMOVE }
 

Macro Definition Documentation

#define DM_DRAW_ALL   (DM_DRAW_SELECTED | DM_DRAW_NONSELECTED)

Definition at line 26 of file DM_Defines.h.

#define DM_DRAW_NONSELECTED   0x02

Definition at line 25 of file DM_Defines.h.

#define DM_DRAW_SELECTED   0x01

Definition at line 24 of file DM_Defines.h.

#define DM_FINISH_BUTTON   UI_RIGHT_BUTTON

Definition at line 186 of file DM_Defines.h.

#define DM_LABEL_HOFFSET   0.15

Definition at line 192 of file DM_Defines.h.

#define DM_LABEL_VOFFSET   0.05

Definition at line 193 of file DM_Defines.h.

#define DM_PICKED_EDGE   2

Definition at line 32 of file DM_Defines.h.

#define DM_PICKED_NORMAL   3

Definition at line 33 of file DM_Defines.h.

#define DM_PICKED_NOTHING   0

Definition at line 30 of file DM_Defines.h.

#define DM_PICKED_POINT   1

Definition at line 31 of file DM_Defines.h.

#define DM_PICKED_PRIMITIVE   4

Definition at line 34 of file DM_Defines.h.

#define DM_PRIMARY_BUTTON   UI_LEFT_BUTTON

Definition at line 180 of file DM_Defines.h.

#define DM_ROTATE_BY   45

Definition at line 69 of file DM_Defines.h.

#define DM_SAFESELECT_BUTTON   UI_MIDDLE_BUTTON

Definition at line 185 of file DM_Defines.h.

#define DM_SECONDARY_BUTTON   UI_MIDDLE_BUTTON
Examples:
SOP/MSS_CustomBrushState.C.

Definition at line 181 of file DM_Defines.h.

#define DM_SELECTDRAG_BUTTON   UI_LEFT_BUTTON

Definition at line 184 of file DM_Defines.h.

#define DM_SNAPSHOT_MEMORY_NAME   "Snapshot"

Definition at line 190 of file DM_Defines.h.

#define DM_TERTIARY_BUTTON   UI_RIGHT_BUTTON

Definition at line 182 of file DM_Defines.h.

#define DM_VIEW_MEMORY_NAME   "View"

Definition at line 189 of file DM_Defines.h.

#define DM_VIEWPORT_GEO_PICK_DIST   5

Definition at line 42 of file DM_Defines.h.

#define DM_VIEWPORT_GEO_PICK_OVERLAP_DIST   5

Definition at line 43 of file DM_Defines.h.

#define DM_VIEWPORT_HANDLE_PICK_DIST   5

Definition at line 40 of file DM_Defines.h.

#define DM_VIEWPORT_HANDLE_PICK_OVERLAP_DIST   5

Definition at line 41 of file DM_Defines.h.

#define DM_VIEWPORT_MAX_PICK_DIST   RE_MAX_PICK_DIST

Definition at line 38 of file DM_Defines.h.

#define DM_VIEWPORT_SNAP_NEAR_PICK_DIST   RE_MAX_PICK_DIST

Definition at line 39 of file DM_Defines.h.

#define DM_VIEWPORT_SNAP_PICK_DIST   10

Definition at line 44 of file DM_Defines.h.

#define DM_VIEWPORT_SNAP_PICK_OVERLAP_DIST   10

Definition at line 45 of file DM_Defines.h.

#define DM_X_AXIS   'X'

Definition at line 60 of file DM_Defines.h.

#define DM_x_AXIS   'x'

Definition at line 63 of file DM_Defines.h.

#define DM_Y_AXIS   'Y'

Definition at line 61 of file DM_Defines.h.

#define DM_y_AXIS   'y'

Definition at line 64 of file DM_Defines.h.

#define DM_Z_AXIS   'Z'

Definition at line 62 of file DM_Defines.h.

#define DM_z_AXIS   'z'

Definition at line 65 of file DM_Defines.h.

Enumeration Type Documentation

anonymous enum
Enumerator
DM_OBJ_GEO 
DM_OBJ_CAM 
DM_OBJ_LIGHT 
DM_OBJ_BONE 
DM_OBJ_NULL 
DM_OBJ_BLEND 
DM_OBJ_OTHER 
DM_OBJ_ALL 

Definition at line 71 of file DM_Defines.h.

anonymous enum
Enumerator
DM_SEL_CONNECTIVITY_VIEWPORT 
DM_SEL_CONNECTIVITY_3D 
DM_SEL_CONNECTIVITY_UV 
DM_SEL_CONNECTIVITY_NUM_ENTRIES 

Definition at line 89 of file DM_Defines.h.

anonymous enum
Enumerator
DM_CLIPPLANE_TOP 
DM_CLIPPLANE_BOTTOM 
DM_CLIPPLANE_LEFT 
DM_CLIPPLANE_RIGHT 
DM_CLIPPLANE_FRONT 
DM_CLIPPLANE_BACK 
DM_NUM_CLIPPLANES 

Definition at line 96 of file DM_Defines.h.

Enumerator
DM_DOPSELECTMODE_DETAILS 
DM_DOPSELECTMODE_POINTS 
DM_DOPSELECTMODE_POLYGONS 
DM_NUM_DOPSELECTMODES 

Definition at line 117 of file DM_Defines.h.

Enumerator
DM_GEO_UNSORTED 
DM_GEO_SORTED_NEAR_FIRST 
DM_GEO_SORTED_FAR_FIRST 

Definition at line 144 of file DM_Defines.h.

Enumerator
DM_INFOTEXT_OFF 
DM_INFOTEXT_SELECTED_ONLY 
DM_INFOTEXT_ALWAYS 

Definition at line 137 of file DM_Defines.h.

Enumerator
DM_INSPECTMODE_OBJECTS 
DM_INSPECTMODE_PRIMITIVES 
DM_INSPECTMODE_PIXELS 
DM_NUM_INSPECTMODES 

Definition at line 127 of file DM_Defines.h.

Enumerator
DM_SEL_ALLOW_FRONT_AND_BACK 
DM_SEL_ALLOW_FRONT 
DM_SEL_ALLOW_BACK 
DM_SEL_ALLOW_NUM 

Definition at line 82 of file DM_Defines.h.

The set of modifier keys used for selections assigned on Shift, Ctrl, and Ctrl+Shift, respectively.

Enumerator
DM_SMK_TOGGLE_REMOVE_ADD 
DM_SMK_ADD_TOGGLE_REMOVE 

Definition at line 173 of file DM_Defines.h.

Enumerator
DM_STYLE_UNKNOWN 
DM_STYLE_BOX_PICK 
DM_STYLE_LASSO_PICK 
DM_STYLE_BRUSH_PICK 
DM_STYLE_LASER_PICK 
DM_STYLE_NUM_ENTRIES 

Definition at line 49 of file DM_Defines.h.

Enumerator
DM_SELECTMODE_INVALID 
DM_SELECTMODE_OBJECT 
DM_SELECTMODE_GEOMETRY 
DM_SELECTMODE_DYNAMICS 
DM_NUM_SELECTMODES 

Definition at line 108 of file DM_Defines.h.

mode types for snapping

Enumerator
DM_SNAP_MODE_NONE 
DM_SNAP_MODE_GRID 
DM_SNAP_MODE_PRIM 
DM_SNAP_MODE_POINT 
DM_SNAP_MODE_MULTI 
DM_SNAP_MODE_LAST 

Definition at line 152 of file DM_Defines.h.

Enumerates options that can change and whose changes are broadcast.

Enumerator
DM_SNAPSHOT_HIDE_AT_SOURCE 
DM_SNAPSHOT_ALPHA_VALUE 
DM_SNAPSHOT_VISIBLE_OBJECTS 
DM_SNAPSHOT_HIDE_HANDLES 

Definition at line 163 of file DM_Defines.h.