23 #ifndef vtkSliderRepresentation_h
24 #define vtkSliderRepresentation_h
27 #include "vtkInteractionWidgetsModule.h"
28 #include "vtkLegacy.h"
31 VTK_ABI_NAMESPACE_BEGIN
49 vtkGetMacro(Value,
double);
59 vtkGetMacro(MinimumValue,
double);
69 vtkGetMacro(MaximumValue,
double);
77 vtkSetClampMacro(SliderLength,
double, 0.01, 0.5);
78 vtkGetMacro(SliderLength,
double);
87 vtkSetClampMacro(SliderWidth,
double, 0.0, 1.0);
88 vtkGetMacro(SliderWidth,
double);
96 vtkSetClampMacro(TubeWidth,
double, 0.0, 1.0);
97 vtkGetMacro(TubeWidth,
double);
106 vtkSetClampMacro(EndCapLength,
double, 0.0, 0.25);
107 vtkGetMacro(EndCapLength,
double);
115 vtkSetClampMacro(EndCapWidth,
double, 0.0, 0.25);
116 vtkGetMacro(EndCapWidth,
double);
130 vtkSetStringMacro(LabelFormat);
131 vtkGetStringMacro(LabelFormat);
139 vtkSetClampMacro(LabelHeight,
double, 0.0, 2.0);
140 vtkGetMacro(LabelHeight,
double);
148 vtkSetClampMacro(TitleHeight,
double, 0.0, 2.0);
149 vtkGetMacro(TitleHeight,
double);
178 #if !defined(VTK_LEGACY_REMOVE)
214 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
abstract class defines the representation for a vtkSliderWidget
virtual void SetTitleText(const char *)
Specify the label text for this widget.
vtkSliderRepresentation()
vtkTypeBool ShowSliderLabel
void SetValue(double value)
Specify the current value for the widget.
virtual double GetCurrentT()
Methods to interface with the vtkSliderWidget.
virtual double GetPickedT()
void SetMinimumValue(double value)
Set the current minimum value that the slider can take.
virtual const char * GetTitleText()
~vtkSliderRepresentation() override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
void SetMaximumValue(double value)
Set the current maximum value that the slider can take.
#define VTK_DEPRECATED_IN_9_2_0(reason)