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

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 =========================================================================*/
00039 #ifndef __vtkProbeFilter_h
00040 #define __vtkProbeFilter_h
00041 
00042 #include "vtkDataSetAlgorithm.h"
00043 
00044 class vtkIdTypeArray;
00045 
00046 class VTK_GRAPHICS_EXPORT vtkProbeFilter : public vtkDataSetAlgorithm
00047 {
00048 public:
00049   static vtkProbeFilter *New();
00050   vtkTypeRevisionMacro(vtkProbeFilter,vtkDataSetAlgorithm);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00054 
00056   void SetSource(vtkDataObject *source);
00057   vtkDataObject *GetSource();
00059 
00062   void SetSourceConnection(vtkAlgorithmOutput* algOutput);
00063 
00065 
00073   vtkSetMacro(SpatialMatch, int);
00074   vtkGetMacro(SpatialMatch, int);
00075   vtkBooleanMacro(SpatialMatch, int);
00077 
00079 
00081   vtkGetObjectMacro(ValidPoints, vtkIdTypeArray);
00083   
00084 protected:
00085   vtkProbeFilter();
00086   ~vtkProbeFilter();
00087 
00088   int SpatialMatch;
00089 
00090   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00091   virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00092   virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00093 
00094   void Probe(vtkDataSet *input, vtkDataSet *source, vtkDataSet *output);
00095 
00096   vtkIdTypeArray *ValidPoints;
00097 private:
00098   vtkProbeFilter(const vtkProbeFilter&);  // Not implemented.
00099   void operator=(const vtkProbeFilter&);  // Not implemented.
00100 };
00101 
00102 #endif

Generated on Mon Jan 21 23:07:25 2008 for VTK by  doxygen 1.4.3-20050530