VTK  9.2.6
vtkImageDataGeometryFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDataGeometryFilter.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 =========================================================================*/
41 #ifndef vtkImageDataGeometryFilter_h
42 #define vtkImageDataGeometryFilter_h
43 
44 #include "vtkFiltersGeometryModule.h" // For export macro
45 #include "vtkPolyDataAlgorithm.h"
46 
47 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
57 
59 
62  void SetExtent(int extent[6]);
63  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
64  int* GetExtent() VTK_SIZEHINT(6) { return this->Extent; }
66 
68 
73  vtkSetMacro(ThresholdCells, vtkTypeBool);
74  vtkGetMacro(ThresholdCells, vtkTypeBool);
75  vtkBooleanMacro(ThresholdCells, vtkTypeBool);
77 
79 
84  vtkSetMacro(ThresholdValue, double);
85  vtkGetMacro(ThresholdValue, double);
86  vtkBooleanMacro(ThresholdValue, double);
88 
90 
95  vtkSetMacro(OutputTriangles, vtkTypeBool);
96  vtkGetMacro(OutputTriangles, vtkTypeBool);
97  vtkBooleanMacro(OutputTriangles, vtkTypeBool);
99 
100 protected:
102  ~vtkImageDataGeometryFilter() override = default;
103 
105  int FillInputPortInformation(int port, vtkInformation* info) override;
106 
107  int Extent[6];
111 
112 private:
114  void operator=(const vtkImageDataGeometryFilter&) = delete;
115 };
116 
117 #endif
extract geometry for structured points
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
#define VTK_SIZEHINT(...)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
int * GetExtent()
Set / get the extent (imin,imax, jmin,jmax, kmin,kmax) indices.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.