#include <vtkImageToImageStencil.h>
vtkImageToImageStencil will convert a vtkImageData into an stencil that can be used with vtkImageStecil or other vtk classes that apply a stencil to an image.
Definition at line 36 of file vtkImageToImageStencil.h.
vtkImageToImageStencil::vtkImageToImageStencil | ( | ) | [protected] |
vtkImageToImageStencil::~vtkImageToImageStencil | ( | ) | [protected] |
static vtkImageToImageStencil* vtkImageToImageStencil::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageStencilSource.
virtual const char* vtkImageToImageStencil::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageStencilSource.
static int vtkImageToImageStencil::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 vtkImageStencilSource.
virtual int vtkImageToImageStencil::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 vtkImageStencilSource.
static vtkImageToImageStencil* vtkImageToImageStencil::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageStencilSource.
void vtkImageToImageStencil::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 vtkImageStencilSource.
void vtkImageToImageStencil::SetInput | ( | vtkImageData * | input | ) |
Specify the image data to convert into a stencil.
vtkImageData* vtkImageToImageStencil::GetInput | ( | ) |
Specify the image data to convert into a stencil.
void vtkImageToImageStencil::ThresholdByUpper | ( | double | thresh | ) |
The values greater than or equal to the value match.
void vtkImageToImageStencil::ThresholdByLower | ( | double | thresh | ) |
The values less than or equal to the value match.
void vtkImageToImageStencil::ThresholdBetween | ( | double | lower, | |
double | upper | |||
) |
The values in a range (inclusive) match
virtual void vtkImageToImageStencil::SetUpperThreshold | ( | double | ) | [virtual] |
Get the Upper and Lower thresholds.
virtual double vtkImageToImageStencil::GetUpperThreshold | ( | ) | [virtual] |
Get the Upper and Lower thresholds.
virtual void vtkImageToImageStencil::SetLowerThreshold | ( | double | ) | [virtual] |
Get the Upper and Lower thresholds.
virtual double vtkImageToImageStencil::GetLowerThreshold | ( | ) | [virtual] |
Get the Upper and Lower thresholds.
virtual int vtkImageToImageStencil::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageStencilSource.
virtual int vtkImageToImageStencil::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageStencilSource.
virtual int vtkImageToImageStencil::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageStencilSource.
virtual int vtkImageToImageStencil::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 vtkAlgorithm.
double vtkImageToImageStencil::UpperThreshold [protected] |
Definition at line 75 of file vtkImageToImageStencil.h.
double vtkImageToImageStencil::LowerThreshold [protected] |
Definition at line 76 of file vtkImageToImageStencil.h.
double vtkImageToImageStencil::Threshold [protected] |
Definition at line 77 of file vtkImageToImageStencil.h.