1SoBoolOperation(3IV)()                                  SoBoolOperation(3IV)()
2
3
4

NAME

6       SoBoolOperation — performs Boolean operations
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoEngine > SoBoolOperation
10

SYNOPSIS

12       #include <Inventor/engines/SoBoolOperation.h>
13
14     enum Operation {
15          SoBoolOperation::CLEAR
16          SoBoolOperation::SET
17          SoBoolOperation::A
18          SoBoolOperation::NOT_A
19          SoBoolOperation::B
20          SoBoolOperation::NOT_B
21          SoBoolOperation::A_OR_B
22          SoBoolOperation::NOT_A_OR_B
23          SoBoolOperation::A_OR_NOT_B
24          SoBoolOperation::NOT_A_OR_NOT_B
25
26          SoBoolOperation::A_AND_B
27          SoBoolOperation::NOT_A_AND_B
28          SoBoolOperation::A_AND_NOT_B
29          SoBoolOperation::NOT_A_AND_NOT_B
30
31          SoBoolOperation::A_EQUALS_B
32          SoBoolOperation::A_NOT_EQUALS_B
33
34     }
35
36          Inputs from class SoBoolOperation:
37
38     SoMFBool            a
39     SoMFBool            b
40     SoMFEnum            operation
41
42          Outputs from class SoBoolOperation:
43
44     (SoMFBool)          output
45     (SoMFBool)          inverse
46
47          Methods from class SoBoolOperation:
48
49                         SoBoolOperation()
50
51          Methods from class SoEngine:
52
53     static SoType       getClassTypeId()
54     virtual int         getOutputs(SoEngineOutputList &list) const
55     SoEngineOutput *    getOutput(const SbName &outputName) const
56     SbBool              getOutputName(const  SoEngineOutput  *output,  SbName
57                              &outputName) const
58     SoEngine *          copy() const
59     static SoEngine *   getByName(const SbName &name)
60     static int          getByName(const SbName &name, SoEngineList &list)
61
62          Methods from class SoFieldContainer:
63
64     void                setToDefaults()
65     SbBool              hasDefaultValues() const
66     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
67     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
68                              copyConnections = FALSE)
69     SbBool              set(const char *fieldDataString)
70     void                get(SbString &fieldDataString)
71     virtual int         getFields(SoFieldList &resultList) const
72     virtual SoField *   getField(const SbName &fieldName) const
73     SbBool              getFieldName(const SoField *field, SbName &fieldName)
74                              const
75     SbBool              isNotifyEnabled() const
76     SbBool              enableNotify(SbBool flag)
77
78          Methods from class SoBase:
79
80     void                ref()
81     void                unref() const
82     void                unrefNoDelete() const
83     void                touch()
84     virtual SoType      getTypeId() const
85     SbBool              isOfType(SoType type) const
86     virtual void        setName(const SbName &name)
87     virtual SbName      getName() const
88
89

DESCRIPTION

91       This engine performs a Boolean operation on  two  inputs,  and  returns
92       both the result of the operation and its inverse.
93
94       The  input fields can have multiple values, allowing the engine to per‐
95       form several Boolean operations in parallel. One input  may  have  more
96       values  than  the  other.  In  that case, the last value of the shorter
97       input will be repeated as necessary.
98

INPUTS

100     SoMFBool            a
101          First argument to the Boolean operation.
102
103     SoMFBool            b
104          Second argument to the Boolean operation.
105
106     SoMFEnum            operation
107          The Boolean operation.
108
109

OUTPUTS

111     (SoMFBool)          output
112          Result of the Boolean operation applied to the inputs.
113
114     (SoMFBool)          inverse
115          Inverse of output.
116
117

METHODS

119                         SoBoolOperation()
120          Constructor.
121
122

FILE FORMAT/DEFAULTS

124       BoolOperation {
125          a          FALSE
126          b          FALSE
127          operation  A
128     }
129

SEE ALSO

131       SoEngineOutput, SoCalculator
132
133
134
135
136                                                        SoBoolOperation(3IV)()
Impressum