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 =========================================================================*/ 00041 #ifndef __vtkGenericProbeFilter_h 00042 #define __vtkGenericProbeFilter_h 00043 00044 #include "vtkDataSetToDataSetFilter.h" 00045 00046 class vtkIdTypeArray; 00047 class vtkGenericDataSet; 00048 00049 class VTK_GENERIC_FILTERING_EXPORT vtkGenericProbeFilter : public vtkDataSetToDataSetFilter 00050 { 00051 public: 00052 static vtkGenericProbeFilter *New(); 00053 vtkTypeRevisionMacro(vtkGenericProbeFilter,vtkDataSetToDataSetFilter); 00054 void PrintSelf(ostream& os, vtkIndent indent); 00055 00057 00059 void SetSource(vtkGenericDataSet *source); 00060 vtkGenericDataSet *GetSource(); 00062 00064 00066 vtkGetObjectMacro(ValidPoints, vtkIdTypeArray); 00068 00069 protected: 00070 vtkGenericProbeFilter(); 00071 ~vtkGenericProbeFilter(); 00072 00073 virtual void Execute(); 00074 00075 vtkIdTypeArray *ValidPoints; 00076 00077 private: 00078 vtkGenericProbeFilter(const vtkGenericProbeFilter&); // Not implemented. 00079 void operator=(const vtkGenericProbeFilter&); // Not implemented. 00080 }; 00081 00082 #endif