Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkProbeFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkProbeFilter.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00036 #ifndef __vtkProbeFilter_h
00037 #define __vtkProbeFilter_h
00038 
00039 #include "vtkDataSetToDataSetFilter.h"
00040 
00041 class vtkIdTypeArray;
00042 
00043 class VTK_GRAPHICS_EXPORT vtkProbeFilter : public vtkDataSetToDataSetFilter
00044 {
00045 public:
00046   static vtkProbeFilter *New();
00047   vtkTypeRevisionMacro(vtkProbeFilter,vtkDataSetToDataSetFilter);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00053   void SetSource(vtkDataSet *source);
00054   vtkDataSet *GetSource();
00056 
00058 
00066   vtkSetMacro(SpatialMatch, int);
00067   vtkGetMacro(SpatialMatch, int);
00068   vtkBooleanMacro(SpatialMatch, int);
00070 
00072 
00074   vtkGetObjectMacro(ValidPoints, vtkIdTypeArray);
00076   
00077 protected:
00078   vtkProbeFilter();
00079   ~vtkProbeFilter();
00080 
00081   int SpatialMatch;
00082 
00083   virtual void Execute();
00084   void ExecuteInformation();
00085   virtual void ComputeInputUpdateExtents(vtkDataObject *output);
00086 
00087   vtkIdTypeArray *ValidPoints;
00088 private:
00089   vtkProbeFilter(const vtkProbeFilter&);  // Not implemented.
00090   void operator=(const vtkProbeFilter&);  // Not implemented.
00091 };
00092 
00093 #endif