28 #ifndef __vtkSlicerScalarBarActor_h 29 #define __vtkSlicerScalarBarActor_h 32 #include "vtkScalarBarActor.h" 33 #include "vtkStringArray.h" 34 #include "vtkVersion.h" 37 #include "vtkSlicerColorsModuleVTKWidgetsExport.h" 41 :
public vtkScalarBarActor
47 void PrintSelf(ostream& os, vtkIndent indent)
override;
50 vtkGetMacro(UseAnnotationAsLabel,
int);
52 vtkSetMacro(UseAnnotationAsLabel,
int);
54 vtkBooleanMacro(UseAnnotationAsLabel,
int);
58 vtkGetMacro(CenterLabel,
bool);
61 vtkSetMacro(CenterLabel,
bool);
64 vtkBooleanMacro(CenterLabel,
bool);
81 void LayoutTicks()
override;
85 void ConfigureTicks()
override;
89 void PrepareTitleText()
override;
90 void ConfigureTitle()
override;
int UseAnnotationAsLabel
flag for setting color name as label