17 #ifndef SCALELEGENDOVERLAY_H
18 #define SCALELEGENDOVERLAY_H
23 #include <vtkSmartPointer.h>
25 class vtkLegendScaleActor;
49 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
51 void SetRightAxisVisibility(
bool visibility);
52 bool GetRightAxisVisibility() const;
54 void SetLeftAxisVisibility(
bool visibility);
55 bool GetLeftAxisVisibility() const;
57 void SetTopAxisVisibility(
bool visibility);
58 bool GetTopAxisVisibility() const;
60 void SetBottomAxisVisibility(
bool visibility);
61 bool GetBottomAxisVisibility() const;
63 void SetLegendVisibility(
bool visibility);
64 bool GetLegendVisibility() const;
66 void SetRightBorderOffset(
int offset);
67 int GetRightBorderOffset() const;
69 void SetCornerOffsetFactor(
float offsetFactor);
70 float GetCornerOffsetFactor() const;
76 virtual vtkProp *GetVtkProp(
BaseRenderer *renderer) const override;
77 virtual
void UpdateVtkOverlay(
BaseRenderer *renderer) override;
83 virtual ~ScaleLegendOverlay();
87 ScaleLegendOverlay(const ScaleLegendOverlay &);
90 ScaleLegendOverlay &operator=(const ScaleLegendOverlay &);
94 #endif // SCALELEGENDOVERLAY_H
The VtkOverlay class is the base for all Overlays which are using the VTK framework to render the ele...
Templated class for management of LocalStorage implementations in Mappers.
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
Displays configurable scales on the renderwindow. The scale is determined by the image spacing...
vtkSmartPointer< vtkLegendScaleActor > m_legendScaleActor
Actor of a 2D render window.
#define mitkClassMacro(className, SuperClassName)
Base class for mapper specific rendering ressources.
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
#define MITKOVERLAYS_EXPORT
Base class for all overlays.