33 #ifndef vtkImageThresholdConnectivity_h
34 #define vtkImageThresholdConnectivity_h
36 #include "vtkImagingMorphologicalModule.h"
63 void ThresholdByUpper(
double thresh);
68 void ThresholdByLower(
double thresh);
74 void ThresholdBetween(
double lower,
double upper);
81 vtkGetMacro(ReplaceIn,
int);
89 void SetInValue(
double val);
90 vtkGetMacro(InValue,
double);
98 vtkGetMacro(ReplaceOut,
int);
106 void SetOutValue(
double val);
107 vtkGetMacro(OutValue,
double);
114 vtkGetMacro(UpperThreshold,
double);
115 vtkGetMacro(LowerThreshold,
double);
122 vtkSetVector2Macro(SliceRangeX,
int);
123 vtkGetVector2Macro(SliceRangeX,
int);
124 vtkSetVector2Macro(SliceRangeY,
int);
125 vtkGetVector2Macro(SliceRangeY,
int);
126 vtkSetVector2Macro(SliceRangeZ,
int);
127 vtkGetVector2Macro(SliceRangeZ,
int);
145 vtkGetMacro(ActiveComponent,
int);
155 vtkSetVector3Macro(NeighborhoodRadius,
double);
156 vtkGetVector3Macro(NeighborhoodRadius,
double);
164 vtkSetClampMacro(NeighborhoodFraction,
double, 0.0, 1.0);
165 vtkGetMacro(NeighborhoodFraction,
double);
178 vtkGetMacro(NumberOfInVoxels,
int);
183 ~vtkImageThresholdConnectivity() VTK_OVERRIDE;
185 double UpperThreshold;
186 double LowerThreshold;
192 double NeighborhoodRadius[3];
193 double NeighborhoodFraction;
201 int NumberOfInVoxels;
207 void ComputeInputUpdateExtent(
int inExt[6],
int outExt[6]);
211 vtkInformationVector *) VTK_OVERRIDE;
212 int RequestData(vtkInformation *, vtkInformationVector **,
213 vtkInformationVector *) VTK_OVERRIDE;
216 vtkImageThresholdConnectivity(const vtkImageThresholdConnectivity&) VTK_DELETE_FUNCTION;
217 void operator=(const vtkImageThresholdConnectivity&) VTK_DELETE_FUNCTION;
Flood fill an image region.
vtkTypeUInt32 vtkMTimeType
a simple class to control print indentation
efficient description of an image stencil
topologically and geometrically regular array of data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
represent and manipulate 3D points