VTK
|
SeedConnectivity with user defined seeds. More...
#include <vtkImageSeedConnectivity.h>
Inherits vtkImageAlgorithm.
Public Types | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageSeedConnectivity * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | RemoveAllSeeds () |
void | AddSeed (int num, int *index) |
void | AddSeed (int i0, int i1, int i2) |
void | AddSeed (int i0, int i1) |
virtual void | SetInputConnectValue (int) |
virtual int | GetInputConnectValue () |
virtual void | SetOutputConnectedValue (int) |
virtual int | GetOutputConnectedValue () |
virtual void | SetOutputUnconnectedValue (int) |
virtual int | GetOutputUnconnectedValue () |
virtual vtkImageConnector * | GetConnector () |
virtual void | SetDimensionality (int) |
virtual int | GetDimensionality () |
Static Public Member Functions | |
static vtkImageSeedConnectivity * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSeedConnectivity * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageSeedConnectivity () | |
~vtkImageSeedConnectivity () | |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
unsigned char | InputConnectValue |
unsigned char | OutputConnectedValue |
unsigned char | OutputUnconnectedValue |
vtkImageConnectorSeed * | Seeds |
vtkImageConnector * | Connector |
int | Dimensionality |
SeedConnectivity with user defined seeds.
vtkImageSeedConnectivity marks pixels connected to user supplied seeds. The input must be unsigned char, and the output is also unsigned char. If a seed supplied by the user does not have pixel value "InputTrueValue", then the image is scanned +x, +y, +z until a pixel is encountered with value "InputTrueValue". This new pixel is used as the seed . Any pixel with out value "InputTrueValue" is consider off. The output pixels values are 0 for any off pixel in input, "OutputTrueValue" for any pixels connected to seeds, and "OutputUnconnectedValue" for any on pixels not connected to seeds. The same seeds are used for all images in the image set.
Definition at line 42 of file vtkImageSeedConnectivity.h.
typedef vtkImageAlgorithm vtkImageSeedConnectivity::Superclass |
Definition at line 46 of file vtkImageSeedConnectivity.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkImageSeedConnectivity* vtkImageSeedConnectivity::NewInstance | ( | ) | const |
void vtkImageSeedConnectivity::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkImageSeedConnectivity::RemoveAllSeeds | ( | ) |
Methods for manipulating the seed pixels.
void vtkImageSeedConnectivity::AddSeed | ( | int | num, |
int * | index | ||
) |
Methods for manipulating the seed pixels.
void vtkImageSeedConnectivity::AddSeed | ( | int | i0, |
int | i1, | ||
int | i2 | ||
) |
Methods for manipulating the seed pixels.
void vtkImageSeedConnectivity::AddSeed | ( | int | i0, |
int | i1 | ||
) |
Methods for manipulating the seed pixels.
|
virtual |
Set/Get what value is considered as connecting pixels.
|
virtual |
Set/Get what value is considered as connecting pixels.
|
virtual |
Set/Get the value to set connected pixels to.
|
virtual |
Set/Get the value to set connected pixels to.
|
virtual |
Set/Get the value to set unconnected pixels to.
|
virtual |
Set/Get the value to set unconnected pixels to.
|
virtual |
Get the vtkImageCOnnector used by this filter.
|
virtual |
Set the number of axes to use in connectivity.
|
virtual |
Set the number of axes to use in connectivity.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Definition at line 90 of file vtkImageSeedConnectivity.h.
|
protected |
Definition at line 91 of file vtkImageSeedConnectivity.h.
|
protected |
Definition at line 92 of file vtkImageSeedConnectivity.h.
|
protected |
Definition at line 93 of file vtkImageSeedConnectivity.h.
|
protected |
Definition at line 94 of file vtkImageSeedConnectivity.h.
|
protected |
Definition at line 95 of file vtkImageSeedConnectivity.h.