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) override;
74 
76 
80  void SetSourceData(vtkPolyData *source);
81  vtkPolyData *GetSource();
83 
88  void SetSourceConnection(vtkAlgorithmOutput* algOutput);
89 
91 
96  vtkSetMacro(ProbePointData, vtkTypeBool);
97  vtkGetMacro(ProbePointData, vtkTypeBool);
98  vtkBooleanMacro(ProbePointData, vtkTypeBool);
100 
102 
109  vtkSetMacro(ProbeCellData, vtkTypeBool);
110  vtkGetMacro(ProbeCellData, vtkTypeBool);
111  vtkBooleanMacro(ProbeCellData, vtkTypeBool);
113 
114 protected:
116  ~vtkProbePolyhedron() override;
117 
120 
122  vtkInformationVector *) override;
124  vtkInformationVector *) override;
126  vtkInformationVector *) override;
127 
128 private:
129  vtkProbePolyhedron(const vtkProbePolyhedron&) = delete;
130  void operator=(const vtkProbePolyhedron&) = delete;
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.
int vtkTypeBool
Definition: vtkABI.h:69
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
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 RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()