MCPcopy Create free account
hub / github.com/MITK/MITK / GetName

Method GetName

Modules/Core/src/Rendering/mitkAnnotation.cpp:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171std::string mitk::Annotation::GetName() const
172{
173 mitk::StringProperty *sp = dynamic_cast<mitk::StringProperty *>(this->GetProperty("name"));
174 if (sp == nullptr)
175 return "";
176 return sp->GetValue();
177}
178
179void mitk::Annotation::SetName(const std::string &name)
180{

Callers 3

RequestDataMethod · 0.45
BaseRendererChangedMethod · 0.45
RenderWindowCallbackMethod · 0.45

Calls 2

GetPropertyMethod · 0.95
GetValueMethod · 0.45

Tested by

no test coverage detected