22 #ifndef vtkImageSeedConnectivity_h
23 #define vtkImageSeedConnectivity_h
26 #include "vtkImagingMorphologicalModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
43 void RemoveAllSeeds();
44 void AddSeed(
int num,
int*
index);
45 void AddSeed(
int i0,
int i1,
int i2);
46 void AddSeed(
int i0,
int i1);
53 vtkSetMacro(InputConnectValue,
unsigned char);
54 vtkGetMacro(InputConnectValue,
unsigned char);
61 vtkSetMacro(OutputConnectedValue,
unsigned char);
62 vtkGetMacro(OutputConnectedValue,
unsigned char);
69 vtkSetMacro(OutputUnconnectedValue,
unsigned char);
70 vtkGetMacro(OutputUnconnectedValue,
unsigned char);
84 vtkSetMacro(Dimensionality,
int);
85 vtkGetMacro(Dimensionality,
int);
107 VTK_ABI_NAMESPACE_END
Create a binary image of a sphere.
vtkImageConnectorSeed * Seeds
unsigned char InputConnectValue
unsigned char OutputUnconnectedValue
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
vtkImageConnector * Connector
SeedConnectivity with user defined seeds.
unsigned char OutputConnectedValue
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.