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 =========================================================================*/
55 #ifndef vtkProbePolyhedron_h
56 #define vtkProbePolyhedron_h
57 
58 #include "vtkFiltersGeneralModule.h" // For export macro
59 #include "vtkDataSetAlgorithm.h"
60 #include "vtkDataSetAttributes.h" // needed for vtkDataSetAttributes::FieldList
61 
62 class vtkIdTypeArray;
63 class vtkCharArray;
64 class vtkMaskPoints;
65 
66 class VTKFILTERSGENERAL_EXPORT vtkProbePolyhedron : public vtkDataSetAlgorithm
67 {
68 public:
70 
73  static vtkProbePolyhedron *New();
75  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
77 
79 
83  void SetSourceData(vtkPolyData *source);
84  vtkPolyData *GetSource();
86 
91  void SetSourceConnection(vtkAlgorithmOutput* algOutput);
92 
94 
99  vtkSetMacro(ProbePointData, int);
100  vtkGetMacro(ProbePointData, int);
101  vtkBooleanMacro(ProbePointData, int);
103 
105 
112  vtkSetMacro(ProbeCellData, int);
113  vtkGetMacro(ProbeCellData, int);
114  vtkBooleanMacro(ProbeCellData, int);
116 
117 protected:
119  ~vtkProbePolyhedron() VTK_OVERRIDE;
120 
121  int ProbePointData;
122  int ProbeCellData;
123 
124  int RequestData(vtkInformation *, vtkInformationVector **,
125  vtkInformationVector *) VTK_OVERRIDE;
126  int RequestInformation(vtkInformation *, vtkInformationVector **,
127  vtkInformationVector *) VTK_OVERRIDE;
128  int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
129  vtkInformationVector *) VTK_OVERRIDE;
130 
131 private:
132  vtkProbePolyhedron(const vtkProbePolyhedron&) VTK_DELETE_FUNCTION;
133  void operator=(const vtkProbePolyhedron&) VTK_DELETE_FUNCTION;
134 
135 };
136 
137 #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:85
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:38
a simple class to control print indentation
Definition: vtkIndent.h:39
selectively filter points
Definition: vtkMaskPoints.h:43
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()