HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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.
50
UT_API
const
UT_StringArray
&
UTgetGalleryItemColors
();
51
52
#endif
UTgetGalleryItemColorIcon
UT_API const char * UTgetGalleryItemColorIcon(const UT_StringRef &clr)
Return the icon resource to use for the given gallery item color.
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
UT_StringRef
Definition:
UT_StringHolder.h:188
UT_Options.h
UT_StringHolder
Definition:
UT_StringHolder.h:999
UT_StringArray
Definition:
UT_StringArray.h:24
UT_Gallery::DiffMarker
DiffMarker
Definition:
UT_GalleryTypes.h:40
UT_Gallery::B
Definition:
UT_GalleryTypes.h:40
UTgetGalleryItemColorLabel
UT_API const char * UTgetGalleryItemColorLabel(const UT_StringRef &clr)
Return the label to use for the given gallery item color.
UT_StringLit
Definition:
UT_StringHolder.h:85
UT_StringHolder.h
UT_Gallery::None
Definition:
UT_GalleryTypes.h:40
UT_Gallery::A
Definition:
UT_GalleryTypes.h:40
UTgetGalleryItemColors
UT_API const UT_StringArray & UTgetGalleryItemColors()
Return the icon resource to use for the given gallery item color.
UT
UT_GalleryTypes.h
Generated on Thu Oct 10 2024 02:50:07 for HDK by
1.8.6