00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRenderedAreaPicker.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 __vtkRenderedAreaPicker_h 00038 #define __vtkRenderedAreaPicker_h 00039 00040 #include "vtkAreaPicker.h" 00041 00042 class vtkRenderer; 00043 00044 class VTK_RENDERING_EXPORT vtkRenderedAreaPicker : public vtkAreaPicker 00045 { 00046 public: 00047 static vtkRenderedAreaPicker *New(); 00048 vtkTypeMacro(vtkRenderedAreaPicker,vtkAreaPicker); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00055 virtual int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer *renderer); 00056 00057 protected: 00058 vtkRenderedAreaPicker(); 00059 ~vtkRenderedAreaPicker(); 00060 00061 private: 00062 vtkRenderedAreaPicker(const vtkRenderedAreaPicker&); // Not implemented. 00063 void operator=(const vtkRenderedAreaPicker&); // Not implemented. 00064 }; 00065 00066 #endif 00067 00068