Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::PickingManager Class Reference

#include <pickingmanager.h>

+ Inheritance diagram for inviwo::PickingManager:

Public Member Functions

 PickingManager (const PickingManager &)=delete
 
PickingManageroperator= (const PickingManager &)=delete
 
template<typename T >
PickingActionregisterPickingAction (Processor *processor, T *o, void(T::*m)(PickingEvent *), size_t size=1)
 
PickingActionregisterPickingAction (Processor *processor, PickingAction::Callback callback, size_t size=1)
 
bool unregisterPickingAction (const PickingAction *)
 
bool pickingEnabled ()
 
const PickingActiongetPickingActionFromColor (const uvec3 &color) const
 
const PickingActiongetPickingActionFromIndex (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 PickingManagergetPtr ()
 
static void deleteInstance ()
 
static bool isInitialized ()
 

Static Public Attributes

static const size_t VoidId = 0
 Picking id when nothing is picked.
 

Detailed Description

Manager for picking objects.


The documentation for this class was generated from the following file: