Field to encapsulate a boolean value.
Class managing fields to show and handle a DICOM tree tag dump.
void addFields() override
Add fields to field container of module.
std::string _getAlternativeDump() const
Calculated the string dump of an alternative source, currently the new-line-separated list of string ...
BoolField & getAnnotateFld() const
DicomTagDumpFieldAddOn(FieldContainer &fieldContainerRef)
Constructor, setting the reference of the FieldContainer managing the fields.
virtual std::string checkConsistency() const
Checks for invalid parameters; return textual description on error, or empty string on success.
BoolField * _dumpPrivateTagValuesFld
If enabled then dump contents of private tag values, otherwise only the default information is shown;...
IntField & getNumShownBinaryEntriesFld() const
void updateTagDump(bool allowAlternativeSource=false)
Updates the _tagDumpField according to the content of _dcmTree and the current settings of _tagDumpSi...
IntField & getTagDumpSizeFld() const
Provide direct access to the fields; see corresponding fields for comments.
StringField & getRegExLineFilterFld() const
void setDicomTree(DCMTree::Const_TreePtr dcmTree)
Updates the field content according to the passed DCMTree.
void setAlternativeDumpSource(const ImagePropertyExtensionContainer *extCont=nullptr)
Optionally sets a copy of an ImagePropertyExtensionContainer as an alternative source for tags dumps.
StringField & getTagDumpFld() const
StringField * _tagDumpFld
Field with a dump of the DICOM tags of the currently selected volume, default is "".
DCMTree::Const_TreePtr getDicomTree() const
Updates the field content according to the passed DCMTree.
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications.
IntField * _numShownBinaryEntriesFld
Maximum number of shown binary tags, default is 8.
BoolField & getDumpPrivateTagValuesFld() const
StringField * _regExLineFilterFld
Regular expression to filter tag dump lines, default is empty or "*." for all lines.
IntField * _tagDumpSizeFld
Maximum size of strings in _tagDumpFld, default is 10000.
const ImagePropertyExtensionContainer & getAlternativeDumpSource() const
Returns the reference to the currently set copy of an ImagePropertyExtensionContainer which might be ...
BoolField * _annotateFld
If enabled then the tags in the dump are annotated with additional information, default is off.
void handleFieldActivationChanges() override
Do the activateAttachment-like stuff in this method.
ImagePropertyExtensionContainer _imagePropertyExtensions
A copy of an ImagePropertyExtensionContainer as alternative source for meta data.
DCMTree::Const_TreePtr _dcmTree
The DICOM tree.
Abstract base class for field interfaces to be added to other ML module classes.
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for all fields used in the ML.
This class is a container for extended image properties derived from ImagePropertyExtension.
Field to encapsulate an integer value.
Field to encapsulate a string value.
Header file of the abstract base class FieldAddOnBase managing fields independently of an ML Module.
boost::shared_ptr< const Tree > Const_TreePtr