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) override;
77 
79 
83  void SetSourceData(vtkPolyData *source);
84  vtkPolyData *GetSource();
86 
91  void SetSourceConnection(vtkAlgorithmOutput* algOutput);
92 
94 
99  vtkSetMacro(ProbePointData, vtkTypeBool);
100  vtkGetMacro(ProbePointData, vtkTypeBool);
101  vtkBooleanMacro(ProbePointData, vtkTypeBool);
103 
105 
112  vtkSetMacro(ProbeCellData, vtkTypeBool);
113  vtkGetMacro(ProbeCellData, vtkTypeBool);
114  vtkBooleanMacro(ProbeCellData, vtkTypeBool);
116 
117 protected:
119  ~vtkProbePolyhedron() override;
120 
123 
125  vtkInformationVector *) override;
127  vtkInformationVector *) override;
129  vtkInformationVector *) override;
130 
131 private:
132  vtkProbePolyhedron(const vtkProbePolyhedron&) = delete;
133  void operator=(const vtkProbePolyhedron&) = delete;
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.
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:38
a simple class to control print indentation
Definition: vtkIndent.h:39
selectively filter points
Definition: vtkMaskPoints.h:43
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()