VTK  9.0.1
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 "vtkDataSetAlgorithm.h"
56 #include "vtkDataSetAttributes.h" // needed for vtkDataSetAttributes::FieldList
57 #include "vtkFiltersGeneralModule.h" // For export macro
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 
124 
125 private:
126  vtkProbePolyhedron(const vtkProbePolyhedron&) = delete;
127  void operator=(const vtkProbePolyhedron&) = delete;
128 };
129 
130 #endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkProbePolyhedron
probe/interpolate data values in the interior, exterior or of the surface of a closed,...
Definition: vtkProbePolyhedron.h:63
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:176
vtkProbePolyhedron::ProbePointData
vtkTypeBool ProbePointData
Definition: vtkProbePolyhedron.h:118
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:48
vtkCharArray
dynamic, self-adjusting array of char
Definition: vtkCharArray.h:35
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkMaskPoints
selectively filter points
Definition: vtkMaskPoints.h:37
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkDataSetAlgorithm.h
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:35
vtkProbePolyhedron::ProbeCellData
vtkTypeBool ProbeCellData
Definition: vtkProbePolyhedron.h:119
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:36
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkDataSetAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
Definition: vtkDataSetAlgorithm.h:152
source
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Definition: vtkBoostGraphAdapter.h:959
vtkDataSetAttributes.h
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkDataSetAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
Definition: vtkDataSetAlgorithm.h:140