VTK  9.0.2
vtkRenderedAreaPicker.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderedAreaPicker.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
38 #ifndef vtkRenderedAreaPicker_h
39 #define vtkRenderedAreaPicker_h
40 
41 #include "vtkAreaPicker.h"
42 #include "vtkRenderingCoreModule.h" // For export macro
43 
44 class vtkRenderer;
45 
46 class VTKRENDERINGCORE_EXPORT vtkRenderedAreaPicker : public vtkAreaPicker
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
58  int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer*) override;
59 
60 protected:
63 
64 private:
66  void operator=(const vtkRenderedAreaPicker&) = delete;
67 };
68 
69 #endif
Picks props behind a selection rectangle on a viewport.
Definition: vtkAreaPicker.h:66
a simple class to control print indentation
Definition: vtkIndent.h:34
Uses graphics hardware to picks props behind a selection rectangle on a viewport.
static vtkRenderedAreaPicker * New()
int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer *) override
Perform pick operation in volume behind the given screen coordinates.
~vtkRenderedAreaPicker() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:68