VTK
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 =========================================================================*/
32 #ifndef vtkRenderedAreaPicker_h
33 #define vtkRenderedAreaPicker_h
34 
35 #include "vtkAreaPicker.h"
36 #include "vtkRenderingCoreModule.h" // For export macro
37 
38 class vtkRenderer;
39 
40 class VTKRENDERINGCORE_EXPORT vtkRenderedAreaPicker : public vtkAreaPicker
41 {
42 public:
43  static vtkRenderedAreaPicker* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
52  int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer*) override;
53 
54 protected:
56  ~vtkRenderedAreaPicker() override;
57 
58 private:
60  void operator=(const vtkRenderedAreaPicker&) = delete;
61 };
62 
63 #endif
vtkAreaPicker::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAreaPicker::AreaPick
virtual int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer *renderer=nullptr)
Perform pick operation in volume behind the given screen coordinates.
vtkRenderedAreaPicker
Uses graphics hardware to picks props behind a selection rectangle on a viewport.
Definition: vtkRenderedAreaPicker.h:40
vtkAreaPicker
Picks props behind a selection rectangle on a viewport.
Definition: vtkAreaPicker.h:59
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkAreaPicker::New
static vtkAreaPicker * New()
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:58
vtkAreaPicker.h