17 #ifndef COLORBAROVERLAY_H
18 #define COLORBAROVERLAY_H
23 #include <vtkLookupTable.h>
24 #include <vtkSmartPointer.h>
26 class vtkScalarBarActor;
50 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
52 void SetDrawAnnotations(
bool annotations);
53 bool GetDrawAnnotations() const;
55 void SetOrientationToHorizontal();
56 void SetOrientationToVertical();
57 void SetOrientation(
int orientation);
58 int GetOrientation() const;
60 void SetMaxNumberOfColors(
int numberOfColors);
61 int GetMaxNumberOfColors() const;
63 void SetNumberOfLabels(
int numberOfLabels);
64 int GetNumberOfLabels() const;
66 void SetLookupTable(vtkSmartPointer<vtkLookupTable> table);
67 vtkSmartPointer<vtkLookupTable> GetLookupTable() const;
69 void SetDrawTickLabels(
bool ticks);
70 bool GetDrawTickLabels() const;
72 void SetAnnotationTextScaling(
bool scale);
73 bool GetAnnotationTextScaling() const;
79 virtual vtkProp *GetVtkProp(
BaseRenderer *renderer) const override;
80 virtual
void UpdateVtkOverlay(
BaseRenderer *renderer) override;
86 virtual ~ColorBarOverlay();
90 ColorBarOverlay(const ColorBarOverlay &);
93 ColorBarOverlay &operator=(const ColorBarOverlay &);
97 #endif // COLORBAROVERLAY_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.
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
#define mitkClassMacro(className, SuperClassName)
Base class for mapper specific rendering ressources.
vtkSmartPointer< vtkScalarBarActor > m_ScalarBarActor
Actor of a 2D render window.
#define MITKOVERLAYS_EXPORT
Displays configurable scales on the renderwindow. The scale is determined by the image spacing...
Base class for all overlays.