OpenCMISS-Zinc 3.0.0 Release C++ API Documentation
|
An operator OR or AND specific scene filter type. More...
#include <scenefilter.hpp>
Public Member Functions | |
ScenefilterOperator (cmzn_scenefilter_operator_id operator_filter_id) | |
cmzn_scenefilter_operator_id | getDerivedId () |
int | appendOperand (const Scenefilter &operand) |
Scenefilter | getFirstOperand () |
Scenefilter | getNextOperand (const Scenefilter &refOperand) |
bool | isOperandActive (const Scenefilter &operand) |
int | setOperandActive (const Scenefilter &operand, bool isActive) |
int | insertOperandBefore (const Scenefilter &operand, const Scenefilter &refOperand) |
int | removeOperand (const Scenefilter &operand) |
Public Member Functions inherited from OpenCMISS::Zinc::Scenefilter | |
Scenefilter (cmzn_scenefilter_id in_filter_id) | |
Scenefilter (const Scenefilter &scenefilter) | |
Scenefilter & | operator= (const Scenefilter &scenefilter) |
bool | isValid () const |
cmzn_scenefilter_id | getId () const |
bool | isManaged () |
int | setManaged (bool value) |
bool | evaluateGraphics (const Graphics &graphics) |
bool | isInverse () |
int | setInverse (bool value) |
char * | getName () |
int | setName (const char *name) |
ScenefilterOperator | castOperator () |
Additional Inherited Members | |
Protected Attributes inherited from OpenCMISS::Zinc::Scenefilter | |
cmzn_scenefilter_id | id |
An operator OR or AND specific scene filter type.
An operator OR or AND specific scene filter type. Note that these are n-ary operators, able to take any number of operands, and that each operand can be individually set active or inactive, permitting them to be used as high level visibility lists.
|
inline |
Adds operand to the end of the list of operands for the operator filter. If operand is already in the list, it is moved to the end. Fails if operand depends on the operator filter.
operand | The filter to be added |
|
inline |
Return the C handle of the derived ScenefilterOperator object.
|
inline |
Get the first operand filter in the operator filter's list of operands.
|
inline |
Get the next filter after <ref_operand> in the operator filter's list of operands.
refOperand | The filter to be referenced |
|
inline |
Insert a filter before ref_operand in the list of operands for the operator filter. If the operand is already in the list of operands it is moved to the new location. Fails if operand depends on the operator filter.
operand | The operand filter to be inserted. |
refOperand | The reference filter to insert before. |
|
inline |
Check whether operand is active in the operator filter.
operand | The filter to be checked. |
|
inline |
Remove a filter from the list of operands in an operator filter.
operand | The filter to be removed. |
|
inline |
Set an operand in the operator filter to be active or inactive.
operand | The filter to be set. |
isActive | Value to set: true to mark as active, false for inactive. |