VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageToImageStencil Class Reference

clip an image with a mask image More...

#include <vtkImageToImageStencil.h>

Inheritance diagram for vtkImageToImageStencil:
Inheritance graph
[legend]
Collaboration diagram for vtkImageToImageStencil:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageStencilAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageToImageStencilNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void ThresholdByUpper (double thresh)
void ThresholdByLower (double thresh)
void ThresholdBetween (double lower, double upper)
void SetInputData (vtkImageData *input)
vtkImageDataGetInput ()
virtual void SetUpperThreshold (double)
virtual double GetUpperThreshold ()
virtual void SetLowerThreshold (double)
virtual double GetLowerThreshold ()

Static Public Member Functions

static vtkImageToImageStencilNew ()
static int IsTypeOf (const char *type)
static vtkImageToImageStencilSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageToImageStencil ()
 ~vtkImageToImageStencil ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int, vtkInformation *)

Protected Attributes

double UpperThreshold
double LowerThreshold
double Threshold

Detailed Description

clip an image with a mask image

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.

See also:
vtkImageStencil vtkImplicitFunctionToImageStencil vtkPolyDataToImageStencil
Tests:
vtkImageToImageStencil (Tests)

Definition at line 37 of file vtkImageToImageStencil.h.


Member Typedef Documentation

Reimplemented from vtkImageStencilAlgorithm.

Definition at line 41 of file vtkImageToImageStencil.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkImageStencilAlgorithm.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageStencilAlgorithm.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageStencilAlgorithm.

Reimplemented from vtkImageStencilAlgorithm.

virtual vtkObjectBase* vtkImageToImageStencil::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageStencilAlgorithm.

Reimplemented from vtkImageStencilAlgorithm.

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 vtkImageStencilAlgorithm.

Specify the image data to convert into a stencil.

Specify the image data to convert into a stencil.

The values greater than or equal to the value match.

The values less than or equal to the value match.

The values in a range (inclusive) match

virtual void vtkImageToImageStencil::SetUpperThreshold ( double  ) [virtual]

Get the Upper and Lower thresholds.

Get the Upper and Lower thresholds.

virtual void vtkImageToImageStencil::SetLowerThreshold ( double  ) [virtual]

Get the Upper and Lower thresholds.

Get the Upper and Lower thresholds.

Reimplemented from vtkImageStencilAlgorithm.

Reimplemented from vtkImageStencilAlgorithm.

Reimplemented from vtkImageStencilAlgorithm.

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.


Member Data Documentation

Definition at line 76 of file vtkImageToImageStencil.h.

Definition at line 77 of file vtkImageToImageStencil.h.

Definition at line 78 of file vtkImageToImageStencil.h.


The documentation for this class was generated from the following file: