77 void _initializeFieldsAndMembers();
80 void _resetLoadedMembers();
91 StringField *_segmentationFractionalTypeFld =
nullptr;
97 BoolField *_isValidFractionalSegmentationFld =
nullptr;
113 BoolField *_leaveUnMaskedVoxelsUnchangedFld =
nullptr;
116 BoolField *_leaveMaskedVoxelsUnchangedFld =
nullptr;
119 IntField *_unMaskedWriteValueFld =
nullptr;
122 IntField *_maskedWriteValueFld =
nullptr;
126 BoolField *_userSelectsSegmentsFld =
nullptr;
129 IntField *_userSelectedSegmentFld =
nullptr;
134 IntField *_referencedSegmentNumberFld =
nullptr;
137 IntField *_segmentNumberFld =
nullptr;
152 Vector3Field *_recommendedDisplayCIELabValueFld =
nullptr;
159 BoolField *_rgbAndCIELabValueValidFld =
nullptr;
162 IntField *_numSegmentsFld =
nullptr;
165 BaseField *_outputCurrentSegmentTreeFld =
nullptr;
172 std::shared_ptr<LUTFLinear> _outLUT =
nullptr;
176 NotifyField *_updateSEGOutputInformationDoneFld =
nullptr;
#define MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
DLL export macro definition.
Field to encapsulate a pointer to an ML base object.
Field to encapsulate a boolean value.
Field to encapsulate a vector of three float values representing an (RGB) color with all properties o...
Base class for all fields used in the ML.
Field to encapsulate an integer value.
The ML module class MultiFileVolumeListImageOutput for extending the number of image outputs of Multi...
The ML module class MultiFileVolumeListSEGOutput providing an additional output for SEG DICOM files a...
void _updateVolumeInformation(MultiFileVolume *currVol) override
This is called by the super class if the volume has changed.
MultiFileVolumeListSEGOutput(int numInputs=0, int numOutputs=2)
Constructor.
void calculateOutputSubImage(SubImage *outSubImg, int outIndex, SubImage *inSubImgs) override
Bypasses the input subimages, possibly masked with might be active on that subimage according to curr...
void calculateOutputImageProperties(int outIndex, PagedImage *outImg) override
Sets properties of the output image at output outIndex according to the currently available segmentat...
void _updateLUTOutput(const DCMTree::TreePtrVector &sequenceItems)
Updates the look up table output of the module to the current segment list.
void activateAttachments() override
Called after changes of fields without handleNotification calls.
void _updateSegmentGUIFromSegmentItemTree(const DCMTree::TreePtrVector &sequenceItems, const size_t ssItemIdx, std::string &status)
Append item ssItemIdx of sequenceItems to the report string status, and if ssItemIdx is the currently...
void _validateUserSelectedSegment(const MLint numSegSequenceItems)
Makes _userSelectedSegmentFld valid according to numSegSequenceItems if numSegSequenceItems > 0.
~MultiFileVolumeListSEGOutput() override
Destructor.
void handleNotification(Field *field) override
Handles changes of fields.
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
Field without value for notifications.
The class PagedImage, representing a fragmented image that manages properties and data of an image lo...
Field to encapsulate a string value.
This class manages/represents a rectangular 6D image region that is organized linearly in memory.
Field to encapsulate a vector of three double values.
#define ML_MODULE_CLASS_HEADER(className)
Similar to ML_CLASS_HEADER for the usage of derived classes from Module.
The ML module class MultiFileVolumeListImageOutput for extending the number of image outputs of Multi...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
std::vector< TreePtr > TreePtrVector
A vector of TreePtr - used for sequences.