Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkImageSeedConnectivity Class Reference

SeedConnectivity with user defined seeds. More...

#include <vtkImageSeedConnectivity.h>

Inheritance diagram for vtkImageSeedConnectivity:

Inheritance graph
[legend]
Collaboration diagram for vtkImageSeedConnectivity:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 vtkImageConnectorGetConnector ()
virtual void SetDimensionality (int)
virtual int GetDimensionality ()

Static Public Methods

vtkImageSeedConnectivity * New ()
int IsTypeOf (const char *type)
vtkImageSeedConnectivity * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageSeedConnectivity ()
 ~vtkImageSeedConnectivity ()
 vtkImageSeedConnectivity (const vtkImageSeedConnectivity &)
void operator= (const vtkImageSeedConnectivity &)
void Execute (vtkImageData *inData, vtkImageData *outData)
void Execute ()
void Execute (vtkImageData *outData)
void EnlargeOutputUpdateExtents (vtkDataObject *data)

Protected Attributes

unsigned char InputConnectValue
unsigned char OutputConnectedValue
unsigned char OutputUnconnectedValue
vtkImageConnectorSeedSeeds
vtkImageConnectorConnector
int Dimensionality

Detailed Description

SeedConnectivity with user defined seeds.

Date:
2000/12/10 20:09:10
Revision:
1.21
Thanks:
Thanks to C. Charles Law who developed this class.
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.
Examples:
vtkImageSeedConnectivity (examples)

Definition at line 69 of file vtkImageSeedConnectivity.h.


Constructor & Destructor Documentation

vtkImageSeedConnectivity::vtkImageSeedConnectivity   [protected]
 

vtkImageSeedConnectivity::~vtkImageSeedConnectivity   [protected]
 

vtkImageSeedConnectivity::vtkImageSeedConnectivity const vtkImageSeedConnectivity &    [inline, protected]
 

Definition at line 104 of file vtkImageSeedConnectivity.h.


Member Function Documentation

vtkImageSeedConnectivity* vtkImageSeedConnectivity::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageToImageFilter.

virtual const char* vtkImageSeedConnectivity::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

int vtkImageSeedConnectivity::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

virtual int vtkImageSeedConnectivity::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

vtkImageSeedConnectivity* vtkImageSeedConnectivity::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

void vtkImageSeedConnectivity::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageToImageFilter.

void vtkImageSeedConnectivity::RemoveAllSeeds  
 

Methods for manipulating the seed pixels.

void vtkImageSeedConnectivity::AddSeed int    num,
int *    index
 

void vtkImageSeedConnectivity::AddSeed int    i0,
int    i1,
int    i2
 

void vtkImageSeedConnectivity::AddSeed int    i0,
int    i1
 

virtual void vtkImageSeedConnectivity::SetInputConnectValue int    [virtual]
 

Set/Get what value is considered as connecting pixels.

virtual int vtkImageSeedConnectivity::GetInputConnectValue   [virtual]
 

virtual void vtkImageSeedConnectivity::SetOutputConnectedValue int    [virtual]
 

Set/Get the value to set connected pixels to.

virtual int vtkImageSeedConnectivity::GetOutputConnectedValue   [virtual]
 

virtual void vtkImageSeedConnectivity::SetOutputUnconnectedValue int    [virtual]
 

Set/Get the value to set unconnected pixels to.

virtual int vtkImageSeedConnectivity::GetOutputUnconnectedValue   [virtual]
 

virtual vtkImageConnector* vtkImageSeedConnectivity::GetConnector   [virtual]
 

Get the vtkImageCOnnector used by this filter.

virtual void vtkImageSeedConnectivity::SetDimensionality int    [virtual]
 

Set the number of axes to use in connectivity.

virtual int vtkImageSeedConnectivity::GetDimensionality   [virtual]
 

void vtkImageSeedConnectivity::operator= const vtkImageSeedConnectivity &    [inline, protected]
 

Definition at line 105 of file vtkImageSeedConnectivity.h.

void vtkImageSeedConnectivity::Execute vtkImageData   inData,
vtkImageData   outData
[protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

void vtkImageSeedConnectivity::Execute   [inline, protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Definition at line 115 of file vtkImageSeedConnectivity.h.

void vtkImageSeedConnectivity::Execute vtkImageData   outData [inline, protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Definition at line 116 of file vtkImageSeedConnectivity.h.

void vtkImageSeedConnectivity::EnlargeOutputUpdateExtents vtkDataObject   data [protected]
 

Generate more than requested. Called by the superclass before an execute, and before output memory is allocated.


Member Data Documentation

unsigned char vtkImageSeedConnectivity::InputConnectValue [protected]
 

Definition at line 107 of file vtkImageSeedConnectivity.h.

unsigned char vtkImageSeedConnectivity::OutputConnectedValue [protected]
 

Definition at line 108 of file vtkImageSeedConnectivity.h.

unsigned char vtkImageSeedConnectivity::OutputUnconnectedValue [protected]
 

Definition at line 109 of file vtkImageSeedConnectivity.h.

vtkImageConnectorSeed* vtkImageSeedConnectivity::Seeds [protected]
 

Definition at line 110 of file vtkImageSeedConnectivity.h.

vtkImageConnector* vtkImageSeedConnectivity::Connector [protected]
 

Definition at line 111 of file vtkImageSeedConnectivity.h.

int vtkImageSeedConnectivity::Dimensionality [protected]
 

Definition at line 112 of file vtkImageSeedConnectivity.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:57 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001