Inviwo
0.9.10.1
Inviwo documentation
|
#include <pickingmanager.h>
Classes | |
struct | Result |
Public Member Functions | |
PickingManager (PickingManager const &)=delete | |
PickingManager & | operator= (PickingManager const &)=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 () |
Result | getPickingActionFromColor (const uvec3 &color) |
Result | getPickingActionFromIndex (size_t index) |
bool | isPickingActionRegistered (const PickingAction *action) const |
Public Member Functions inherited from inviwo::Singleton< PickingManager > | |
Singleton (Singleton< PickingManager > const &)=delete | |
void | operator= (Singleton< PickingManager > const &)=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 () |
Manager for picking objects.