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
GU_SelectType.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: GU_Selection (C++)
7
*
8
* COMMENTS:
9
* Base class of a gdp selection. This clas hides the actual type
10
* of selection (point, edge, primitive, etc)
11
*
12
*
13
*/
14
15
#ifndef __GU_SelectType_h__
16
#define __GU_SelectType_h__
17
18
#include <
UT/UT_SharedPtr.h
>
19
#include <
SYS/SYS_Deprecated.h
>
20
21
class
GU_Selection
;
22
23
/// Shared pointer to a selection. Used to pass them around the system since
24
/// we have to be careful about ownership passing around.
25
typedef
UT_SharedPtr<GU_Selection>
GU_SelectionHandle
;
26
27
28
// Types of known selections:
29
enum
SYS_DEPRECATED
(15.0)
GU_SelectionType
30
{
31
GU_SInvalid
= -1,
32
GU_SPoint
= 0,
33
GU_SVertex
= 1,
34
GU_SEdge
= 2,
35
GU_SBreakpoint
= 3,
36
GU_SPrimitive
= 4,
37
};
38
39
// Different ways to combine selections.
40
enum
GU_SelectionRule
41
{
42
GU_InvalidSelect
= -1,
43
GU_AddSelect
= 0,
44
GU_ToggleSelect
= 1,
45
GU_RemoveSelect
= 2,
46
GU_ReplaceSelect
= 3,
47
GU_IntersectSelect
= 4,
48
GU_NumSelectionRules
= 5
49
};
50
51
// Possible results of a select operation.
52
enum
GU_SelectionResult
53
{
54
GU_SelectionAdd
,
55
GU_SelectionRemove
,
56
GU_SelectionNone
57
};
58
59
enum
GU_ModifyType
60
{
61
GU_ModifyAdd
,
62
GU_ModifyToggle
,
63
GU_ModifyRemove
64
};
65
66
enum
GU_Connectivity
67
{
68
GU_CONNECTIVITY_NONE
= -1,
69
GU_CONNECTIVITY_3D
= 0,
70
GU_CONNECTIVITY_UV
= 1,
71
GU_CONNECTIVITY_CUT
= 2
72
};
73
74
#endif
GU_ModifyAdd
Definition:
GU_SelectType.h:61
UT_SharedPtr.h
SYS_DEPRECATED
#define SYS_DEPRECATED(__V__)
Definition:
SYS_Deprecated.h:38
GU_ReplaceSelect
Definition:
GU_SelectType.h:46
GU_SelectionRemove
Definition:
GU_SelectType.h:55
GU_SBreakpoint
Definition:
GU_SelectType.h:35
GU_AddSelect
Definition:
GU_SelectType.h:43
GU_SelectionNone
Definition:
GU_SelectType.h:56
GU_SEdge
Definition:
GU_SelectType.h:34
GU_InvalidSelect
Definition:
GU_SelectType.h:42
GU_SPrimitive
Definition:
GU_SelectType.h:36
GU_ToggleSelect
Definition:
GU_SelectType.h:44
GU_SelectionHandle
UT_SharedPtr< GU_Selection > GU_SelectionHandle
Definition:
GU_SelectType.h:21
GU_SVertex
Definition:
GU_SelectType.h:33
UT_SharedPtr
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition:
UT_SharedPtr.h:36
GU_CONNECTIVITY_NONE
Definition:
GU_SelectType.h:68
GU_SelectionRule
GU_SelectionRule
Definition:
GU_SelectType.h:40
GU_IntersectSelect
Definition:
GU_SelectType.h:47
GU_Connectivity
GU_Connectivity
Definition:
GU_SelectType.h:66
GU_SelectionAdd
Definition:
GU_SelectType.h:54
GU_CONNECTIVITY_UV
Definition:
GU_SelectType.h:70
GU_NumSelectionRules
Definition:
GU_SelectType.h:48
GU_SInvalid
Definition:
GU_SelectType.h:31
GU_SelectionType
GU_SelectionType
Definition:
GU_SelectType.h:29
GU_SelectionResult
GU_SelectionResult
Definition:
GU_SelectType.h:52
GU_CONNECTIVITY_3D
Definition:
GU_SelectType.h:69
GU_SPoint
Definition:
GU_SelectType.h:32
GU_CONNECTIVITY_CUT
Definition:
GU_SelectType.h:71
GU_RemoveSelect
Definition:
GU_SelectType.h:45
GU_Selection
Definition:
GU_Selection.h:139
GU_ModifyType
GU_ModifyType
Definition:
GU_SelectType.h:59
SYS_Deprecated.h
GU_ModifyToggle
Definition:
GU_SelectType.h:62
GU_ModifyRemove
Definition:
GU_SelectType.h:63
GU
GU_SelectType.h
Generated on Sat Jan 18 2025 02:44:04 for HDK by
1.8.6