VTK
|
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 "vtkRenderingCoreModule.h" // For export macro 00041 #include "vtkAreaPicker.h" 00042 00043 class vtkRenderer; 00044 00045 class VTKRENDERINGCORE_EXPORT vtkRenderedAreaPicker : public vtkAreaPicker 00046 { 00047 public: 00048 static vtkRenderedAreaPicker *New(); 00049 vtkTypeMacro(vtkRenderedAreaPicker, vtkAreaPicker); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00056 virtual int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer *); 00057 00058 protected: 00059 vtkRenderedAreaPicker(); 00060 ~vtkRenderedAreaPicker(); 00061 00062 private: 00063 vtkRenderedAreaPicker(const vtkRenderedAreaPicker&); // Not implemented. 00064 void operator=(const vtkRenderedAreaPicker&); // Not implemented. 00065 }; 00066 00067 #endif