VTK
vtkImageDilateErode3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDilateErode3D.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 =========================================================================*/
25 #ifndef vtkImageDilateErode3D_h
26 #define vtkImageDilateErode3D_h
27 
28 
29 #include "vtkImagingMorphologicalModule.h" // For export macro
31 
33 
35 {
36 public:
38 
40  static vtkImageDilateErode3D *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
44 
48  void SetKernelSize(int size0, int size1, int size2);
49 
50 
52 
53  vtkSetMacro(DilateValue, double);
54  vtkGetMacro(DilateValue, double);
55  vtkSetMacro(ErodeValue, double);
56  vtkGetMacro(ErodeValue, double);
58 
59 protected:
62 
64  double DilateValue;
65  double ErodeValue;
66 
67  void ThreadedRequestData(vtkInformation *request,
68  vtkInformationVector **inputVector,
69  vtkInformationVector *outputVector,
70  vtkImageData ***inData, vtkImageData **outData,
71  int extent[6], int id);
72  virtual int RequestData(vtkInformation *request,
73  vtkInformationVector **inputVector,
74  vtkInformationVector *outputVector);
75 
76 private:
77  vtkImageDilateErode3D(const vtkImageDilateErode3D&); // Not implemented.
78  void operator=(const vtkImageDilateErode3D&); // Not implemented.
79 };
80 
81 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
#define VTKIMAGINGMORPHOLOGICAL_EXPORT
Create a binary image of an ellipsoid.
vtkImageEllipsoidSource * Ellipse
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Filters that operate on pixel neighborhoods.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
static vtkImageSpatialAlgorithm * New()
Dilates one value and erodes another.