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
OP_EditorContext.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_EditorContext.h ( OP Library, C++)
7
*
8
* COMMENTS: Data structure holding information about a network editor that
9
* may affect the way nodes are represented in that pane. One such
10
* use is to track which nodes contributed to the current/display
11
* node's cooked data.
12
*/
13
14
#ifndef __OP_EditorContext__
15
#define __OP_EditorContext__
16
17
#include "
OP_API.h
"
18
#include <
UT/UT_ArraySet.h
>
19
20
class
OP_API
OP_EditorContext
21
{
22
public
:
23
OP_EditorContext
();
24
~
OP_EditorContext
();
25
26
void
clearCookSet
()
27
{ myCookSet.clear(); }
28
void
addNodeToCookSet
(
int
id
)
29
{ myCookSet.insert(
id
); }
30
bool
cookSetContainsNode
(
int
id
)
const
31
{
return
myCookSet.contains(
id
); }
32
33
void
setUseCookSetLook
(
bool
use_cook_set)
34
{ myUseCookSetLook = use_cook_set; }
35
bool
useCookSetLook
()
const
36
{
return
myUseCookSetLook; }
37
38
private
:
39
UT_ArraySet<int>
myCookSet;
40
bool
myUseCookSetLook;
41
};
42
43
#endif
44
UT::ArraySet
Definition:
UT_ArraySet.h:167
OP_API.h
OP_EditorContext::useCookSetLook
bool useCookSetLook() const
Definition:
OP_EditorContext.h:35
OP_EditorContext::cookSetContainsNode
bool cookSetContainsNode(int id) const
Definition:
OP_EditorContext.h:30
UT_ArraySet.h
OP_EditorContext
Definition:
OP_EditorContext.h:20
OP_EditorContext::addNodeToCookSet
void addNodeToCookSet(int id)
Definition:
OP_EditorContext.h:28
OP_EditorContext::setUseCookSetLook
void setUseCookSetLook(bool use_cook_set)
Definition:
OP_EditorContext.h:33
OP_API
#define OP_API
Definition:
OP_API.h:10
OP_EditorContext::clearCookSet
void clearCookSet()
Definition:
OP_EditorContext.h:26
OP
OP_EditorContext.h
Generated on Thu Nov 21 2024 02:43:55 for HDK by
1.8.6