13 #ifndef mitkAbstractAnnotationRenderer_h
14 #define mitkAbstractAnnotationRenderer_h
57 const std::string
GetID()
const;
102 virtual void OnAnnotationRenderersChanged() {}
104 const std::string m_RendererID;
105 const std::string m_ID;
Base class for Annotation layout managers.
static const std::string US_PROPKEY_RENDERER_ID
Service property key for the renderer ID.
static const std::string US_PROPKEY_ID
Service property key for the annotation renderer ID.
void RemoveAllAnnotation()
Remove all tracked Annotation objects from the associated renderer.
void CurrentBaseRendererChanged()
Notify that the current BaseRenderer has changed.
static const std::string US_INTERFACE_NAME
Micro service interface name.
void Update()
Update all tracked Annotation objects.
const std::string GetID() const
Get the unique ID of this annotation renderer.
~AbstractAnnotationRenderer() override
Virtual destructor.
BaseRenderer * GetCurrentBaseRenderer()
Get the BaseRenderer associated with this annotation renderer.
us::ServiceTracker< Annotation > Superclass
virtual void OnRenderWindowModified()
Called when the render window is modified. Override to react to changes.
AbstractAnnotationRenderer(const std::string &rendererID, const std::string &arID)
Construct an annotation renderer for a specific renderer and annotation renderer ID.
const std::string GetRendererID() const
Get the ID of the associated BaseRenderer.
Organizes the rendering process.
Provides the MITK_DECLARE_SERVICE_INTERFACE macro for registering C++ interfaces with both the CppMic...
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Declare a C++ interface for use with CppMicroServices (Qt not available).
Find image slices visible on a given plane.
T TrackedType
The tracked object type.