Filter class for array inputs. More...
#include <cmtkArrayFilter.h>
Public Member Functions | |
void | SetInput (const int index, I *const input) |
Replace the current Input object with a new one. | |
virtual long | Update () |
Update this object. | |
virtual void | CheckAllInputsForUpdate () |
Check all array input objects for updates. | |
Protected Member Functions | |
ArrayFilter () | |
Default constructor. | |
virtual | ~ArrayFilter () |
Destructor. | |
Protected Attributes | |
I * | Input [InputDim] |
The actual input object. |
Filter class for array inputs.
This class combines the data source functions inherited from Source with an array of additional identical input ports. It therefore serves as a template for all classes transforming an array of input objects into an output object. Both, input and output type are defined by template parameters "I" and "O", respectively. "O" is passed directly to the Source parent class.
Definition at line 58 of file cmtkArrayFilter.h.
cmtk::ArrayFilter< I, O, InputDim >::ArrayFilter | ( | ) | [inline, protected] |
Default constructor.
Definition at line 90 of file cmtkArrayFilter.h.
virtual cmtk::ArrayFilter< I, O, InputDim >::~ArrayFilter | ( | ) | [inline, protected, virtual] |
Destructor.
Unregister from the Input object if one was set.
Definition at line 98 of file cmtkArrayFilter.h.
References cmtk::Object::Delete().
virtual void cmtk::ArrayFilter< I, O, InputDim >::CheckAllInputsForUpdate | ( | ) | [inline, virtual] |
Check all array input objects for updates.
Definition at line 81 of file cmtkArrayFilter.h.
void cmtk::ArrayFilter< I, O, InputDim >::SetInput | ( | const int | index, |
I *const | input | ||
) | [inline] |
Replace the current Input object with a new one.
Definition at line 64 of file cmtkArrayFilter.h.
virtual long cmtk::ArrayFilter< I, O, InputDim >::Update | ( | ) | [inline, virtual] |
Update this object.
Check for changes in the Input object first, then call inherited Update() function from Object.
Reimplemented from cmtk::PipelineObject.
Definition at line 74 of file cmtkArrayFilter.h.
I* cmtk::ArrayFilter< I, O, InputDim >::Input[InputDim] [protected] |
The actual input object.
Definition at line 105 of file cmtkArrayFilter.h.