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

Rendering/vtkWorldPointPicker.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkWorldPointPicker.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00054 #ifndef __vtkWorldPointPicker_h
00055 #define __vtkWorldPointPicker_h
00056 
00057 #include "vtkAbstractPicker.h"
00058 
00059 class VTK_RENDERING_EXPORT vtkWorldPointPicker : public vtkAbstractPicker
00060 {
00061 public:
00062   static vtkWorldPointPicker *New();
00063   vtkTypeRevisionMacro(vtkWorldPointPicker,vtkAbstractPicker);
00064   void PrintSelf(ostream& os, vtkIndent indent);
00065 
00067 
00068   int Pick(float selectionX, float selectionY, float selectionZ, 
00069            vtkRenderer *renderer);  
00070   int Pick(float selectionPt[3], vtkRenderer *renderer)
00071     { return this->vtkAbstractPicker::Pick( selectionPt, renderer); };  
00073 
00074 protected:
00075   vtkWorldPointPicker ();
00076   ~vtkWorldPointPicker() {};
00077 
00078 private:
00079   vtkWorldPointPicker(const vtkWorldPointPicker&);  // Not implemented.
00080   void operator=(const vtkWorldPointPicker&);  // Not implemented.
00081 };
00082 
00083 #endif
00084 
00085