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