VTK
vtkImageOpenClose3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageOpenClose3D.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 =========================================================================*/
35 #ifndef vtkImageOpenClose3D_h
36 #define vtkImageOpenClose3D_h
37 
38 
39 #include "vtkImagingMorphologicalModule.h" // For export macro
40 #include "vtkImageAlgorithm.h"
41 
43 
45 {
46 public:
48 
49  static vtkImageOpenClose3D *New();
51  void PrintSelf(ostream& os, vtkIndent indent);
53 
56  unsigned long int GetMTime();
57 
59 
60  void DebugOn();
61  void DebugOff();
63 
65  void Modified();
66 
67  // Forward Source messages to filter1
68 
70  void SetKernelSize(int size0, int size1, int size2);
71 
73 
75  void SetOpenValue(double value);
76  double GetOpenValue();
78 
80 
82  void SetCloseValue(double value);
83  double GetCloseValue();
85 
87 
88  vtkGetObjectMacro(Filter0, vtkImageDilateErode3D);
89  vtkGetObjectMacro(Filter1, vtkImageDilateErode3D);
91 
93 
94  virtual int ProcessRequest(vtkInformation*,
98 
100 
101  virtual int
103  vtkInformationVector** inInfoVec,
104  vtkInformationVector* outInfoVec,
105  int requestFromOutputPort,
106  unsigned long* mtime);
108 
109 protected:
112 
115 
116  virtual void ReportReferences(vtkGarbageCollector*);
117 private:
118  vtkImageOpenClose3D(const vtkImageOpenClose3D&); // Not implemented.
119  void operator=(const vtkImageOpenClose3D&); // Not implemented.
120 };
121 
122 #endif
123 
124 
125 
Store vtkAlgorithm input/output information.
#define VTKIMAGINGMORPHOLOGICAL_EXPORT
virtual void DebugOff()
Detect and break reference loops.
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageDilateErode3D * Filter1
virtual void ReportReferences(vtkGarbageCollector *)
Will perform opening or closing.
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void Modified()
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
vtkImageDilateErode3D * Filter0
Dilates one value and erodes another.
virtual void DebugOn()