Go to the documentation of this file.
73 #ifndef vtkPickingManager_h
74 #define vtkPickingManager_h
77 #include "vtkRenderingCoreModule.h"
100 vtkGetMacro(Enabled,
bool);
114 vtkGetMacro(OptimizeOnInteractorEvents,
bool);
208 vtkInternal* Internal;
int GetNumberOfPickers()
Return the number of pickers registered.
vtkAssemblyPath * GetAssemblyPath(double X, double Y, double Z, vtkAbstractPropPicker *picker, vtkRenderer *renderer, vtkObject *obj)
If the picking manager is enabled, it runs the picking selection process and return the assembly path...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetOptimizeOnInteractorEvents(bool optimize)
Enable/Disable optimization depending on the renderWindowInteractor events.
bool Pick(vtkAbstractPicker *picker, vtkObject *object)
Run the picking selection process and return true if the object is associated with the given picker i...
void RemoveObject(vtkObject *object)
Remove all occurences of the object from the registered list.
abstract base class for most VTK objects
void AddPicker(vtkAbstractPicker *picker, vtkObject *object=0)
Register a picker into the picking manager.
define API for picking subclasses
a list of nodes that form an assembly path
void RemovePicker(vtkAbstractPicker *picker, vtkObject *object=0)
Unregister the picker from the picking manager.
void SetInteractor(vtkRenderWindowInteractor *iren)
Set the window interactor associated with the manager.
bool OptimizeOnInteractorEvents
a simple class to control print indentation
bool Pick(vtkAbstractPicker *picker)
Run the picking selection process and return if picker is the one selected.
platform-independent render window interaction including picking and frame rate control.
static vtkPickingManager * New()
vtkRenderWindowInteractor * Interactor
abstract API for pickers that can pick an instance of vtkProp
bool Pick(vtkObject *object)
Run the picking selection process and return true if the object is associated with the best picker.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract specification for renderers
int GetNumberOfObjectsLinked(vtkAbstractPicker *picker)
Return the number of objects linked with a given picker.
Class defines API to manage the picking process.