![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/ImageInfoDataComponent.h>
DataComponent storing general information on the image origin. More...
DataComponent storing general information on the image origin.
Modeled after the DICOM patient-study-series hierarchy, it stores information on the patient, study and series the data set belongs to.
Public Types | |
enum class | PatientSex { Unknown , Male , Female , Other } |
Gender of the patient. | |
enum class | Laterality { Unknown , Left , Right } |
Laterality of (paired) body part examined. | |
enum class | AnatomicalOrientationType { Unknown , Biped , Quadruped } |
DICOM Anatomical Orientation Type. | |
Public Member Functions | |
ImageInfoDataComponent (const ImageInfoDataComponent &other)=default | |
ImageInfoDataComponent & | operator= (const ImageInfoDataComponent &other)=default |
bool | operator== (const ImageInfoDataComponent &other) const |
std::string | id () const override |
Returns a unique string identifier for this type of data component. | |
void | configure (const Properties *p) override |
Configure this object instance by de-serializing the given Properties. | |
void | configuration (Properties *p) const override |
Serialize the current object configuration into the given Properties object. | |
void | setModality (Data::Modality modality) |
![]() | |
std::unique_ptr< DataComponentBase > | clone () const override |
Creates a clone of this data component. | |
std::unique_ptr< Subclass > | cloneDerived () const |
bool | assign (const DataComponentBase &other) override |
Assigns the content of other to this data component. | |
bool | equals (const DataComponentBase &other) const override |
Compares this data component to other for equality. | |
![]() | |
virtual void | configureDefaults () |
Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
void | registerParameter (ParameterBase *param) |
Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
void | unregisterParameter (const ParameterBase *param) |
Remove the given Parameter or SubProperty from the list of registered parameters. | |
Configurable (const Configurable &rhs) | |
Configurable (Configurable &&rhs) noexcept | |
Configurable & | operator= (const Configurable &) |
Configurable & | operator= (Configurable &&) noexcept |
Public Attributes | |
std::string | m_patientId |
DICOM Patient ID. | |
std::string | m_patientName |
Patient name. | |
std::string | m_responsiblePerson |
Name of person with medical or welfare decision making authority for the Patient. | |
std::string | m_patientBirthDate |
Patient date of birth in yyyyMMdd format. | |
PatientSex | m_patientSex = PatientSex::Unknown |
Patient sex. | |
std::string | m_patientComment |
Additional information about the Patient. | |
std::string | m_patientPosition |
Specifies position of the Patient relative to the imaging equipment. | |
std::string | m_studyId |
DICOM Study ID. | |
std::string | m_studyDate |
Study date in yyyyMMdd format. | |
std::string | m_studyTime |
Study time in HHmmss format, optionally with time zone offset &ZZXX. | |
std::chrono::microseconds | m_studyTimeExact |
Study time in microseconds. 0 if the original study time was empty. | |
std::string | m_studyTimezone |
Study time zone abbreviation. | |
std::string | m_studyDescription |
Study description. | |
std::string | m_studyInstanceUID |
Unique identifier for the Study. | |
std::string | m_seriesNumber |
DICOM Series number. The value of this attribute should be unique for all Series in a Study created on the same equipment. | |
std::string | m_seriesDate |
Series date in yyyyMMdd format. | |
std::string | m_seriesTime |
Series time in HHmmss format. | |
std::chrono::microseconds | m_seriesTimeExact |
Series time in microseconds. 0 if the original series time was empty. | |
std::string | m_seriesDescription |
Series description. | |
std::string | m_seriesInstanceUID |
Unique identifier of the Series. | |
std::string | m_modality |
DICOM modality string specifying the method used to create this series. | |
Laterality | m_laterality = Laterality::Unknown |
Laterality of (paired) body part examined. | |
std::string | m_photometricInterpretation |
Specifies the intended interpretation of the pixel data (e.g. RGB, HSV, ...). | |
std::string | m_frameOfReferenceUID |
Uniquely identifies the Frame of Reference for a Series. Multiple Series within a Study may share a Frame of Reference UID. | |
AnatomicalOrientationType | m_orientationType = AnatomicalOrientationType::Unknown |
DICOM Anatomical Orientation Type. | |
![]() | |
Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
![]() | |
DataComponentBase (const DataComponentBase &)=default | |
DataComponentBase & | operator= (const DataComponentBase &other)=default |
![]() | |
std::vector< Param > | m_params |
List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Returns a unique string identifier for this type of data component.
Implements DataComponentBase.
|
overridevirtual |
Configure this object instance by de-serializing the given Properties.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from Configurable.
|
overridevirtual |
Serialize the current object configuration into the given Properties object.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from Configurable.
std::chrono::microseconds m_studyTimeExact |
Study time in microseconds. 0 if the original study time was empty.
std::chrono::microseconds m_seriesTimeExact |
Series time in microseconds. 0 if the original series time was empty.