#include <vtkImageMask.h>
Inheritance diagram for vtkImageMask:
vtkImageMask combines a mask with an image. Non zero mask implies the output pixel will be the same as the image. If a mask pixel is zero, the the output pixel is set to "MaskedValue". The filter also has the option to pass the mask through a boolean not operation before processing the image. This reverses the passed and replaced pixels. The two inputs should have the same "WholeExtent". The mask input should be unsigned char, and the image scalar type is the same as the output scalar type.
Definition at line 55 of file vtkImageMask.h.
Public Types | |
typedef vtkImageTwoInputFilter | Superclass |
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetImageInput (vtkImageData *in) |
void | SetMaskInput (vtkImageData *in) |
void | SetMaskedOutputValue (int num, float *v) |
void | SetMaskedOutputValue (float v) |
void | SetMaskedOutputValue (float v1, float v2) |
void | SetMaskedOutputValue (float v1, float v2, float v3) |
float * | GetMaskedOutputValue () |
int | GetMaskedOutputValueLength () |
virtual void | SetMaskAlpha (float) |
virtual float | GetMaskAlpha () |
virtual void | SetNotMask (int) |
virtual int | GetNotMask () |
virtual void | NotMaskOn () |
virtual void | NotMaskOff () |
Static Public Methods | |
vtkImageMask * | New () |
int | IsTypeOf (const char *type) |
vtkImageMask * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkImageMask () | |
~vtkImageMask () | |
void | ExecuteInformation (vtkImageData **inDatas, vtkImageData *outData) |
void | ExecuteInformation () |
void | ThreadedExecute (vtkImageData **inDatas, vtkImageData *outData, int extent[6], int id) |
Protected Attributes | |
float * | MaskedOutputValue |
int | MaskedOutputValueLength |
int | NotMask |
float | MaskAlpha |
|
Reimplemented from vtkImageTwoInputFilter. Definition at line 59 of file vtkImageMask.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
Reimplemented from vtkImageTwoInputFilter. |
|
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 vtkImageTwoInputFilter. |
|
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 vtkImageTwoInputFilter. |
|
Reimplemented from vtkImageTwoInputFilter. |
|
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 vtkImageTwoInputFilter. |
|
SetGet the value of the output pixel replaced by mask. |
|
SetGet the value of the output pixel replaced by mask. Definition at line 65 of file vtkImageMask.h. |
|
SetGet the value of the output pixel replaced by mask. Definition at line 66 of file vtkImageMask.h. |
|
SetGet the value of the output pixel replaced by mask. Definition at line 68 of file vtkImageMask.h. |
|
SetGet the value of the output pixel replaced by mask. Definition at line 70 of file vtkImageMask.h. |
|
SetGet the value of the output pixel replaced by mask. Definition at line 71 of file vtkImageMask.h. |
|
Set/Get the alpha blending value for the mask The input image is assumed to be at alpha = 1.0 and the mask image uses this alpha to blend using an over operator. |
|
Set/Get the alpha blending value for the mask The input image is assumed to be at alpha = 1.0 and the mask image uses this alpha to blend using an over operator. |
|
Set the input to be masked. Definition at line 83 of file vtkImageMask.h. References vtkImageTwoInputFilter::SetInput1(). |
|
Set the mask to be used. Definition at line 86 of file vtkImageMask.h. References vtkImageTwoInputFilter::SetInput2(). |
|
When Not Mask is on, the mask is passed through a boolean not before it is used to mask the image. The effect is to pass the pixels where the input mask is zero, and replace the pixels where the input value is non zero. |
|
When Not Mask is on, the mask is passed through a boolean not before it is used to mask the image. The effect is to pass the pixels where the input mask is zero, and replace the pixels where the input value is non zero. |
|
When Not Mask is on, the mask is passed through a boolean not before it is used to mask the image. The effect is to pass the pixels where the input mask is zero, and replace the pixels where the input value is non zero. |
|
When Not Mask is on, the mask is passed through a boolean not before it is used to mask the image. The effect is to pass the pixels where the input mask is zero, and replace the pixels where the input value is non zero. |
|
Reimplemented from vtkImageMultipleInputFilter. |
|
Reimplemented from vtkImageMultipleInputFilter. Definition at line 108 of file vtkImageMask.h. References vtkImageMultipleInputFilter::ExecuteInformation(). |
|
The execute method created by the subclass. This is kept public instead of protected since it is called from a non-member thread function. Reimplemented from vtkImageMultipleInputFilter. |
|
Definition at line 102 of file vtkImageMask.h. |
|
Definition at line 103 of file vtkImageMask.h. |
|
Definition at line 104 of file vtkImageMask.h. |
|
Definition at line 105 of file vtkImageMask.h. |