 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #ifndef vtkImageThresholdConnectivity_h
34 #define vtkImageThresholdConnectivity_h
37 #include "vtkImagingMorphologicalModule.h"
89 vtkGetMacro(InValue,
double);
106 vtkGetMacro(OutValue,
double);
113 vtkGetMacro(UpperThreshold,
double);
114 vtkGetMacro(LowerThreshold,
double);
121 vtkSetVector2Macro(SliceRangeX,
int);
122 vtkGetVector2Macro(SliceRangeX,
int);
123 vtkSetVector2Macro(SliceRangeY,
int);
124 vtkGetVector2Macro(SliceRangeY,
int);
125 vtkSetVector2Macro(SliceRangeZ,
int);
126 vtkGetVector2Macro(SliceRangeZ,
int);
143 vtkSetMacro(ActiveComponent,
int);
144 vtkGetMacro(ActiveComponent,
int);
154 vtkSetVector3Macro(NeighborhoodRadius,
double);
155 vtkGetVector3Macro(NeighborhoodRadius,
double);
163 vtkSetClampMacro(NeighborhoodFraction,
double, 0.0, 1.0);
164 vtkGetMacro(NeighborhoodFraction,
double);
177 vtkGetMacro(NumberOfInVoxels,
int);
191 double NeighborhoodRadius[3];
represent and manipulate 3D points
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkImageStencilData * GetStencil()
void ThresholdByLower(double thresh)
Values less than or equal to this threshold will be filled.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generic algorithm superclass for image algs.
vtkImageThresholdConnectivity()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
void ComputeInputUpdateExtent(int inExt[6], int outExt[6])
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
topologically and geometrically regular array of data
a simple class to control print indentation
void ThresholdBetween(double lower, double upper)
Values within this range will be filled, where the range includes values that are exactly equal to th...
void SetOutValue(double val)
If ReplaceOut is set, outside the fill will be replaced by this value.
static vtkImageThresholdConnectivity * New()
void SetSeedPoints(vtkPoints *points)
Set the seeds.
void SetInValue(double val)
If ReplaceIn is set, the filled region will be replaced by this value.
Flood fill an image region.
efficient description of an image stencil
virtual void SetStencilData(vtkImageStencilData *stencil)
Specify a stencil that will be used to limit the flood fill to an arbitrarily-shaped region of the im...
double NeighborhoodFraction
~vtkImageThresholdConnectivity() override
void ThresholdByUpper(double thresh)
Values greater than or equal to this threshold will be filled.
vtkMTimeType GetMTime() override
Override the MTime to account for the seed points.
vtkTypeUInt32 vtkMTimeType