HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DD_Defines.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: DD_Define.h
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __DD_Define__
12 #define __DD_Define__
13 
14 enum DD_State {
19 };
20 
21 //
22 // Some common drag-n-drop attributes
23 // which are supplied by the sender
24 //
25 // Strings are chose over enumerated types
26 // so custom drag-n-drop objects will have
27 // a smaller chance of name collision.
28 //
29 
30 #define DD_DATA_TEXT "text"
31 #define DD_LABEL_TEXT "Text"
32 
33 // the data parameter is a (void *)int to index between multiple choices
34 #define DD_DATA_PARM_PATH "parm_path"
35 #define DD_LABEL_PARM_PATH "Parameter Path"
36 
37 #define DD_DATA_CHAN_PATH "chan_path"
38 #define DD_DATA_FLAG_PATH "flag_path"
39 
40 // the node and track are separated by a space since track names may
41 // have slashes in them
42 #define DD_DATA_TRACK_PATH "track_path"
43 
44 // the data parameter is a (void *)int to index between multiple choices
45 #define DD_DATA_OP_PATH "op_path"
46 #define DD_LABEL_OP_PATH "Node Path"
47 
48 #define DD_DATA_ITEM_PATH "item_path"
49 #define DD_LABEL_ITEM_PATH "Nwtwork Item Path"
50 #define DD_DATA_PERS_HANDLE_PATH "persistent_handle_path"
51 
52 // returns the name of a take
53 #define DD_DATA_TAKE_NAME "take_name"
54 
55 // returns a pointer to an OP_GalleryEntry or the gallery entry name
56 #define DD_DATA_GALLERY_ENTRY "gallery_entry"
57 #define DD_DATA_GALLERY_ENTRY_NAME "gallery_entry_name"
58 #define DD_LABEL_GALLERY_ENTRY_NAME "Gallery Entry"
59 
60 // returns a pointer to SHLF_Tool or the shelf tool name
61 #define DD_DATA_SHELF_TOOL "shelf_tool"
62 #define DD_DATA_SHELF_TOOL_NAME "shelf_tool_name"
63 #define DD_LABEL_SHELF_TOOL_NAME "Shelf Tool"
64 
65 // Returns the name of the node type
66 #define DD_DATA_ASSET_GUID "asset_guid"
67 #define DD_LABEL_ASSET_GUID "Asset Guid"
68 #define DD_DATA_ASSETTOOL_NAME "asset_tool_name"
69 #define DD_LABEL_ASSETTOOL_NAME "Asset Tool"
70 #define DD_DATA_FOLDER_GUID "folder_guid"
71 #define DD_LABEL_FOLDER_GUID "Folder Guid"
72 
73 // returns a pointer to OPUI_ToolbarItem
74 #define DD_DATA_SHELF_TOOL_BUTTON "shelf_tool_button"
75 
76 // returns a pointer to the OPUI_Toolbar or the shelf name
77 #define DD_DATA_SHELF_TOOLBAR "shelf_toolbar"
78 #define DD_DATA_SHELF_TOOLBAR_NAME "shelf_toolbar_name"
79 #define DD_LABEL_SHELF_TOOLBAR_NAME "Shelf"
80 
81 // returns a pointer to FUSE_DesktopNode or the name of the pane tab
82 #define DD_DATA_DESKTOP_NODE "desktop_node"
83 #define DD_DATA_DESKTOP_NODE_NAME "desktop_node_name"
84 #define DD_LABEL_DESKTOP_NODE_NAME "Pane Tab"
85 
86 #define DD_DATA_DOPDATA_PYTHON "dopdata_python"
87 #define DD_LABEL_DOPDATA_PYTHON "DopData as Python expr"
88 #define DD_DATA_DOPDATA_HSCRIPT_FLOAT "dopdata_hscript_float"
89 #define DD_LABEL_DOPDATA_HSCRIPT_FLOAT "DopData as Hscript float"
90 #define DD_DATA_DOPDATA_HSCRIPT_STRING "dopdata_hscript_string"
91 #define DD_LABEL_DOPDATA_HSCRIPT_STRING "dopdata as Hscript string"
92 
93 // Returns a path to a primitive, which is essentially the SOP path
94 // ('/obj/foo/mysop') plus the primitive path name (can be partial) separated
95 // by a colon (e.g: '/obj/foo/mysop:/alembic/foo/prim')
96 #define DD_DATA_PRIM_PATH "prim_path"
97 #define DD_LABEL_PRIM_PATH "Primitive Path"
98 
99 // Visualizder
100 #define DD_DATA_VISUALIZER "visualizer"
101 #define DD_LABEL_VISUALIZER "Visualizer"
102 
103 // USD Primitives and collections
104 #define DD_DATA_USDPRIMPATH "usdprimpath"
105 
106 //
107 // Some attributes which receivers can derive given the above
108 //
109 
110 //
111 // parameter
112 //
113 
114 #define DD_DATA_CHAN_VALUE "chan_value"
115 #define DD_LABEL_CHAN_VALUE "Current Channel Value"
116 
117 
118 #define DD_DATA_CHAN_EXPR "chan_express"
119 #define DD_LABEL_CHAN_EXPR "Channel Expression"
120 
121 #define DD_DATA_CHAN_REF_ABS "chan_ref_abs"
122 #define DD_LABEL_CHAN_REF_ABS "Absolute Channel Reference"
123 
124 #define DD_DATA_CHAN_REF_REL "chan_ref_rel"
125 #define DD_LABEL_CHAN_REF_REL "Relative Channel Reference"
126 
127 #define DD_DATA_COPY_CHANNEL "copy_channel"
128 #define DD_LABEL_COPY_CHANNEL "Copy Channel"
129 
130 #define DD_DATA_CHAN_GROUPS "chgroups"
131 #define DD_LABEL_CHAN_GROUPS "Channel Groups"
132 
133 #define DD_DATA_SI_TREENODES "si_tree_nodes"
134 
135 //
136 // chop
137 //
138 //
139 
140 #define DD_DATA_TRACK_VALUE "chop_value"
141 #define DD_LABEL_TRACK_VALUE "Current CHOP Value"
142 
143 #define DD_DATA_TRACK_REF_ABS "chop_ref_abs"
144 #define DD_LABEL_TRACK_REF_ABS "CHOP Reference"
145 
146 #define DD_DATA_TRACK_REF_REL "chop_ref_rel"
147 #define DD_LABEL_TRACK_REF_REL "Relative CHOP Reference"
148 
149 #define DD_DATA_TRACK_EXPORT "chop_export"
150 #define DD_LABEL_TRACK_EXPORT "Export CHOP"
151 
152 #endif
153 
154 
DD_State
Definition: DD_Defines.h:14