|
| enum | Alignment {
TopLeft
, Top
, TopRight
, BottomLeft
,
Bottom
, BottomRight
, Left
, Right
} |
| |
| typedef std::multimap< int, mitk::Annotation * > | AnnotationRankedMap |
| |
| typedef std::map< Alignment, AnnotationRankedMap > | AnnotationLayouterContainerMap |
| |
| typedef us::ServiceTracker< Annotation > | Superclass |
| |
| typedef Annotation | ServiceType |
| | The type of the service being tracked. More...
|
| |
| typedef TTT::TrackedType | T |
| | The type of the tracked object. More...
|
| |
| typedef ServiceReference< Annotation > | ServiceReferenceType |
| | The service reference type. More...
|
| |
| typedef std::map< ServiceReference< Annotation >, T > | TrackingMap |
| | A map type from ServiceReference to tracked objects. More...
|
| |
|
| | ~LayoutAnnotationRenderer () override |
| | virtual destructor in order to derive from this class More...
|
| |
| const std::string | GetID () const |
| |
| void | OnRenderWindowModified () override |
| | Called when the render window is modified. Override to react to changes. More...
|
| |
| void | PrepareLayout () |
| |
| | AbstractAnnotationRenderer (const std::string &rendererID, const std::string &arID) |
| | Construct an annotation renderer for a specific renderer and annotation renderer ID. More...
|
| |
| | ~AbstractAnnotationRenderer () override |
| | Virtual destructor. More...
|
| |
| const std::string | GetID () const |
| | Get the unique ID of this annotation renderer. More...
|
| |
| const std::string | GetRendererID () const |
| | Get the ID of the associated BaseRenderer. More...
|
| |
| void | CurrentBaseRendererChanged () |
| | Notify that the current BaseRenderer has changed. More...
|
| |
| void | RemoveAllAnnotation () |
| | Remove all tracked Annotation objects from the associated renderer. More...
|
| |
| void | Update () |
| | Update all tracked Annotation objects. More...
|
| |
| | ~ServiceTracker () override |
| | Destructor. More...
|
| |
| | ServiceTracker (ModuleContext *context, const ServiceReferenceType &reference, ServiceTrackerCustomizer< Annotation, T > *customizer=nullptr) |
| | Create a ServiceTracker on the specified ServiceReference. More...
|
| |
| | ServiceTracker (ModuleContext *context, const std::string &clazz, ServiceTrackerCustomizer< Annotation, T > *customizer=0) |
| | Create a ServiceTracker on the specified class name. More...
|
| |
| | ServiceTracker (ModuleContext *context, const LDAPFilter &filter, ServiceTrackerCustomizer< Annotation, T > *customizer=nullptr) |
| | Create a ServiceTracker on the specified LDAPFilter object. More...
|
| |
| | ServiceTracker (ModuleContext *context, ServiceTrackerCustomizer< Annotation, T > *customizer=nullptr) |
| | Create a ServiceTracker on the class template argument S. More...
|
| |
| virtual void | Open () |
| | Open this ServiceTracker and begin tracking services. More...
|
| |
| virtual void | Close () |
| | Close this ServiceTracker. More...
|
| |
| virtual T | WaitForService (unsigned long timeoutMillis=0) |
| | Wait for at least one service to be tracked by this ServiceTracker. This method will also return when this ServiceTracker is closed. More...
|
| |
| virtual std::vector< ServiceReferenceType > | GetServiceReferences () const |
| | Return a list of ServiceReferences for all services being tracked by this ServiceTracker. More...
|
| |
| virtual ServiceReferenceType | GetServiceReference () const |
| | Returns a ServiceReference for one of the services being tracked by this ServiceTracker. More...
|
| |
| virtual T | GetService (const ServiceReferenceType &reference) const |
| | Returns the service object for the specified ServiceReference if the specified referenced service is being tracked by this ServiceTracker. More...
|
| |
| virtual T | GetService () const |
| | Returns a service object for one of the services being tracked by this ServiceTracker. More...
|
| |
| virtual std::vector< T > | GetServices () const |
| | Return a list of service objects for all services being tracked by this ServiceTracker. More...
|
| |
| virtual void | Remove (const ServiceReferenceType &reference) |
| | Remove a service from this ServiceTracker. More...
|
| |
| virtual int | Size () const |
| | Return the number of services being tracked by this ServiceTracker. More...
|
| |
| virtual int | GetTrackingCount () const |
| | Returns the tracking count for this ServiceTracker. More...
|
| |
| virtual void | GetTracked (TrackingMap &tracked) const |
| | Return a sorted map of the ServiceReferences and service objects for all services being tracked by this ServiceTracker. The map is sorted in natural order of ServiceReference. That is, the last entry is the service with the highest ranking and the lowest service id. More...
|
| |
| virtual bool | IsEmpty () const |
| | Return if this ServiceTracker is empty. More...
|
| |
The LayoutAnnotationRenderer is used for the layouted placement of mitk::Annotation Objects.
An instance of this service is registered for a specific Baserenderer and is used to manage all annotations which are added to it. The static function AddAnnotation is used to register an annotation to a specific service and to create this service if it does not exist yet. The position of the layouted annotation can be passed as a parameter.
See Annotation Concept for more info.
Definition at line 32 of file mitkLayoutAnnotationRenderer.h.