13 #ifndef SCALELEGENDAnnotation_H 14 #define SCALELEGENDAnnotation_H 19 #include <vtkSmartPointer.h> 21 class vtkLegendScaleActor;
45 itkFactorylessNewMacro(
Self);
48 void SetRightAxisVisibility(
bool visibility);
49 bool GetRightAxisVisibility()
const;
51 void SetLeftAxisVisibility(
bool visibility);
52 bool GetLeftAxisVisibility()
const;
54 void SetTopAxisVisibility(
bool visibility);
55 bool GetTopAxisVisibility()
const;
57 void SetBottomAxisVisibility(
bool visibility);
58 bool GetBottomAxisVisibility()
const;
60 void SetLegendVisibility(
bool visibility);
61 bool GetLegendVisibility()
const;
63 void SetRightBorderOffset(
int offset);
64 int GetRightBorderOffset()
const;
66 void SetLeftBorderOffset(
int offset);
67 int GetLeftBorderOffset()
const;
69 void SetTopBorderOffset(
int offset);
70 int GetTopBorderOffset()
const;
72 void SetBottomBorderOffset(
int offset);
73 int GetBottomBorderOffset()
const;
75 void SetFontFactor(
double fontFactor);
76 double GetFontFactor()
const;
78 void SetCornerOffsetFactor(
double offsetFactor);
79 double GetCornerOffsetFactor()
const;
85 vtkProp *GetVtkProp(
BaseRenderer *renderer)
const override;
86 void UpdateVtkAnnotation(
BaseRenderer *renderer)
override;
103 #endif // SCALELEGENDAnnotation_H
#define MITKANNOTATION_EXPORT
Organizes the rendering process.
vtkSmartPointer< vtkLegendScaleActor > m_legendScaleActor
Actor of a 2D render window.
DataCollection - Class to facilitate loading/accessing structured data.
Base class for mapper specific rendering ressources.
#define mitkClassMacro(className, SuperClassName)
The VtkAnnotation class is the base for all Annotation which are using the VTK framework to render th...
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
Base class for all Annotation This class is to be implemented in order to create Annotation which are...
Displays configurable scales on the renderwindow. The scale is determined by the image spacing...
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the render windows.