Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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   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 =========================================================================*/
    00051 #ifndef __vtkProbeFilter_h
    00052 #define __vtkProbeFilter_h
    00053
    00054 #include "vtkDataSetToDataSetFilter.h"
    00055
    00056 class vtkIdTypeArray;
    00057
    00058 class VTK_GRAPHICS_EXPORT vtkProbeFilter : public vtkDataSetToDataSetFilter
    00059 {
    00060 public:
    00061   static vtkProbeFilter *New();
    00062   vtkTypeRevisionMacro(vtkProbeFilter,vtkDataSetToDataSetFilter);
    00063   void PrintSelf(ostream& os, vtkIndent indent);
    00064
    00066
    00068   void SetSource(vtkDataSet *source);
    00069   vtkDataSet *GetSource();
    00071
    00073
    00081   vtkSetMacro(SpatialMatch, int);
    00082   vtkGetMacro(SpatialMatch, int);
    00083   vtkBooleanMacro(SpatialMatch, int);
    00085
    00087
    00089   vtkGetObjectMacro(ValidPoints, vtkIdTypeArray);
    00091
    00092 protected:
    00093   vtkProbeFilter();
    00094   ~vtkProbeFilter();
    00095
    00096   int SpatialMatch;
    00097
    00098   virtual void Execute();
    00099   void ExecuteInformation();
    00100   virtual void ComputeInputUpdateExtents(vtkDataObject *output);
    00101
    00102   vtkIdTypeArray *ValidPoints;
    00103 private:
    00104   vtkProbeFilter(const vtkProbeFilter&);  // Not implemented.
    00105   void operator=(const vtkProbeFilter&);  // Not implemented.
    00106 };
    00107
    00108 #endif