13 #ifndef mitkTemporoSpatialStringProperty_h
14 #define mitkTemporoSpatialStringProperty_h
16 #include <itkConfigure.h>
29 #pragma warning(disable : 4522)
44 itkFactorylessNewMacro(
Self);
57 bool allowCloseTime =
false,
58 bool allowCloseSlice =
false)
const;
62 bool HasValue()
const;
65 bool allowCloseTime =
false,
66 bool allowCloseSlice =
false)
const;
67 bool HasValueBySlice(
const IndexValueType &zSlice,
bool allowClose =
false)
const;
68 bool HasValueByTimeStep(
const TimeStepType &timeStep,
bool allowClose =
false)
const;
71 std::vector<IndexValueType> GetAvailableSlices(
const TimeStepType& timeStep)
const;
73 std::vector<TimeStepType> GetAvailableTimeSteps(
const IndexValueType& slice)
const;
75 std::vector<TimeStepType> GetAvailableTimeSteps()
const;
77 std::vector<IndexValueType> GetAvailableSlices()
const;
83 std::string GetValueAsString()
const override;
88 bool IsUniform()
const;
93 using BaseProperty::operator=;
106 std::pair<bool, ValueType> CheckValue(
const TimeStepType &timeStep,
108 bool allowCloseTime =
false,
109 bool allowCloseSlice =
false)
const;
115 itk::LightObject::Pointer InternalClone()
const override;
117 bool IsEqual(
const BaseProperty &property)
const override;
121 namespace PropertyPersistenceSerialization
127 namespace PropertyPersistenceDeserialization