VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
54 #ifndef __vtkProbePolyhedron_h
55 #define __vtkProbePolyhedron_h
56 
57 #include "vtkFiltersGeneralModule.h" // For export macro
58 #include "vtkDataSetAlgorithm.h"
59 #include "vtkDataSetAttributes.h" // needed for vtkDataSetAttributes::FieldList
60 
61 class vtkIdTypeArray;
62 class vtkCharArray;
63 class vtkMaskPoints;
64 
65 class VTKFILTERSGENERAL_EXPORT vtkProbePolyhedron : public vtkDataSetAlgorithm
66 {
67 public:
69 
70  static vtkProbePolyhedron *New();
71  vtkTypeMacro(vtkProbePolyhedron,vtkDataSetAlgorithm);
72  void PrintSelf(ostream& os, vtkIndent indent);
74 
76 
78  void SetSourceData(vtkPolyData *source);
79  vtkPolyData *GetSource();
81 
84  void SetSourceConnection(vtkAlgorithmOutput* algOutput);
85 
87 
90  vtkSetMacro(ProbePointData, int);
91  vtkGetMacro(ProbePointData, int);
92  vtkBooleanMacro(ProbePointData, int);
94 
96 
101  vtkSetMacro(ProbeCellData, int);
102  vtkGetMacro(ProbeCellData, int);
103  vtkBooleanMacro(ProbeCellData, int);
105 
106 protected:
109 
112 
113  virtual int RequestData(vtkInformation *, vtkInformationVector **,
114  vtkInformationVector *);
115  virtual int RequestInformation(vtkInformation *, vtkInformationVector **,
116  vtkInformationVector *);
117  virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
118  vtkInformationVector *);
119 
120 private:
121  vtkProbePolyhedron(const vtkProbePolyhedron&); // Not implemented.
122  void operator=(const vtkProbePolyhedron&); // Not implemented.
123 
124 };
125 
126 #endif
probe/interpolate data values in the interior, exterior or of the surface of a closed, manifold polyhedron
selectively filter points
Definition: vtkMaskPoints.h:42
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)