29 #ifndef vtkSliderRepresentation_h
30 #define vtkSliderRepresentation_h
32 #include "vtkInteractionWidgetsModule.h"
52 vtkGetMacro(Value,
double);
62 vtkGetMacro(MinimumValue,
double);
72 vtkGetMacro(MaximumValue,
double);
80 vtkSetClampMacro(SliderLength,
double, 0.01, 0.5);
81 vtkGetMacro(SliderLength,
double);
90 vtkSetClampMacro(SliderWidth,
double, 0.0, 1.0);
91 vtkGetMacro(SliderWidth,
double);
99 vtkSetClampMacro(TubeWidth,
double, 0.0, 1.0);
100 vtkGetMacro(TubeWidth,
double);
109 vtkSetClampMacro(EndCapLength,
double, 0.0, 0.25);
110 vtkGetMacro(EndCapLength,
double);
118 vtkSetClampMacro(EndCapWidth,
double, 0.0, 0.25);
119 vtkGetMacro(EndCapWidth,
double);
133 vtkSetStringMacro(LabelFormat);
134 vtkGetStringMacro(LabelFormat);
142 vtkSetClampMacro(LabelHeight,
double, 0.0, 2.0);
143 vtkGetMacro(LabelHeight,
double);
151 vtkSetClampMacro(TitleHeight,
double, 0.0, 2.0);
152 vtkGetMacro(TitleHeight,
double);
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
Methods invoked by print to print information about the object including superclasses.
void SetMaximumValue(double value)
Set the current maximum value that the slider can take.