HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_GalleryTypes.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  * COMMENTS:
7  */
8 
9 #ifndef UT_GALLERYTYPES_H
10 #define UT_GALLERYTYPES_H
11 
12 #include "UT_API.h"
13 #include "UT_Options.h"
14 #include "UT_StringHolder.h"
15 
16 namespace UT_Gallery
17 {
18  /// Tag to indicate a snapshot was generated automatically (on a timer).
19  static const UT_StringLit AUTO_TAG = "auto";
20  /// Tag to indicate an item has been "starred" (marked as a favorite).
21  static const UT_StringLit STAR_TAG = "star";
22 
23  /// String to identify data source items that are render snapshots.
24  static const UT_StringLit ITEM_TYPE_SNAPSHOT = "snapshot";
25  /// String to identify data source items that are USD/geometry assets.
26  static const UT_StringLit ITEM_TYPE_ASSET = "asset";
27  /// String to identify data source items that are materials.
28  static const UT_StringLit ITEM_TYPE_MATERIAL = "material";
29  /// String to identify data source items that are just folders.
30  static const UT_StringLit ITEM_TYPE_FOLDER = "folder";
31 
32  /// String specifying the metadata key used to store the clone id if the
33  /// item is being rendered by a Houdini Clone.
34  static const UT_StringLit METADATA_CLONEID = "cloneid";
35 
36  /// Constant string representing an in-memory database backend source
37  /// for a gallery model.
38  static const UT_StringHolder IN_MEMORY_DATABASE = ":memory:";
39 
40  enum DiffMarker { A, B, None };
41 };
42 
43 /// Return the label to use for the given gallery item color.
44 UT_API const char *UTgetGalleryItemColorLabel(const UT_StringRef &clr);
45 
46 /// Return the icon resource to use for the given gallery item color.
47 UT_API const char *UTgetGalleryItemColorIcon(const UT_StringRef &clr);
48 
49 /// Return the icon resource to use for the given gallery item color.
51 
52 #endif
#define UT_API
Definition: UT_API.h:14