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

dox/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 =========================================================================*/ 00041 #ifndef __vtkWorldPointPicker_h 00042 #define __vtkWorldPointPicker_h 00043 00044 #include "vtkAbstractPicker.h" 00045 00046 class VTK_RENDERING_EXPORT vtkWorldPointPicker : public vtkAbstractPicker 00047 { 00048 public: 00049 static vtkWorldPointPicker *New(); 00050 vtkTypeRevisionMacro(vtkWorldPointPicker,vtkAbstractPicker); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 00055 int Pick(float selectionX, float selectionY, float selectionZ, 00056 vtkRenderer *renderer); 00057 int Pick(float selectionPt[3], vtkRenderer *renderer) 00058 { return this->vtkAbstractPicker::Pick( selectionPt, renderer); }; 00060 00061 protected: 00062 vtkWorldPointPicker (); 00063 ~vtkWorldPointPicker() {}; 00064 00065 private: 00066 vtkWorldPointPicker(const vtkWorldPointPicker&); // Not implemented. 00067 void operator=(const vtkWorldPointPicker&); // Not implemented. 00068 }; 00069 00070 #endif 00071 00072