OpenCMISS-Zinc 3.0.0 Release C++ API Documentation
|
Scene filters determines which graphics are drawn. More...
#include <scenefilter.hpp>
Public Member Functions | |
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 () |
Protected Attributes | |
cmzn_scenefilter_id | id |
Scene filters determines which graphics are drawn.
Scene filters are Boolean functions determining which graphics are drawn on a sceneviewer, or processed by a scenepicker or other tool. Derived types implement operators including filtering by scene and graphics visibility flags, region/scene, graphics name, graphics type, field domain type, and logical and/or operators allowing expressions combining filters.
|
inline |
If the filter is of operator and or or type, then this function returns the operator derived scenefilter handle.
|
inline |
Query whether graphics is shown (or processed) with a scene filter.
graphics | The graphics to query. |
|
inline |
Return the C handle of the Scenefilter object.
|
inline |
Return an allocated string containing scene filter name.
|
inline |
Get state of inverse flag which if set reverses filter match condition.
|
inline |
Get managed status of scene filter in its owning scene filter module.
|
inline |
Check if this is a valid Scenefilter object.
|
inline |
Set state of inverse flag which if set reverses filter match condition. Default is false i.e. normal condition.
value | Boolean true to set inverse, false for non-inverse. |
|
inline |
Set managed status of scene filter in its owning scene filter module. If set (managed) the scene filter will remain indefinitely in the scene filter module even if no external references are held. If not set (unmanaged) the scene filter will be automatically removed from the module when no longer referenced externally, effectively marking it as pending destruction. All new objects are unmanaged unless stated otherwise.
value | The new value for the managed flag: true or false. |
|
inline |
Set name of the scene filter. Must be unique in the scene filter module.
name | name to be set to the scene filter |