VTK
vtkWorldPointPicker.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWorldPointPicker.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 =========================================================================*/
37 #ifndef __vtkWorldPointPicker_h
38 #define __vtkWorldPointPicker_h
39 
40 #include "vtkAbstractPicker.h"
41 
43 {
44 public:
45  static vtkWorldPointPicker *New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
51  int Pick(double selectionX, double selectionY, double selectionZ,
52  vtkRenderer *renderer);
53  int Pick(double selectionPt[3], vtkRenderer *renderer)
54  { return this->vtkAbstractPicker::Pick( selectionPt, renderer); };
56 
57 protected:
60 
61 private:
62  vtkWorldPointPicker(const vtkWorldPointPicker&); // Not implemented.
63  void operator=(const vtkWorldPointPicker&); // Not implemented.
64 };
65 
66 #endif
67 
68