| 77 | } |
| 78 | |
| 79 | void AnnotationUtils::RenderWindowCallback(vtkObject *caller, unsigned long, void *, void *) |
| 80 | { |
| 81 | auto *renderWindow = dynamic_cast<vtkRenderWindow *>(caller); |
| 82 | if (!renderWindow) |
| 83 | return; |
| 84 | BaseRenderer *renderer = BaseRenderer::GetInstance(renderWindow); |
| 85 | |
| 86 | if (nullptr != renderer) |
| 87 | { |
| 88 | for (AbstractAnnotationRenderer *annotationRenderer : GetAnnotationRenderer(renderer->GetName())) |
| 89 | annotationRenderer->OnRenderWindowModified(); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | Annotation *AnnotationUtils::GetAnnotation(const std::string &AnnotationID) |
| 94 | { |
nothing calls this directly
no test coverage detected