13 #ifndef mitkAnnotationUtils_h
14 #define mitkAnnotationUtils_h
25 class AbstractAnnotationRenderer;
53 const std::string &rendererID);
103 static void RenderWindowCallback(vtkObject *caller,
unsigned long,
void *,
void *);
Base class for Annotation layout managers.
Provides static utility functions for accessing registered AnnotationRenderers and Annotations.
static void BaseRendererChanged(BaseRenderer *renderer)
Notify that the actual BaseRenderer object for a BaseRenderer ID has changed.
static mitk::Annotation * GetAnnotation(const std::string &AnnotationID)
Get a registered Annotation by its unique ID.
static void UpdateAnnotationRenderer(const std::string &rendererID)
Call AbstractAnnotationRenderer::Update for each registered AnnotationRenderer of the specified BaseR...
std::vector< std::unique_ptr< AbstractAnnotationRenderer > > AnnotationRendererServices
Container type for managed AnnotationRenderer instances.
static std::vector< AbstractAnnotationRenderer * > GetAnnotationRenderer(const std::string &rendererID)
Get all registered AnnotationRenderers for a specified BaseRenderer.
AnnotationUtils()
Constructor.
~AnnotationUtils()
Destructor.
static AbstractAnnotationRenderer * GetAnnotationRenderer(const std::string &arTypeID, const std::string &rendererID)
Get a registered AnnotationRenderer of a specific type for a given BaseRenderer.
static void RegisterAnnotationRenderer(AbstractAnnotationRenderer *annotationRenderer)
Register an AnnotationRenderer as a microservice.
Base class for all Annotation objects.
Organizes the rendering process.
Find image slices visible on a given plane.