#include <mlDummyOp.h>

Public Member Functions | |
| DummyOp () | |
| Constructs operator with 0 inputs and 1 output with no parameters. | |
Static Public Member Functions | |
| static DummyOp & | getGlobalInstance () |
| A global instance of a dummy module which is connected to open or undefined input module inputs sometimes. | |
| static PagedImage & | getGlobalOutImg () |
| Return the output image of getGlobalInstance(). | |
| static void | destroyDummyOp () |
| Destroy static allocated data to avoid memory leaks. | |
It maintains a global instance of such an image.
Its output image has size = (1,1,1,1,1,1) page size = (64,64,1,1,1,1), data type = MLuint8, Min = 0, Max = 1, VoxelSize =(1,1,1) C, T and U dimension infos are all empty.
DummyOp::getGlobalInstance() and its image are heavily used when open inputs and closed but undefined inputs are enabled by overloading BaseOp::handleInput.
Definition at line 52 of file mlDummyOp.h.
| ml::DummyOp::DummyOp | ( | ) |
Constructs operator with 0 inputs and 1 output with no parameters.
| static void ml::DummyOp::destroyDummyOp | ( | ) | [static] |
Destroy static allocated data to avoid memory leaks.
To be called on ML destruction.
| static DummyOp& ml::DummyOp::getGlobalInstance | ( | ) | [static] |
A global instance of a dummy module which is connected to open or undefined input module inputs sometimes.
Note that the pixel content is constantly 0 and must not be modified.
| static PagedImage& ml::DummyOp::getGlobalOutImg | ( | ) | [static] |
Return the output image of getGlobalInstance().
1.5.8