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;
90 using BaseProperty::operator=;
103 std::pair<bool, ValueType> CheckValue(
const TimeStepType &timeStep,
105 bool allowCloseTime =
false,
106 bool allowCloseSlice =
false)
const;
112 itk::LightObject::Pointer InternalClone()
const override;
114 bool IsEqual(
const BaseProperty &property)
const override;
118 namespace PropertyPersistenceSerialization
124 namespace PropertyPersistenceDeserialization