VTK  9.0.1
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 =========================================================================*/
38 #ifndef vtkImageDataGeometryFilter_h
39 #define vtkImageDataGeometryFilter_h
40 
41 #include "vtkFiltersGeometryModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
44 class VTKFILTERSGEOMETRY_EXPORT vtkImageDataGeometryFilter : public vtkPolyDataAlgorithm
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
54 
56 
59  void SetExtent(int extent[6]);
60  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
61  int* GetExtent() VTK_SIZEHINT(6) { return this->Extent; }
63 
65 
70  vtkSetMacro(ThresholdCells, vtkTypeBool);
71  vtkGetMacro(ThresholdCells, vtkTypeBool);
72  vtkBooleanMacro(ThresholdCells, vtkTypeBool);
74 
76 
81  vtkSetMacro(ThresholdValue, double);
82  vtkGetMacro(ThresholdValue, double);
83  vtkBooleanMacro(ThresholdValue, double);
85 
87 
92  vtkSetMacro(OutputTriangles, vtkTypeBool);
93  vtkGetMacro(OutputTriangles, vtkTypeBool);
94  vtkBooleanMacro(OutputTriangles, vtkTypeBool);
96 
97 protected:
100 
102  int FillInputPortInformation(int port, vtkInformation* info) override;
103 
104  int Extent[6];
108 
109 private:
111  void operator=(const vtkImageDataGeometryFilter&) = delete;
112 };
113 
114 #endif
vtkImageDataGeometryFilter::GetExtent
int * GetExtent()
Definition: vtkImageDataGeometryFilter.h:61
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkImageDataGeometryFilter::~vtkImageDataGeometryFilter
~vtkImageDataGeometryFilter() override
Definition: vtkImageDataGeometryFilter.h:99
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:453
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition: vtkWrappingHints.h:45
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkImageDataGeometryFilter::ThresholdCells
vtkTypeBool ThresholdCells
Definition: vtkImageDataGeometryFilter.h:105
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageDataGeometryFilter
extract geometry for structured points
Definition: vtkImageDataGeometryFilter.h:44
vtkImageDataGeometryFilter::OutputTriangles
vtkTypeBool OutputTriangles
Definition: vtkImageDataGeometryFilter.h:107
vtkImageDataGeometryFilter::ThresholdValue
double ThresholdValue
Definition: vtkImageDataGeometryFilter.h:106
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkX3D::extent
@ extent
Definition: vtkX3D.h:351
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41