VTK
vtkGenericProbeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenericProbeFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
45 #ifndef vtkGenericProbeFilter_h
46 #define vtkGenericProbeFilter_h
47 
48 #include "vtkFiltersGenericModule.h" // For export macro
49 #include "vtkDataSetAlgorithm.h"
50 
51 class vtkIdTypeArray;
52 class vtkGenericDataSet;
53 
54 class VTKFILTERSGENERIC_EXPORT vtkGenericProbeFilter : public vtkDataSetAlgorithm
55 {
56 public:
57  static vtkGenericProbeFilter *New();
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
66  void SetSourceData(vtkGenericDataSet *source);
67  vtkGenericDataSet *GetSource();
69 
71 
75  vtkGetObjectMacro(ValidPoints, vtkIdTypeArray);
77 
78 protected:
80  ~vtkGenericProbeFilter() override;
81 
84 
85  int FillInputPortInformation(int, vtkInformation*) override;
86 
88 
89 private:
91  void operator=(const vtkGenericProbeFilter&) = delete;
92 };
93 
94 #endif
sample data values at specified point locations
vtkIdTypeArray * ValidPoints
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of vtkIdType
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
Store zero or more vtkInformation instances.
defines dataset interface
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.