Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkScaleLegendAnnotation_h
14 #define mitkScaleLegendAnnotation_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;
vtkSmartPointer< vtkLegendScaleActor > m_legendScaleActor
Actor of a 2D render window.
Find image slices visible on a given plane.
#define MITKANNOTATION_EXPORT
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the render windows.
Displays configurable scales on the renderwindow. The scale is determined by the image spacing.
The VtkAnnotation class is the base for all Annotation which are using the VTK framework to render th...
#define mitkClassMacro(className, SuperClassName)
Base class for mapper specific rendering resources.