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 =========================================================================*/
42 #ifndef vtkGenericProbeFilter_h
43 #define vtkGenericProbeFilter_h
44 
45 #include "vtkFiltersGenericModule.h" // For export macro
46 #include "vtkDataSetAlgorithm.h"
47 
48 class vtkIdTypeArray;
49 class vtkGenericDataSet;
50 
51 class VTKFILTERSGENERIC_EXPORT vtkGenericProbeFilter : public vtkDataSetAlgorithm
52 {
53 public:
54  static vtkGenericProbeFilter *New();
56  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
59 
63  void SetSourceData(vtkGenericDataSet *source);
64  vtkGenericDataSet *GetSource();
66 
68 
72  vtkGetObjectMacro(ValidPoints, vtkIdTypeArray);
74 
75 protected:
77  ~vtkGenericProbeFilter() override;
78 
81 
82  int FillInputPortInformation(int, vtkInformation*) override;
83 
85 
86 private:
88  void operator=(const vtkGenericProbeFilter&) = delete;
89 };
90 
91 #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:33
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.