OpenCMISS-Zinc 3.0.0 Release C++ API Documentation
|
Module managing all scene filters. More...
#include <scenefilter.hpp>
Public Member Functions | |
Scenefiltermodule (cmzn_scenefiltermodule_id in_filtermodule_id) | |
Scenefiltermodule (const Scenefiltermodule &scenefiltermodule) | |
Scenefiltermodule & | operator= (const Scenefiltermodule &scenefiltermodule) |
bool | isValid () const |
cmzn_scenefiltermodule_id | getId () const |
Scenefilter | createScenefilterVisibilityFlags () |
Scenefilter | createScenefilterFieldDomainType (Field::DomainType domainType) |
Scenefilter | createScenefilterGraphicsName (const char *matchName) |
Scenefilter | createScenefilterGraphicsType (Graphics::Type graphicsType) |
Scenefilter | createScenefilterRegion (const Region &matchRegion) |
ScenefilterOperator | createScenefilterOperatorAnd () |
ScenefilterOperator | createScenefilterOperatorOr () |
Scenefilter | findScenefilterByName (const char *name) |
int | beginChange () |
int | endChange () |
Scenefilter | getDefaultScenefilter () |
int | setDefaultScenefilter (const Scenefilter &filter) |
Protected Attributes | |
cmzn_scenefiltermodule_id | id |
Module managing all scene filters.
Module managing all scene filters.
|
inline |
Begin caching or increment cache level for this scene filter module. Call this function before making multiple changes to minimise number of change messages sent to clients. Must remember to end_change after completing changes. Can be nested.
|
inline |
Creates and returns a scene filter which matches any graphics with given field domain type.
domainType | The field domain type graphics attribute to be matched by this filter. |
|
inline |
Creates a scene filter which matches any graphics with the supplied name.
matchName | The name of a graphics must be matched by this filter. |
|
inline |
Creates a scene filter which matches any graphics with matching type.
graphicsType | The type of a graphics must be matched by this filter. |
|
inline |
Creates and returns a scene filter which returns the logical AND of a collective of operand filters, i.e. true if all operand filters are true.
|
inline |
Creates and returns a scene filter which returns the logical OR of a collective of operand filters, i.e. true if any operand filter is true.
|
inline |
Creates a scene filter which matches any graphics in region or any of its sub-regions.
matchRegion | The region to be matched by this filter. |
|
inline |
Creates and returns a scene filter which matches any graphics with visibility flag set AND its owning region and all ancestor region scenes' visibility flags set i.e. scene visibility flags work hierarchically.
|
inline |
Decrement cache level or end caching of changes for the scene filter module. Call scene filter module begin change method before making multiple changes and call this afterwards. When change level is restored to zero, cached change messages are sent out to clients.
|
inline |
Find the scene filter with the specified name, if any.
name | The name of the scene filter. |
|
inline |
Get the default scene filter, if any.
|
inline |
Return the C handle of the Scenefiltermodule object.
|
inline |
Check if this is a valid Scenefiltermodule object.
|
inline |
Set the default scene filter.
filter | The scene filter to set as default. |