36 #ifndef vtkImageThresholdConnectivity_h
37 #define vtkImageThresholdConnectivity_h
40 #include "vtkImagingMorphologicalModule.h"
65 void ThresholdByUpper(
double thresh);
70 void ThresholdByLower(
double thresh);
76 void ThresholdBetween(
double lower,
double upper);
91 void SetInValue(
double val);
92 vtkGetMacro(InValue,
double);
108 void SetOutValue(
double val);
109 vtkGetMacro(OutValue,
double);
116 vtkGetMacro(UpperThreshold,
double);
117 vtkGetMacro(LowerThreshold,
double);
124 vtkSetVector2Macro(SliceRangeX,
int);
125 vtkGetVector2Macro(SliceRangeX,
int);
126 vtkSetVector2Macro(SliceRangeY,
int);
127 vtkGetVector2Macro(SliceRangeY,
int);
128 vtkSetVector2Macro(SliceRangeZ,
int);
129 vtkGetVector2Macro(SliceRangeZ,
int);
146 vtkSetMacro(ActiveComponent,
int);
147 vtkGetMacro(ActiveComponent,
int);
157 vtkSetVector3Macro(NeighborhoodRadius,
double);
158 vtkGetVector3Macro(NeighborhoodRadius,
double);
166 vtkSetClampMacro(NeighborhoodFraction,
double, 0.0, 1.0);
167 vtkGetMacro(NeighborhoodFraction,
double);
180 vtkGetMacro(NumberOfInVoxels,
int);
194 double NeighborhoodRadius[3];
209 void ComputeInputUpdateExtent(
int inExt[6],
int outExt[6]);
Flood fill an image region.
vtkTypeUInt32 vtkMTimeType
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
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.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
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.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
double NeighborhoodFraction
represent and manipulate 3D points