HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OP_DataTypes.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: OP library (C++)
7  *
8  * COMMENTS: Data types for cooked data
9  *
10  */
11 
12 #ifndef __OP_DataTypes_h__
13 #define __OP_DataTypes_h__
14 
15 #include <SYS/SYS_Deprecated.h>
16 #include <UT/UT_ValArray.h>
17 #include <UT/UT_IntrusivePtr.h>
18 
19 class OP_NetworkBoxItem;
20 class OP_Node;
22 
26 
28 {
29  OP_NO_DATA, // No cooked data associated with the node
30  OP_GEOMETRY_DATA, // Cooked data in geometry format
31  OP_TRANSFORM_DATA, // Cooked data as a transform
32  OP_OTHER_DATA, // Generic catch all
33  OP_CHANNEL_DATA, // Channel collection output
34  OP_SHADER_DATA, // Shader data
35  OP_SIM_DATA, // Dynamics data
36  OP_RASTER_DATA, // Raster data
37  OP_POP_DATA, // Particle data
38  OP_SCENE_DATA, // Scene description
39  OP_NUM_DATA_TYPES // sentinel
40 };
41 // For backwards
43 
45 {
46  OP_INTEREST_NONE = 0x00, // I'm not interested
47  OP_INTEREST_PARM = 0x01, // interested in a parameter changes (rare)
48  OP_INTEREST_DATA = 0x02, // interested in op data changes (usual)
49  OP_INTEREST_FLAG = 0x04, // interested in flag changes (e.g.display flg)
50 
51  // OP_INTEREST_NAME should NOT be used with addExtraInput().
52  // It should only be used with addOpReference() or addOpNameReference().
53  OP_INTEREST_NAME = 0x08, // interested in OP name changes
54 
55  OP_INTEREST_INPUT = 0x10, // interested when inputs change
56  OP_INTEREST_OUTPUT = 0x20, // interested when outputs change
57  OP_INTEREST_INPUTREF= 0x40, // used for resolving input references
58 
59  // OP_INTEREST_NAME should NOT be used with addExtraInput().
60  // It should only be used with addOpReference() or addOpNameReference().
61  // interested in name & data:
65 
66  // The following acts as a sentinal
67  OP_INTEREST_ALL = 0xFFFFFFFF // Use this to match all interests
68 };
69 
70 /// An enumeration that indicates to the user, what aspect of a OP_Node's UI
71 /// representation changed, that caused the OP_UI_CHANGED event for that node
72 /// to be sent.
74 {
75  /// The change type wasn't set, so it could be any of them.
77  /// Errors/warnings got set/cleared.
79  /// The pick/selection state changed
81  /// The node's color changed
83  /// The node's delete script changed
85  /// The node's comment changed
87  /// The node's lock flag
89  /// The node's compress (thumbnail) flag changed
91  /// The node's OTL definition match state changed
93  /// The active input changed
95  /// The input/output connections have changed
97  /// The expression language changed
99 
100  /// A network box owned by this network changed
102  /// A post-it owned by this network changed
104  /// A dot owned by this network changed
106 
108 
110  /// \sa COP2_UIChangeType
112  /// \sa VOP_UIChangeType
114 };
115 
116 #endif
The change type wasn't set, so it could be any of them.
Definition: OP_DataTypes.h:76
The node's OTL definition match state changed.
Definition: OP_DataTypes.h:92
#define SYS_DEPRECATED(__V__)
The input/output connections have changed.
Definition: OP_DataTypes.h:96
A post-it owned by this network changed.
Definition: OP_DataTypes.h:103
The node's delete script changed.
Definition: OP_DataTypes.h:84
A dot owned by this network changed.
Definition: OP_DataTypes.h:105
UT_ValArray< OP_Node * > OP_NodeList
Definition: OP_DataTypes.h:24
UT_IntrusivePtr< OP_DataBlock > OP_DataBlockPtr
Definition: OP_DataTypes.h:25
The pick/selection state changed.
Definition: OP_DataTypes.h:80
The expression language changed.
Definition: OP_DataTypes.h:98
A network box owned by this network changed.
Definition: OP_DataTypes.h:101
OP_InterestType
Definition: OP_DataTypes.h:44
The node's lock flag.
Definition: OP_DataTypes.h:88
Wrapper around hboost::intrusive_ptr.
UT_ValArray< OP_NetworkBoxItem * > OP_NetworkBoxItemList
Definition: OP_DataTypes.h:21
OP_UIChangeType
Definition: OP_DataTypes.h:73
The node's compress (thumbnail) flag changed.
Definition: OP_DataTypes.h:90
The node's color changed.
Definition: OP_DataTypes.h:82
OP_DataType
Definition: OP_DataTypes.h:27
Errors/warnings got set/cleared.
Definition: OP_DataTypes.h:78
The active input changed.
Definition: OP_DataTypes.h:94
The node's comment changed.
Definition: OP_DataTypes.h:86