Inviwo  0.9.10.1
Inviwo documentation
inviwo::PickingManager Class Reference

#include <pickingmanager.h>

+ Inheritance diagram for inviwo::PickingManager:

Classes

struct  Result
 

Public Member Functions

 PickingManager (PickingManager const &)=delete
 
PickingManageroperator= (PickingManager const &)=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 ()
 
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 PickingManagergetPtr ()
 
static void deleteInstance ()
 
static bool isInitialized ()
 

Detailed Description

Manager for picking objects.


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