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_ElementGroup.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 Library (C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __GU_ElementGroup_h__
13
#define __GU_ElementGroup_h__
14
15
#include "
GU_Group.h
"
16
17
class
GU_Detail
;
18
class
GA_ElementGroup
;
19
class
GA_Group
;
20
21
class
GU_API
GU_ElementGroup
:
public
GU_Group
22
{
23
public
:
24
GU_ElementGroup
(
GU_Detail
*gdp);
25
~
GU_ElementGroup
()
override
;
26
27
// Select items based on a boolean operation done between one or two
28
// different groups (e.g. intersect, union, subtraction, negation).
29
// Returns false if any error was encountered and true otherwise.
30
bool
boolean
(
GU_GroupBoolOp
boolop,
31
const
UT_String
&group1,
bool
negate1,
32
const
UT_String
&group2,
bool
negate2
33
)
const override
;
34
35
bool
boolean
(
GU_GroupBoolOp
boolop,
36
GA_Group
*group1,
bool
negate1,
37
GA_Group
*group2,
bool
negate2
38
)
const override
;
39
40
GA_ElementGroup
* elementGroup()
const
;
41
42
protected
:
43
/// Determines whether threading should be enabled, based on the size of
44
/// the range being processed and whether the group is unordered.
45
/// If threading is enabled, calls grp.invalidateGroupEntries() since
46
/// elements will be toggled in parallel.
47
static
bool
enableThreadedWrites(
GA_ElementGroup
&grp,
exint
range_entries);
48
};
49
50
#endif
GA_Group
Definition:
GA_Group.h:35
GU_GroupBoolOp
GU_GroupBoolOp
Definition:
GU_Group.h:109
exint
int64 exint
Definition:
SYS_Types.h:125
GU_Group
Definition:
GU_Group.h:131
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_Group.h
GU_Detail
Definition:
GU_Detail.h:154
GU_Group::boolean
virtual bool boolean(GU_GroupBoolOp boolop, const UT_String &group1, bool negate1, const UT_String &group2, bool negate2) const
GA_ElementGroup
Definition:
GA_ATIGroupBool.h:54
UT_String
Definition:
UT_String.h:73
GU_ElementGroup
Definition:
GU_ElementGroup.h:21
GU
GU_ElementGroup.h
Generated on Sun Nov 17 2024 03:01:17 for HDK by
1.8.6