Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkColorBarAnnotation_h
14 #define mitkColorBarAnnotation_h
19 #include <vtkLookupTable.h>
20 #include <vtkSmartPointer.h>
22 class vtkScalarBarActor;
46 itkFactorylessNewMacro(Self);
49 void SetDrawAnnotations(
bool annotations);
50 bool GetDrawAnnotations()
const;
52 void SetOrientationToHorizontal();
53 void SetOrientationToVertical();
54 void SetOrientation(
int orientation);
55 int GetOrientation()
const;
57 void SetMaxNumberOfColors(
int numberOfColors);
58 int GetMaxNumberOfColors()
const;
60 void SetNumberOfLabels(
int numberOfLabels);
61 int GetNumberOfLabels()
const;
66 void SetDrawTickLabels(
bool ticks);
67 bool GetDrawTickLabels()
const;
69 void SetAnnotationTextScaling(
bool scale);
70 bool GetAnnotationTextScaling()
const;
76 vtkProp *GetVtkProp(
BaseRenderer *renderer)
const override;
77 void UpdateVtkAnnotation(
BaseRenderer *renderer)
override;
Displays configurable scales on the renderwindow. The scale is determined by the image spacing.
Find image slices visible on a given plane.
#define MITKANNOTATION_EXPORT
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the render windows.
The VtkAnnotation class is the base for all Annotation which are using the VTK framework to render th...
#define mitkClassMacro(className, SuperClassName)
vtkSmartPointer< vtkScalarBarActor > m_ScalarBarActor
Actor of a 2D render window.
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
Base class for mapper specific rendering resources.