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 
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 
91 
93 
98 
100 
101  virtual int
103  vtkInformationVector** inInfoVec,
104  vtkInformationVector* outInfoVec,
105  int requestFromOutputPort,
106  unsigned long* mtime);
108 
109 protected:
112 
115 
117 private:
118  vtkImageOpenClose3D(const vtkImageOpenClose3D&); // Not implemented.
119  void operator=(const vtkImageOpenClose3D&); // Not implemented.
120 };
121 
122 #endif
123 
124 
125 
vtkImageOpenClose3D::~vtkImageOpenClose3D
~vtkImageOpenClose3D()
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkImageOpenClose3D::New
static vtkImageOpenClose3D * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImageOpenClose3D::Modified
void Modified()
vtkImageOpenClose3D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageAlgorithm.h
vtkImageOpenClose3D::SetOpenValue
void SetOpenValue(double value)
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImageOpenClose3D::SetCloseValue
void SetCloseValue(double value)
vtkImageOpenClose3D::ReportReferences
virtual void ReportReferences(vtkGarbageCollector *)
vtkImageOpenClose3D::DebugOff
void DebugOff()
vtkgl::value
GLsizei const GLfloat * value
Definition: vtkgl.h:12021
vtkImageOpenClose3D::DebugOn
void DebugOn()
vtkImageOpenClose3D::GetOpenValue
double GetOpenValue()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImagingMorphologicalModule.h
vtkImageOpenClose3D::ComputePipelineMTime
virtual int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
vtkImageOpenClose3D::Filter1
vtkImageDilateErode3D * Filter1
Definition: vtkImageOpenClose3D.h:114
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:99
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkImageOpenClose3D::GetMTime
unsigned long int GetMTime()
vtkImageOpenClose3D::SetKernelSize
void SetKernelSize(int size0, int size1, int size2)
vtkImageOpenClose3D::vtkImageOpenClose3D
vtkImageOpenClose3D()
vtkImageOpenClose3D::ProcessRequest
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageDilateErode3D
Dilates one value and erodes another.
Definition: vtkImageDilateErode3D.h:35
VTKIMAGINGMORPHOLOGICAL_EXPORT
#define VTKIMAGINGMORPHOLOGICAL_EXPORT
Definition: vtkImagingMorphologicalModule.h:15
vtkImageOpenClose3D
Will perform opening or closing.
Definition: vtkImageOpenClose3D.h:45
vtkImageOpenClose3D::Filter0
vtkImageDilateErode3D * Filter0
Definition: vtkImageOpenClose3D.h:113
vtkImageOpenClose3D::GetCloseValue
double GetCloseValue()