Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkWorldPointPicker.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkWorldPointPicker.h,v $
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 =========================================================================*/
00050 #ifndef __vtkWorldPointPicker_h
00051 #define __vtkWorldPointPicker_h
00052 
00053 #include "vtkAbstractPicker.h"
00054 
00055 class VTK_RENDERING_EXPORT vtkWorldPointPicker : public vtkAbstractPicker
00056 {
00057 public:
00058   static vtkWorldPointPicker *New();
00059   vtkTypeRevisionMacro(vtkWorldPointPicker,vtkAbstractPicker);
00060   void PrintSelf(ostream& os, vtkIndent indent);
00061 
00063 
00064   int Pick(double selectionX, double selectionY, double selectionZ, 
00065            vtkRenderer *renderer);  
00066   int Pick(double selectionPt[3], vtkRenderer *renderer)
00067     { return this->vtkAbstractPicker::Pick( selectionPt, renderer); };  
00069 
00070 protected:
00071   vtkWorldPointPicker ();
00072   ~vtkWorldPointPicker() {};
00073 
00074 private:
00075   vtkWorldPointPicker(const vtkWorldPointPicker&);  // Not implemented.
00076   void operator=(const vtkWorldPointPicker&);  // Not implemented.
00077 };
00078 
00079 #endif
00080 
00081