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 "vtkImageAlgorithm.h"
40 
42 
44 {
45 public:
47 
48  static vtkImageOpenClose3D *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
52 
55  unsigned long int GetMTime();
56 
58 
59  void DebugOn();
60  void DebugOff();
62 
64  void Modified();
65 
66  // Foward Source messages to filter1
67 
69  void SetKernelSize(int size0, int size1, int size2);
70 
72 
74  void SetOpenValue(double value);
75  double GetOpenValue();
77 
79 
81  void SetCloseValue(double value);
82  double GetCloseValue();
84 
86 
87  vtkGetObjectMacro(Filter0, vtkImageDilateErode3D);
88  vtkGetObjectMacro(Filter1, vtkImageDilateErode3D);
90 
92 
93  virtual int ProcessRequest(vtkInformation*,
97 
99 
100  virtual int
102  vtkInformationVector** inInfoVec,
103  vtkInformationVector* outInfoVec,
104  int requestFromOutputPort,
105  unsigned long* mtime);
107 
108 protected:
111 
114 
115  virtual void ReportReferences(vtkGarbageCollector*);
116 private:
117  vtkImageOpenClose3D(const vtkImageOpenClose3D&); // Not implemented.
118  void operator=(const vtkImageOpenClose3D&); // Not implemented.
119 };
120 
121 #endif
122 
123 
124 
Store vtkAlgorithm input/output information.
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:37
#define VTK_IMAGING_EXPORT
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()