VTK
dox/Filters/Generic/vtkGenericProbeFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkGenericProbeFilter.h
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 =========================================================================*/
00044 #ifndef __vtkGenericProbeFilter_h
00045 #define __vtkGenericProbeFilter_h
00046 
00047 #include "vtkFiltersGenericModule.h" // For export macro
00048 #include "vtkDataSetAlgorithm.h"
00049 
00050 class vtkIdTypeArray;
00051 class vtkGenericDataSet;
00052 
00053 class VTKFILTERSGENERIC_EXPORT vtkGenericProbeFilter : public vtkDataSetAlgorithm
00054 {
00055 public:
00056   static vtkGenericProbeFilter *New();
00057   vtkTypeMacro(vtkGenericProbeFilter,vtkDataSetAlgorithm);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00059 
00061 
00063   void SetSourceData(vtkGenericDataSet *source);
00064   vtkGenericDataSet *GetSource();
00066 
00068 
00070   vtkGetObjectMacro(ValidPoints, vtkIdTypeArray);
00072 
00073 protected:
00074   vtkGenericProbeFilter();
00075   ~vtkGenericProbeFilter();
00076 
00077   int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00078   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00079 
00080   int FillInputPortInformation(int, vtkInformation*);
00081 
00082   vtkIdTypeArray *ValidPoints;
00083 
00084 private:
00085   vtkGenericProbeFilter(const vtkGenericProbeFilter&);  // Not implemented.
00086   void operator=(const vtkGenericProbeFilter&);  // Not implemented.
00087 };
00088 
00089 #endif