13 #ifndef mitkScaleLegendAnnotation_h
14 #define mitkScaleLegendAnnotation_h
19 #include <vtkSmartPointer.h>
21 class vtkLegendScaleActor;
45 itkFactorylessNewMacro(Self);
#define MITKANNOTATION_EXPORT
Base class for mapper specific rendering resources.
Organizes the rendering process.
~LocalStorage()
Default deconstructor of the local storage.
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
LocalStorage()
Default constructor of the local storage.
vtkSmartPointer< vtkLegendScaleActor > m_legendScaleActor
Actor of a 2D render window.
Displays configurable scales on the renderwindow. The scale is determined by the image spacing.
bool GetRightAxisVisibility() const
void SetRightAxisVisibility(bool visibility)
double GetCornerOffsetFactor() const
int GetTopBorderOffset() const
mitkClassMacro(ScaleLegendAnnotation, mitk::VtkAnnotation)
void SetBottomBorderOffset(int offset)
void SetTopAxisVisibility(bool visibility)
void SetLeftBorderOffset(int offset)
double GetFontFactor() const
void SetFontFactor(double fontFactor)
~ScaleLegendAnnotation() override
virtual destructor in order to derive from this class
vtkProp * GetVtkProp(BaseRenderer *renderer) const override
Create the VTK prop representing this annotation.
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the render windows.
bool GetLegendVisibility() const
void SetCornerOffsetFactor(double offsetFactor)
ScaleLegendAnnotation()
explicit constructor which disallows implicit conversions
bool GetBottomAxisVisibility() const
bool GetLeftAxisVisibility() const
int GetRightBorderOffset() const
bool GetTopAxisVisibility() const
void SetBottomAxisVisibility(bool visibility)
void SetLeftAxisVisibility(bool visibility)
void SetLegendVisibility(bool visibility)
int GetBottomBorderOffset() const
void SetRightBorderOffset(int offset)
int GetLeftBorderOffset() const
void UpdateVtkAnnotation(BaseRenderer *renderer) override
void SetTopBorderOffset(int offset)
Base class for all annotations that use the VTK framework for rendering.
Find image slices visible on a given plane.