VTK
dox/Rendering/Core/vtkWorldPointPicker.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkWorldPointPicker.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00037 #ifndef __vtkWorldPointPicker_h
00038 #define __vtkWorldPointPicker_h
00039 
00040 #include "vtkRenderingCoreModule.h" // For export macro
00041 #include "vtkAbstractPicker.h"
00042 
00043 class VTKRENDERINGCORE_EXPORT vtkWorldPointPicker : public vtkAbstractPicker
00044 {
00045 public:
00046   static vtkWorldPointPicker *New();
00047   vtkTypeMacro(vtkWorldPointPicker,vtkAbstractPicker);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00052   int Pick(double selectionX, double selectionY, double selectionZ,
00053            vtkRenderer *renderer);
00054   int Pick(double selectionPt[3], vtkRenderer *renderer)
00055     { return this->vtkAbstractPicker::Pick( selectionPt, renderer); };
00057 
00058 protected:
00059   vtkWorldPointPicker ();
00060   ~vtkWorldPointPicker() {}
00061 
00062 private:
00063   vtkWorldPointPicker(const vtkWorldPointPicker&);  // Not implemented.
00064   void operator=(const vtkWorldPointPicker&);  // Not implemented.
00065 };
00066 
00067 #endif
00068 
00069