VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageToImageStencil Class Reference

clip an image with a mask image More...

#include <vtkImageToImageStencil.h>

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

Public Types

typedef vtkImageStencilAlgorithm Superclass
 
- Public Types inherited from vtkImageStencilAlgorithm
typedef vtkAlgorithm 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)
 
vtkImageData * GetInput ()
 
virtual void SetUpperThreshold (double)
 
virtual double GetUpperThreshold ()
 
virtual void SetLowerThreshold (double)
 
virtual double GetLowerThreshold ()
 
- Public Member Functions inherited from vtkImageStencilAlgorithm
vtkImageStencilAlgorithmNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetOutput (vtkImageStencilData *output)
 
vtkImageStencilDataGetOutput ()
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Static Public Member Functions

static vtkImageToImageStencilNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageToImageStencilSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkImageStencilAlgorithm
static vtkImageStencilAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageStencilAlgorithmSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () 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 Member Functions inherited from vtkImageStencilAlgorithm
 vtkImageStencilAlgorithm ()
 
 ~vtkImageStencilAlgorithm ()
 
vtkImageStencilDataAllocateOutputData (vtkDataObject *out, int *updateExt)
 
virtual int FillOutputPortInformation (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

Definition at line 41 of file vtkImageToImageStencil.h.

Constructor & Destructor Documentation

vtkImageToImageStencil::vtkImageToImageStencil ( )
protected
vtkImageToImageStencil::~vtkImageToImageStencil ( )
protected

Member Function Documentation

static vtkImageToImageStencil* vtkImageToImageStencil::New ( )
static
static int vtkImageToImageStencil::IsTypeOf ( const char *  type)
static
virtual int vtkImageToImageStencil::IsA ( const char *  type)
virtual

Reimplemented from vtkImageStencilAlgorithm.

static vtkImageToImageStencil* vtkImageToImageStencil::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageToImageStencil::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkImageStencilAlgorithm.

vtkImageToImageStencil* vtkImageToImageStencil::NewInstance ( ) const
void vtkImageToImageStencil::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkImageToImageStencil::SetInputData ( 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 *   
)
protectedvirtual

Reimplemented from vtkImageStencilAlgorithm.

virtual int vtkImageToImageStencil::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Reimplemented from vtkImageStencilAlgorithm.

virtual int vtkImageToImageStencil::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Reimplemented from vtkImageStencilAlgorithm.

virtual int vtkImageToImageStencil::FillInputPortInformation ( int  ,
vtkInformation *   
)
protectedvirtual

Member Data Documentation

double vtkImageToImageStencil::UpperThreshold
protected

Definition at line 76 of file vtkImageToImageStencil.h.

double vtkImageToImageStencil::LowerThreshold
protected

Definition at line 77 of file vtkImageToImageStencil.h.

double vtkImageToImageStencil::Threshold
protected

Definition at line 78 of file vtkImageToImageStencil.h.


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