Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 =========================================================================*/
00053 #ifndef __vtkWorldPointPicker_h
00054 #define __vtkWorldPointPicker_h
00055 
00056 #include "vtkAbstractPicker.h"
00057 
00058 class VTK_RENDERING_EXPORT vtkWorldPointPicker : public vtkAbstractPicker
00059 {
00060 public:
00061   static vtkWorldPointPicker *New();
00062   vtkTypeRevisionMacro(vtkWorldPointPicker,vtkAbstractPicker);
00063   void PrintSelf(ostream& os, vtkIndent indent);
00064 
00066 
00067   int Pick(float selectionX, float selectionY, float selectionZ, 
00068            vtkRenderer *renderer);  
00069   int Pick(float selectionPt[3], vtkRenderer *renderer)
00070     { return this->vtkAbstractPicker::Pick( selectionPt, renderer); };  
00072 
00073 protected:
00074   vtkWorldPointPicker ();
00075   ~vtkWorldPointPicker() {};
00076 
00077 private:
00078   vtkWorldPointPicker(const vtkWorldPointPicker&);  // Not implemented.
00079   void operator=(const vtkWorldPointPicker&);  // Not implemented.
00080 };
00081 
00082 #endif
00083 
00084