Inviwo 0.9.12-pre
Inviwo documentation
|
#include <pickingmanager.h>
Public Member Functions | |
PickingManager (const PickingManager &)=delete | |
PickingManager & | operator= (const PickingManager &)=delete |
template<typename T > | |
PickingAction * | registerPickingAction (Processor *processor, T *o, void(T::*m)(PickingEvent *), size_t size=1) |
PickingAction * | registerPickingAction (Processor *processor, PickingAction::Callback callback, size_t size=1) |
bool | unregisterPickingAction (const PickingAction *) |
bool | pickingEnabled () |
const PickingAction * | getPickingActionFromColor (const uvec3 &color) const |
const PickingAction * | getPickingActionFromIndex (size_t index) const |
bool | isPickingActionRegistered (const PickingAction *action) const |
Public Member Functions inherited from inviwo::Singleton< PickingManager > | |
Singleton (const Singleton &)=delete | |
void | operator= (const Singleton &)=delete |
Static Public Member Functions | |
static uvec3 | indexToColor (size_t index) |
static size_t | colorToIndex (uvec3 color) |
Static Public Member Functions inherited from inviwo::Singleton< PickingManager > | |
static void | init () |
static void | init (PickingManager *instance) |
static PickingManager * | getPtr () |
static void | deleteInstance () |
static bool | isInitialized () |
Static Public Attributes | |
static const size_t | VoidId = 0 |
Picking id when nothing is picked. | |
Manager for picking objects.