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) VTK_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 virtual void LayoutTicks() VTK_OVERRIDE;
85 virtual
void ConfigureTicks() VTK_OVERRIDE;
88 int UseAnnotationAsLabel;