OpenCMISS-Zinc C++ API Documentation
|
Manages individual user notification of changes with a scene viewer. More...
#include <sceneviewer.hpp>
Public Member Functions | |
Sceneviewernotifier (cmzn_sceneviewernotifier_id in_sceneviewernotifier_id) | |
Sceneviewernotifier (const Sceneviewernotifier &sceneviewerNotifier) | |
Sceneviewernotifier & | operator= (const Sceneviewernotifier &sceneviewerNotifier) |
bool | isValid () const |
cmzn_sceneviewernotifier_id | getId () const |
int | setCallback (Sceneviewercallback &callback) |
int | clearCallback () |
Protected Attributes | |
cmzn_sceneviewernotifier_id | id |
Manages individual user notification of changes with a scene viewer.
Manages individual user notification of changes with a scene viewer.
|
inline |
Stop and clear scene viewer callback. This will stop the callback and also remove the callback function from the sceneviewer notifier.
|
inline |
Return the C handle of the Sceneviewernotifier object.
|
inline |
Check if this is a valid Sceneviewernotifier object.
|
inline |
Assign the callback function and user data for the sceneviewer notifier. This function also starts the callback.
callback | function to be called when event is triggered. |
user_data_in | Void pointer to user object. User must ensure this object's lifetime exceeds the duration for which callbacks are active. |