51 #ifndef vtkImageSeedConnectivity_h
52 #define vtkImageSeedConnectivity_h
55 #include "vtkImagingMorphologicalModule.h"
57 VTK_ABI_NAMESPACE_BEGIN
82 vtkSetMacro(InputConnectValue,
unsigned char);
83 vtkGetMacro(InputConnectValue,
unsigned char);
90 vtkSetMacro(OutputConnectedValue,
unsigned char);
91 vtkGetMacro(OutputConnectedValue,
unsigned char);
98 vtkSetMacro(OutputUnconnectedValue,
unsigned char);
99 vtkGetMacro(OutputUnconnectedValue,
unsigned char);
113 vtkSetMacro(Dimensionality,
int);
114 vtkGetMacro(Dimensionality,
int);
136 VTK_ABI_NAMESPACE_END
Generic algorithm superclass for image algs.
Create a binary image of a sphere.
SeedConnectivity with user defined seeds.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
void AddSeed(int i0, int i1, int i2)
Methods for manipulating the seed pixels.
vtkImageConnectorSeed * Seeds
void AddSeed(int i0, int i1)
Methods for manipulating the seed pixels.
void AddSeed(int num, int *index)
Methods for manipulating the seed pixels.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
unsigned char OutputConnectedValue
unsigned char InputConnectValue
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RemoveAllSeeds()
Methods for manipulating the seed pixels.
static vtkImageSeedConnectivity * New()
unsigned char OutputUnconnectedValue
vtkImageConnector * Connector
vtkImageSeedConnectivity()
~vtkImageSeedConnectivity() override
a simple class to control print indentation