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 
30 
32 
34 {
35 public:
37 
39  static vtkImageDilateErode3D *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
43 
47  void SetKernelSize(int size0, int size1, int size2);
48 
49 
51 
52  vtkSetMacro(DilateValue, double);
53  vtkGetMacro(DilateValue, double);
54  vtkSetMacro(ErodeValue, double);
55  vtkGetMacro(ErodeValue, double);
57 
58 protected:
61 
63  double DilateValue;
64  double ErodeValue;
65 
66  void ThreadedRequestData(vtkInformation *request,
67  vtkInformationVector **inputVector,
68  vtkInformationVector *outputVector,
69  vtkImageData ***inData, vtkImageData **outData,
70  int extent[6], int id);
71  virtual int RequestData(vtkInformation *request,
72  vtkInformationVector **inputVector,
73  vtkInformationVector *outputVector);
74 
75 private:
76  vtkImageDilateErode3D(const vtkImageDilateErode3D&); // Not implemented.
77  void operator=(const vtkImageDilateErode3D&); // Not implemented.
78 };
79 
80 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
Create a binary image of an ellipsoid.
vtkImageEllipsoidSource * Ellipse
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
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.