52#ifndef vtkImageOpenClose3D_h
53#define vtkImageOpenClose3D_h
56#include "vtkImagingMorphologicalModule.h"
Detect and break reference loops.
Generic algorithm superclass for image algs.
Dilates one value and erodes another.
Will perform opening or closing.
vtkMTimeType GetMTime() override
This method considers the sub filters MTimes when computing this objects modified time.
vtkImageDilateErode3D * Filter0
void PrintSelf(ostream &os, vtkIndent indent) override
Default open value is 0, and default close value is 255.
void DebugOff() override
Turn debugging output on.
void ReportReferences(vtkGarbageCollector *) override
void SetOpenValue(double value)
Determines the value that will opened.
void DebugOn() override
Turn debugging output on.
void SetCloseValue(double value)
Determines the value that will closed.
static vtkImageOpenClose3D * New()
Default open value is 0, and default close value is 255.
int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) override
Override to send the request to internal pipeline.
~vtkImageOpenClose3D() override
double GetOpenValue()
Determines the value that will opened.
void SetKernelSize(int size0, int size1, int size2)
Selects the size of gaps or objects removed.
double GetCloseValue()
Determines the value that will closed.
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
void Modified() override
Pass modified message to sub filters.
vtkImageDilateErode3D * Filter1
a simple class to control print indentation
vtkTypeUInt32 vtkMTimeType