Go to the documentation of this file.
36 #ifndef vtkImageThresholdConnectivity_h
37 #define vtkImageThresholdConnectivity_h
39 #include "vtkImagingMorphologicalModule.h"
84 vtkGetMacro(ReplaceIn,
int);
93 vtkGetMacro(InValue,
double);
101 vtkGetMacro(ReplaceOut,
int);
110 vtkGetMacro(OutValue,
double);
117 vtkGetMacro(UpperThreshold,
double);
118 vtkGetMacro(LowerThreshold,
double);
125 vtkSetVector2Macro(SliceRangeX,
int);
126 vtkGetVector2Macro(SliceRangeX,
int);
127 vtkSetVector2Macro(SliceRangeY,
int);
128 vtkGetVector2Macro(SliceRangeY,
int);
129 vtkSetVector2Macro(SliceRangeZ,
int);
130 vtkGetVector2Macro(SliceRangeZ,
int);
148 vtkGetMacro(ActiveComponent,
int);
158 vtkSetVector3Macro(NeighborhoodRadius,
double);
159 vtkGetVector3Macro(NeighborhoodRadius,
double);
167 vtkSetClampMacro(NeighborhoodFraction,
double, 0.0, 1.0);
168 vtkGetMacro(NeighborhoodFraction,
double);
181 vtkGetMacro(NumberOfInVoxels,
int);
195 double NeighborhoodRadius[3];
represent and manipulate 3D points
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkImageStencilData * GetStencil()
void ThresholdByLower(double thresh)
Values less than or equal to this threshold will be filled.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called in response to a REQUEST_DATA request from the executive.
Generic algorithm superclass for image algs.
vtkImageThresholdConnectivity()
vtkTypeUInt64 vtkMTimeType
void ComputeInputUpdateExtent(int inExt[6], int outExt[6])
~vtkImageThresholdConnectivity()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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 inludes values that are exactly equal to the...
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
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
void ThresholdByUpper(double thresh)
Values greater than or equal to this threshold will be filled.
vtkMTimeType GetMTime()
Override the MTime to account for the seed points.