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
ROP_ActiveRenderer.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: ROP_ActiveRenderer.h (ROP Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __ROP_ActiveRenderer__
12
#define __ROP_ActiveRenderer__
13
14
#include "
ROP_API.h
"
15
16
#include <
UT/UT_IntArray.h
>
17
#include <
UT/UT_StringArray.h
>
18
19
class
UT_WorkArgs
;
20
21
class
ROP_API
ROP_ActiveRenderer
22
{
23
public
:
24
enum
25
{
26
// Renderer is active due to:
27
ENVIRONMENT = 1,
// Environment flag
28
PREFERENCE = 2,
// Preference
29
ROP = 4
// ROP placement
30
};
31
public
:
32
static
const
char
*getLabel(
uint
index
);
33
static
const
char
*getParmType(
uint
index
);
34
static
uint
getRendererCount();
35
static
uint
getActiveCount();
36
static
const
char
*getShopType(
uint
index
);
37
static
bool
isActive(
uint
index
);
38
static
void
setActive(
uint
index
,
int
type
,
bool
active
);
39
static
int
getActiveSource(
uint
index
);
40
41
static
void
setActiveFromString(
const
UT_String
&renderers,
42
int
type
);
43
static
void
clearAllActive(
int
type
);
44
45
static
void
setShowAllROPs(
bool
flag );
46
static
bool
getShowAllROPs();
47
48
private
:
49
static
void
loadRenderers(
const
char
*
filename
);
50
51
static
UT_StringArray
theLabels;
52
static
UT_StringArray
theParmTypes;
53
static
UT_StringArray
theShopTypes;
54
static
UT_IntArray
theActiveSource;
55
static
bool
theLoadedFlag;
56
static
bool
theShowAllROPsFlag;
57
};
58
59
#endif
60
UT_WorkArgs
Definition:
UT_WorkArgs.h:25
GT_Names::filename
GT_API const UT_StringHolder filename
UT_IntArray.h
UT_StringArray.h
UT_ValArray< int >
ROP_API
#define ROP_API
Definition:
ROP_API.h:10
ROP_API.h
UT_StringArray
Definition:
UT_StringArray.h:24
active
that also have some descendant prim *whose name begins with which in turn has a child named baz where *the predicate active
Definition:
pathExpression.h:58
ROP_ActiveRenderer
Definition:
ROP_ActiveRenderer.h:21
index
GLuint index
Definition:
glcorearb.h:786
UT_String
Definition:
UT_String.h:73
type
type
Definition:
core.h:1059
uint
unsigned int uint
Definition:
SYS_Types.h:45
ROP
ROP_ActiveRenderer.h
Generated on Sun Nov 24 2024 02:46:25 for HDK by
1.8.6