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

Graphics/vtkProbeFilter.h

Go to the documentation of this file.
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 =========================================================================*/
00032 #ifndef __vtkProbeFilter_h
00033 #define __vtkProbeFilter_h
00034 
00035 #include "vtkDataSetToDataSetFilter.h"
00036 
00037 class vtkIdTypeArray;
00038 
00039 class VTK_GRAPHICS_EXPORT vtkProbeFilter : public vtkDataSetToDataSetFilter
00040 {
00041 public:
00042   static vtkProbeFilter *New();
00043   vtkTypeRevisionMacro(vtkProbeFilter,vtkDataSetToDataSetFilter);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047 
00049   void SetSource(vtkDataSet *source);
00050   vtkDataSet *GetSource();
00052 
00054 
00062   vtkSetMacro(SpatialMatch, int);
00063   vtkGetMacro(SpatialMatch, int);
00064   vtkBooleanMacro(SpatialMatch, int);
00066 
00068 
00070   vtkGetObjectMacro(ValidPoints, vtkIdTypeArray);
00072   
00073 protected:
00074   vtkProbeFilter();
00075   ~vtkProbeFilter();
00076 
00077   int SpatialMatch;
00078 
00079   virtual void Execute();
00080   void ExecuteInformation();
00081   virtual void ComputeInputUpdateExtents(vtkDataObject *output);
00082 
00083   vtkIdTypeArray *ValidPoints;
00084 private:
00085   vtkProbeFilter(const vtkProbeFilter&);  // Not implemented.
00086   void operator=(const vtkProbeFilter&);  // Not implemented.
00087 };
00088 
00089 #endif