MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / Annotation

Method Annotation

annotation/Annotation.cpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8const char* Annotation::_typeStrings[7] = { "None", "Dot", "Polygon", "Spline", "PointSet", "Measurement", "Rectangle"};
9
10Annotation::Annotation() :
11 _type(Annotation::Type::NONE),
12 _coordinates()
13{
14}
15
16std::string Annotation::getTypeAsString() const {
17 return _typeStrings[static_cast<int>(_type)];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected