#include <vtkImageSolitaryFilter.h>
vtkImageSolitaryFilter is a filter that sets to zero pixels/voxels that have scalar values over a specified threshold but do not have horizontal/vertical neighborhood pixels with scalar values over the respective thresholds
Definition at line 41 of file vtkImageSolitaryFilter.h.
Public Types | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetHorizontalThreshold (int) |
virtual int | GetHorizontalThreshold () |
virtual void | SetVerticalThreshold (int) |
virtual int | GetVerticalThreshold () |
virtual void | SetFilteringThreshold (int) |
virtual int | GetFilteringThreshold () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageSolitaryFilter * | SafeDownCast (vtkObject *o) |
static vtkImageSolitaryFilter * | New () |
Protected Member Functions | |
vtkImageSolitaryFilter () | |
~vtkImageSolitaryFilter () | |
virtual int | RequestUpdateExtent (vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) |
virtual int | FillInputPortInformation (int, vtkInformation *) |
Protected Attributes | |
int | HorizontalThreshold |
int | VerticalThreshold |
int | FilteringThreshold |
Reimplemented from vtkThreadedImageAlgorithm.
Definition at line 44 of file vtkImageSolitaryFilter.h.
vtkImageSolitaryFilter::vtkImageSolitaryFilter | ( | ) | [protected] |
vtkImageSolitaryFilter::~vtkImageSolitaryFilter | ( | ) | [inline, protected] |
Definition at line 70 of file vtkImageSolitaryFilter.h.
virtual const char* vtkImageSolitaryFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
static int vtkImageSolitaryFilter::IsTypeOf | ( | const char * | name | ) | [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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageSolitaryFilter::IsA | ( | const char * | name | ) | [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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageSolitaryFilter* vtkImageSolitaryFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageSolitaryFilter::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 vtkThreadedImageAlgorithm.
static vtkImageSolitaryFilter* vtkImageSolitaryFilter::New | ( | ) | [static] |
Construct object to extract all of the input data.
Reimplemented from vtkAlgorithm.
virtual void vtkImageSolitaryFilter::SetHorizontalThreshold | ( | int | ) | [virtual] |
Specify the X threshold. Horizontal neighboring pixels that have lower scalar value than this will be set to zero
virtual int vtkImageSolitaryFilter::GetHorizontalThreshold | ( | ) | [virtual] |
Specify the X threshold. Horizontal neighboring pixels that have lower scalar value than this will be set to zero
virtual void vtkImageSolitaryFilter::SetVerticalThreshold | ( | int | ) | [virtual] |
Specify the X threshold. Horizontal neighboring pixels that have lower scalar value than this will be set to zero
virtual int vtkImageSolitaryFilter::GetVerticalThreshold | ( | ) | [virtual] |
Specify the X threshold. Horizontal neighboring pixels that have lower scalar value than this will be set to zero
virtual void vtkImageSolitaryFilter::SetFilteringThreshold | ( | int | ) | [virtual] |
Specify the X threshold. Horizontal neighboring pixels that have lower scalar value than this will be set to zero
virtual int vtkImageSolitaryFilter::GetFilteringThreshold | ( | ) | [virtual] |
Specify the X threshold. Horizontal neighboring pixels that have lower scalar value than this will be set to zero
virtual int vtkImageSolitaryFilter::RequestUpdateExtent | ( | vtkInformation * | vtkNotUsed(request), | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
void vtkImageSolitaryFilter::ThreadedRequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector, | |||
vtkImageData *** | inData, | |||
vtkImageData ** | outData, | |||
int | extent[6], | |||
int | threadId | |||
) | [protected, virtual] |
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageSolitaryFilter::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkImageAlgorithm.
int vtkImageSolitaryFilter::HorizontalThreshold [protected] |
Definition at line 85 of file vtkImageSolitaryFilter.h.
int vtkImageSolitaryFilter::VerticalThreshold [protected] |
Definition at line 86 of file vtkImageSolitaryFilter.h.
int vtkImageSolitaryFilter::FilteringThreshold [protected] |
Definition at line 87 of file vtkImageSolitaryFilter.h.