00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGenericProbeFilter.h,v $ 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 =========================================================================*/ 00052 #ifndef __vtkGenericProbeFilter_h 00053 #define __vtkGenericProbeFilter_h 00054 00055 #include "vtkDataSetToDataSetFilter.h" 00056 00057 class vtkIdTypeArray; 00058 class vtkGenericDataSet; 00059 00060 class VTK_GENERIC_FILTERING_EXPORT vtkGenericProbeFilter : public vtkDataSetToDataSetFilter 00061 { 00062 public: 00063 static vtkGenericProbeFilter *New(); 00064 vtkTypeRevisionMacro(vtkGenericProbeFilter,vtkDataSetToDataSetFilter); 00065 void PrintSelf(ostream& os, vtkIndent indent); 00066 00068 00070 void SetSource(vtkGenericDataSet *source); 00071 vtkGenericDataSet *GetSource(); 00073 00075 00077 vtkGetObjectMacro(ValidPoints, vtkIdTypeArray); 00079 00080 protected: 00081 vtkGenericProbeFilter(); 00082 ~vtkGenericProbeFilter(); 00083 00084 virtual void Execute(); 00085 00086 vtkIdTypeArray *ValidPoints; 00087 00088 private: 00089 vtkGenericProbeFilter(const vtkGenericProbeFilter&); // Not implemented. 00090 void operator=(const vtkGenericProbeFilter&); // Not implemented. 00091 }; 00092 00093 #endif