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

Method AddAnnotation

Modules/Annotation/src/mitkManualPlacementAnnotationRenderer.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 void ManualPlacementAnnotationRenderer::AddAnnotation(Annotation *Annotation, const std::string &rendererID)
44 {
45 GetAnnotationRenderer(rendererID); // rename ??
46 us::ServiceProperties props;
47 props[Annotation::US_PROPKEY_AR_ID] = ANNOTATIONRENDERER_ID;
48 props[Annotation::US_PROPKEY_RENDERER_ID] = rendererID;
49 Annotation->RegisterAsMicroservice(props);
50 }
51
52 void ManualPlacementAnnotationRenderer::AddAnnotation(Annotation *Annotation, BaseRenderer *renderer)
53 {

Callers

nothing calls this directly

Calls 2

GetNameMethod · 0.45

Tested by

no test coverage detected