#include <vtkImageAlphaFilter.h>
vtkImageAlphaFilter takes the components from multiple inputs and AlphaFilters them into one output. The output images are AlphaFilter along the "AlphaFilterAxis". Except for the AlphaFilter axis, all inputs must have the same extent. All inputs must have the same number of scalar components. A future extension might be to pad or clip inputs to have the same extent. The output has the same origin and spacing as the first input. The origin and spacing of all other inputs are ignored. All inputs must have the same scalar type.
Definition at line 43 of file vtkImageAlphaFilter.h.
Public Types | |
typedef vtkImageMultipleInputFilter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetAverageThreshold (int) |
virtual int | GetAverageThreshold () |
virtual void | MaximumModeOn () |
virtual void | MaximumModeOff () |
virtual void | SetMaximumMode (int) |
virtual int | GetMaximumMode () |
virtual void | AverageModeOn () |
virtual void | AverageModeOff () |
virtual void | SetAverageMode (int) |
virtual int | GetAverageMode () |
Static Public Member Functions | |
static vtkImageAlphaFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageAlphaFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageAlphaFilter () | |
~vtkImageAlphaFilter () | |
void | ExecuteInformation (vtkImageData **inputs, vtkImageData *output) |
void | ComputeInputUpdateExtent (int inExt[6], int outExt[6]) |
void | ThreadedExecute (vtkImageData **inDatas, vtkImageData *outData, int extent[6], int id) |
void | InitOutput (int outExt[6], vtkImageData *outData) |
Reimplemented from vtkImageMultipleInputFilter.
Definition at line 47 of file vtkImageAlphaFilter.h.
vtkImageAlphaFilter::vtkImageAlphaFilter | ( | ) | [protected] |
vtkImageAlphaFilter::~vtkImageAlphaFilter | ( | ) | [protected] |
static vtkImageAlphaFilter* vtkImageAlphaFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageAlphaFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageMultipleInputFilter.
static int vtkImageAlphaFilter::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 vtkImageMultipleInputFilter.
virtual int vtkImageAlphaFilter::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 vtkImageMultipleInputFilter.
static vtkImageAlphaFilter* vtkImageAlphaFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageMultipleInputFilter.
void vtkImageAlphaFilter::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 vtkImageMultipleInputFilter.
virtual void vtkImageAlphaFilter::MaximumModeOn | ( | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual void vtkImageAlphaFilter::MaximumModeOff | ( | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual void vtkImageAlphaFilter::SetMaximumMode | ( | int | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual int vtkImageAlphaFilter::GetMaximumMode | ( | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual void vtkImageAlphaFilter::AverageModeOn | ( | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual void vtkImageAlphaFilter::AverageModeOff | ( | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual void vtkImageAlphaFilter::SetAverageMode | ( | int | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual int vtkImageAlphaFilter::GetAverageMode | ( | ) | [virtual] |
In the maximum mode, the alpha channel value will be the largest scalar value in a particular voxel
virtual void vtkImageAlphaFilter::SetAverageThreshold | ( | int | ) | [virtual] |
virtual int vtkImageAlphaFilter::GetAverageThreshold | ( | ) | [virtual] |
void vtkImageAlphaFilter::ExecuteInformation | ( | vtkImageData ** | inputs, | |
vtkImageData * | output | |||
) | [protected, virtual] |
Reimplemented from vtkImageMultipleInputFilter.
void vtkImageAlphaFilter::ComputeInputUpdateExtent | ( | int | inExt[6], | |
int | outExt[6] | |||
) | [protected] |
void vtkImageAlphaFilter::ThreadedExecute | ( | vtkImageData ** | inDatas, | |
vtkImageData * | outData, | |||
int | extent[6], | |||
int | threadId | |||
) | [protected, virtual] |
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.
void vtkImageAlphaFilter::InitOutput | ( | int | outExt[6], | |
vtkImageData * | outData | |||
) | [protected] |