00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkProbeFilter.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 =========================================================================*/ 00054 #ifndef __vtkProbeFilter_h 00055 #define __vtkProbeFilter_h 00056 00057 #include "vtkDataSetToDataSetFilter.h" 00058 00059 class vtkIdTypeArray; 00060 00061 class VTK_GRAPHICS_EXPORT vtkProbeFilter : public vtkDataSetToDataSetFilter 00062 { 00063 public: 00064 static vtkProbeFilter *New(); 00065 vtkTypeRevisionMacro(vtkProbeFilter,vtkDataSetToDataSetFilter); 00066 void PrintSelf(ostream& os, vtkIndent indent); 00067 00069 00071 void SetSource(vtkDataSet *source); 00072 vtkDataSet *GetSource(); 00074 00076 00084 vtkSetMacro(SpatialMatch, int); 00085 vtkGetMacro(SpatialMatch, int); 00086 vtkBooleanMacro(SpatialMatch, int); 00088 00090 00092 vtkGetObjectMacro(ValidPoints, vtkIdTypeArray); 00094 00095 protected: 00096 vtkProbeFilter(); 00097 ~vtkProbeFilter(); 00098 00099 int SpatialMatch; 00100 00101 virtual void Execute(); 00102 void ExecuteInformation(); 00103 virtual void ComputeInputUpdateExtents(vtkDataObject *output); 00104 00105 vtkIdTypeArray *ValidPoints; 00106 private: 00107 vtkProbeFilter(const vtkProbeFilter&); // Not implemented. 00108 void operator=(const vtkProbeFilter&); // Not implemented. 00109 }; 00110 00111 #endif