13 #ifndef mitkColorBarAnnotation_h
14 #define mitkColorBarAnnotation_h
19 #include <vtkLookupTable.h>
20 #include <vtkSmartPointer.h>
22 class vtkScalarBarActor;
46 itkFactorylessNewMacro(Self);
#define MITKANNOTATION_EXPORT
Base class for mapper specific rendering resources.
~LocalStorage()
Default deconstructor of the local storage.
vtkSmartPointer< vtkScalarBarActor > m_ScalarBarActor
Actor of a 2D render window.
LocalStorage()
Default constructor of the local storage.
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
Displays configurable scales on the renderwindow. The scale is determined by the image spacing.
vtkProp * GetVtkProp(BaseRenderer *renderer) const override
This method is implemented by the specific VTKAnnotation in order to create the element as a vtkProp.
void SetLookupTable(vtkSmartPointer< vtkLookupTable > table)
void UpdateVtkAnnotation(BaseRenderer *renderer) override
void SetAnnotationTextScaling(bool scale)
bool GetDrawAnnotations() const
bool GetDrawTickLabels() const
void SetOrientationToHorizontal()
bool GetAnnotationTextScaling() const
void SetOrientationToVertical()
mitkClassMacro(ColorBarAnnotation, mitk::VtkAnnotation)
int GetMaxNumberOfColors() const
ColorBarAnnotation()
explicit constructor which disallows implicit conversions
void SetDrawAnnotations(bool annotations)
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the render windows.
int GetOrientation() const
void SetOrientation(int orientation)
void SetDrawTickLabels(bool ticks)
vtkSmartPointer< vtkLookupTable > GetLookupTable() const
void SetNumberOfLabels(int numberOfLabels)
void SetMaxNumberOfColors(int numberOfColors)
~ColorBarAnnotation() override
virtual destructor in order to derive from this class
int GetNumberOfLabels() const
The VtkAnnotation class is the base for all Annotation which are using the VTK framework to render th...
Find image slices visible on a given plane.