VTK
vtkProbePolyhedron.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkProbePolyhedron.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 =========================================================================*/
52 #ifndef vtkProbePolyhedron_h
53 #define vtkProbePolyhedron_h
54 
55 #include "vtkFiltersGeneralModule.h" // For export macro
56 #include "vtkDataSetAlgorithm.h"
57 #include "vtkDataSetAttributes.h" // needed for vtkDataSetAttributes::FieldList
58 
59 class vtkIdTypeArray;
60 class vtkCharArray;
61 class vtkMaskPoints;
62 
63 class VTKFILTERSGENERAL_EXPORT vtkProbePolyhedron : public vtkDataSetAlgorithm
64 {
65 public:
67 
70  static vtkProbePolyhedron *New();
72  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
74 
76 
80  void SetSourceData(vtkPolyData *source);
81  vtkPolyData *GetSource();
83 
88  void SetSourceConnection(vtkAlgorithmOutput* algOutput);
89 
91 
96  vtkSetMacro(ProbePointData, int);
97  vtkGetMacro(ProbePointData, int);
98  vtkBooleanMacro(ProbePointData, int);
100 
102 
109  vtkSetMacro(ProbeCellData, int);
110  vtkGetMacro(ProbeCellData, int);
111  vtkBooleanMacro(ProbeCellData, int);
113 
114 protected:
116  ~vtkProbePolyhedron() VTK_OVERRIDE;
117 
118  int ProbePointData;
119  int ProbeCellData;
120 
121  int RequestData(vtkInformation *, vtkInformationVector **,
122  vtkInformationVector *) VTK_OVERRIDE;
123  int RequestInformation(vtkInformation *, vtkInformationVector **,
124  vtkInformationVector *) VTK_OVERRIDE;
125  int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
126  vtkInformationVector *) VTK_OVERRIDE;
127 
128 private:
129  vtkProbePolyhedron(const vtkProbePolyhedron&) VTK_DELETE_FUNCTION;
130  void operator=(const vtkProbePolyhedron&) VTK_DELETE_FUNCTION;
131 
132 };
133 
134 #endif
probe/interpolate data values in the interior, exterior or of the surface of a closed, manifold polyhedron
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
Proxy object to connect input/output ports.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of char
Definition: vtkCharArray.h:35
a simple class to control print indentation
Definition: vtkIndent.h:33
selectively filter points
Definition: vtkMaskPoints.h:37
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkDataSetAlgorithm * New()