72 explicit Element(
unsigned int id);
88 std::vector<std::string> GetPropertyKeys(
const std::string& contextName =
"",
bool includeDefaultContext =
false)
const override;
89 std::vector<std::string> GetPropertyKeys(
TimeStepType t,
bool includeDefaultContext =
false)
const;
93 std::vector<std::string> GetPropertyContextNames()
const override;
100 BaseProperty* GetNonConstProperty(
const std::string& propertyKey,
const std::string& contextName =
"",
bool fallBackOnDefaultContext =
true)
override;
101 BaseProperty* GetNonConstProperty(
const std::string& propertyKey,
TimeStepType t,
bool fallBackOnDefaultContext =
true);
108 void SetProperty(
const std::string& propertyKey,
BaseProperty* property,
const std::string& contextName =
"",
bool fallBackOnDefaultContext =
false)
override;
109 void SetProperty(
const std::string& propertyKey,
BaseProperty* property,
TimeStepType t,
bool fallBackOnDefaultContext =
false);
116 void RemoveProperty(
const std::string& propertyKey,
const std::string& contextName =
"",
bool fallBackOnDefaultContext =
false)
override;
117 void RemoveProperty(
const std::string& propertyKey,
TimeStepType t,
bool fallBackOnDefaultContext =
false);
119 unsigned int GetID()
const;
120 void SetID(
unsigned int id);
128 bool HasTimeSteps()
const;
132 std::vector<TimeStepType> GetTimeSteps()
const;
158 itkFactorylessNewMacro(
Self)
165 size_t GetNumberOfElements() const;
171 void AddElement(const
Element& element);
173 const
Element& GetElement(
unsigned int id) const;
174 Element& GetElement(
unsigned int id);
182 void SetRequestedRegionToLargestPossibleRegion() override;
183 bool RequestedRegionIsOutsideOfTheBufferedRegion() override;
184 bool VerifyRequestedRegion() override;
185 void SetRequestedRegion(const
itk::DataObject* data) override;