84 IntField *extFld[6] = {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr};
147 void _initializeFieldsAndMembers();
153 OutputImageProperties _imageOutput0Properties;
#define MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
DLL export macro definition.
Field to encapsulate a double value.
void setDoubleValue(double doubleValue)
Set field value to doubleValue. By default the entire double type range can be set.
IntField * addInt(const char *name)
Creates an IntField with name and adds it to the container. Default value is 0.
DoubleField * addDouble(const char *name)
Creates a DoubleField with name and adds it to the container. Default value is 0.
StringField * addString(const char *name)
Creates a StringField with name and adds it to the container. Default value is empty string.
Field to encapsulate an integer value.
void setIntValue(MLint intValue)
Sets field value to intValue.
Base class for an image processing module of the ML.
The ML module base class MultiFileVolumeListBaseOutput used to implement further output modules for t...
The ML module class MultiFileVolumeListImageOutput for extending the number of image outputs of Multi...
void calculateOutputImageProperties(int outIndex, PagedImage *outImg) override
Sets properties of the output image at output outIndex.
void updateToVolume(MultiFileVolume *outVolToUse) override
Updates image outputs and internal pointer to the passed MultiFileVolume.
~MultiFileVolumeListImageOutput() override
void calculateOutputSubImage(SubImage *outSubImg, int outIndex, SubImage *inSubImgs) override
Calculates page outSubImg of output image with index outIndex by using inSubimgs.
virtual void fillOutSubImageFromMultiFileVolume(SubImage outSubImg)
Fill outSubImg with data from MultiFileVolumeListBaseOutput::getCurrentlySetVolume() which is expecte...
MultiFileVolumeListImageOutput(int numInputs=0, int numOutputs=2, bool autoInstallTagDumpFieldAddOn=true, bool installInputAccessConnector=true, bool installInputMessageFilterPlugin=true, bool installOutputAccessConnector=true)
Constructor.
void _updateVolumeInformation(MultiFileVolume *currVol) override
This is called by the super class if the volume has changed.
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
Field without value for notifications.
Class which represents an image, which manages properties of an image and image data which is located...
Field to encapsulate a string value.
void setStringValue(const std::string &stringValue) override
Sets value of the field to stringValue.
This class manages/represents a rectangular 6d image region which is organized linearly in memory.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
MLEXPORT const char *const * MLDataTypeNames()
Function which returns the table of c-strings of all scalar and registered data types.
Provides the base class for an additional output for a MultiFileVolumeList module.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Helper container to manage fields related to an image output.
void readAndSetFromPagedImage(const PagedImage *pagedImage)
Reads field contents from pagedImage if that one is not nullptr, otherwise the field values are reset...
void addFields(Module &mod, const std::string suffix="")
Create fields and add their pointers for field container of mod; suffix is appended to all field name...