18 #include <vtkLegendScaleActor.h>
52 LocalStorage *ls = this->m_LSH.GetLocalStorage(renderer);
68 LocalStorage *ls = this->m_LSH.GetLocalStorage(renderer);
74 SetBoolProperty(
"ScaleLegendOverlay.RightAxisVisibility", visibility);
80 GetPropertyList()->GetBoolProperty(
"ScaleLegendOverlay.RightAxisVisibility", visibility);
86 SetBoolProperty(
"ScaleLegendOverlay.LeftAxisVisibility", visibility);
92 GetPropertyList()->GetBoolProperty(
"ScaleLegendOverlay.LeftAxisVisibility", visibility);
98 SetBoolProperty(
"ScaleLegendOverlay.TopAxisVisibility", visibility);
104 GetPropertyList()->GetBoolProperty(
"ScaleLegendOverlay.TopAxisVisibility", visibility);
110 SetBoolProperty(
"ScaleLegendOverlay.BottomAxisVisibility", visibility);
116 GetPropertyList()->GetBoolProperty(
"ScaleLegendOverlay.BottomAxisVisibility", visibility);
122 SetBoolProperty(
"ScaleLegendOverlay.SetLegendVisibility", visibility);
128 GetPropertyList()->GetBoolProperty(
"ScaleLegendOverlay.SetLegendVisibility", visibility);
134 SetIntProperty(
"ScaleLegendOverlay.RightBorderOffset", offset);
140 GetPropertyList()->GetIntProperty(
"ScaleLegendOverlay.RightBorderOffset", offset);
146 SetFloatProperty(
"ScaleLegendOverlay.CornerOffsetFactor", offsetFactor);
152 GetPropertyList()->GetFloatProperty(
"ScaleLegendOverlay.CornerOffsetFactor", offsetFactor);
bool GetTopAxisVisibility() const
void SetTopAxisVisibility(bool visibility)
void SetLeftAxisVisibility(bool visibility)
ScaleLegendOverlay()
explicit constructor which disallows implicit conversions
virtual vtkProp * GetVtkProp(BaseRenderer *renderer) const override
This method is implemented by the specific VTKOverlays in order to create the element as a vtkProp...
void SetRightBorderOffset(int offset)
Organizes the rendering process.
bool GetLegendVisibility() const
LocalStorage()
Default constructor of the local storage.
float GetCornerOffsetFactor() const
bool GetRightAxisVisibility() const
vtkSmartPointer< vtkLegendScaleActor > m_legendScaleActor
Actor of a 2D render window.
bool GetLeftAxisVisibility() const
int GetRightBorderOffset() const
void SetBottomAxisVisibility(bool visibility)
virtual void UpdateVtkOverlay(BaseRenderer *renderer) override
virtual ~ScaleLegendOverlay()
virtual destructor in order to derive from this class
void SetCornerOffsetFactor(float offsetFactor)
~LocalStorage()
Default deconstructor of the local storage.
bool IsGenerateDataRequired(mitk::BaseRenderer *renderer, mitk::Overlay *overlay)
void SetLegendVisibility(bool visibility)
void SetRightAxisVisibility(bool visibility)
bool GetBottomAxisVisibility() const
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.