Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
#include <mitkIOVolumeSplitReason.h>
Public Types | |
enum | ReasonType { ReasonType::Unknown, ReasonType::ValueSplitDifference, ReasonType::ValueSortDistance, ReasonType::ImagePostionMissing, ReasonType::OverlappingSlices, ReasonType::GantryTiltDifference, ReasonType::SliceDistanceInconsistency, ReasonType::MissingSlices } |
using | Self = IOVolumeSplitReason |
using | Pointer = std::shared_ptr< IOVolumeSplitReason > |
using | ConstPointer = std::shared_ptr< const IOVolumeSplitReason > |
Public Member Functions | |
void | AddReason (ReasonType type, const std::string &detail="") |
void | RemoveReason (ReasonType type) |
bool | HasReasons () const |
bool | HasReason (ReasonType type) const |
std::string | GetReasonDetails (ReasonType type) const |
Pointer | ExtendReason (ConstPointer otherReason) const |
Pointer | Clone () const |
Static Public Member Functions | |
static nlohmann::json | ToJSON (ConstPointer) |
static Pointer | FromJSON (const nlohmann::json &j) |
static std::string | TypeToString (ReasonType reasonType) |
static IOVolumeSplitReason::ReasonType | StringToType (const std::string &reasonStr) |
static Pointer | New () |
Protected Types | |
using | ReasonMapType = std::map< ReasonType, std::string > |
Protected Attributes | |
ReasonMapType | m_ReasonMap |
Definition at line 25 of file mitkIOVolumeSplitReason.h.
using mitk::IOVolumeSplitReason::ConstPointer = std::shared_ptr<const IOVolumeSplitReason> |
Definition at line 30 of file mitkIOVolumeSplitReason.h.
using mitk::IOVolumeSplitReason::Pointer = std::shared_ptr<IOVolumeSplitReason> |
Definition at line 29 of file mitkIOVolumeSplitReason.h.
|
protected |
Definition at line 75 of file mitkIOVolumeSplitReason.h.
Definition at line 28 of file mitkIOVolumeSplitReason.h.
|
strong |
Enumerator | |
---|---|
Unknown | |
ValueSplitDifference | |
ValueSortDistance | |
ImagePostionMissing | |
OverlappingSlices | |
GantryTiltDifference | |
SliceDistanceInconsistency | |
MissingSlices |
Definition at line 32 of file mitkIOVolumeSplitReason.h.
void mitk::IOVolumeSplitReason::AddReason | ( | ReasonType | type, |
const std::string & | detail = "" |
||
) |
Pointer mitk::IOVolumeSplitReason::Clone | ( | ) | const |
Pointer mitk::IOVolumeSplitReason::ExtendReason | ( | ConstPointer | otherReason | ) | const |
This methods generates a clone of this instances and extends the clone by the reason types and details provided by another IOVolumeSplitReason instance.
|
static |
std::string mitk::IOVolumeSplitReason::GetReasonDetails | ( | ReasonType | type | ) | const |
bool mitk::IOVolumeSplitReason::HasReason | ( | ReasonType | type | ) | const |
bool mitk::IOVolumeSplitReason::HasReasons | ( | ) | const |
|
static |
void mitk::IOVolumeSplitReason::RemoveReason | ( | ReasonType | type | ) |
|
static |
Referenced by mitk::from_json().
|
static |
|
static |
Referenced by mitk::to_json().
|
protected |
Definition at line 76 of file mitkIOVolumeSplitReason.h.