OpenCMISS-Zinc C++ API Documentation
|
Manages individual user notification of changes to the selection group. More...
#include <selection.hpp>
Public Member Functions | |
Selectionnotifier (cmzn_selectionnotifier_id in_selectionnotifier_id) | |
Selectionnotifier (const Selectionnotifier &selectionNotifier) | |
Selectionnotifier & | operator= (const Selectionnotifier &selectionNotifier) |
bool | isValid () const |
cmzn_selectionnotifier_id | getId () const |
int | setCallback (Selectioncallback &callback) |
int | clearCallback () |
Protected Attributes | |
cmzn_selectionnotifier_id | id |
Manages individual user notification of changes to the selection group.
Manages individual user notification of changes to the selection group in a scene.
|
inline |
Stop and clear selection callback. This will stop the callback and also remove the callback function from the selection notifier.
|
inline |
Return the C handle of the Selectionnotifier object.
|
inline |
Check if this is a valid Selectionnotifier object.
|
inline |
Assign the callback function and user_data for the selection notifier. This function also starts the callback.
callback | function to be called when event is triggered. |
user_data_in | Void pointer to an user object. User is responsible for the life time of such object. |