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 "vtkRenderingCoreModule.h" // For export macro
41 #include "vtkAbstractPicker.h"
42 
44 {
45 public:
46  static vtkWorldPointPicker *New();
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
52  int Pick(double selectionX, double selectionY, double selectionZ,
53  vtkRenderer *renderer);
54  int Pick(double selectionPt[3], vtkRenderer *renderer)
55  { return this->vtkAbstractPicker::Pick( selectionPt, renderer); };
57 
58 protected:
61 
62 private:
63  vtkWorldPointPicker(const vtkWorldPointPicker&); // Not implemented.
64  void operator=(const vtkWorldPointPicker&); // Not implemented.
65 };
66 
67 #endif
68 
69 
void PrintSelf(ostream &os, vtkIndent indent)
int Pick(double selectionPt[3], vtkRenderer *renderer)
abstract specification for renderers
Definition: vtkRenderer.h:62
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)=0
#define VTKRENDERINGCORE_EXPORT
define API for picking subclasses
static vtkObject * New()
find world x,y,z corresponding to display x,y,z