29#ifndef vtkSliderRepresentation_h
30#define vtkSliderRepresentation_h
33#include "vtkInteractionWidgetsModule.h"
37VTK_ABI_NAMESPACE_BEGIN
55 vtkGetMacro(Value,
double);
65 vtkGetMacro(MinimumValue,
double);
75 vtkGetMacro(MaximumValue,
double);
83 vtkSetClampMacro(SliderLength,
double, 0.01, 0.5);
84 vtkGetMacro(SliderLength,
double);
93 vtkSetClampMacro(SliderWidth,
double, 0.0, 1.0);
94 vtkGetMacro(SliderWidth,
double);
102 vtkSetClampMacro(TubeWidth,
double, 0.0, 1.0);
103 vtkGetMacro(TubeWidth,
double);
112 vtkSetClampMacro(EndCapLength,
double, 0.0, 0.25);
113 vtkGetMacro(EndCapLength,
double);
121 vtkSetClampMacro(EndCapWidth,
double, 0.0, 0.25);
122 vtkGetMacro(EndCapWidth,
double);
136 vtkSetStringMacro(LabelFormat);
137 vtkGetStringMacro(LabelFormat);
145 vtkSetClampMacro(LabelHeight,
double, 0.0, 2.0);
146 vtkGetMacro(LabelHeight,
double);
154 vtkSetClampMacro(TitleHeight,
double, 0.0, 2.0);
155 vtkGetMacro(TitleHeight,
double);
184#if !defined(VTK_LEGACY_REMOVE)
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()
virtual const char * GetTitleText()
void SetMinimumValue(double value)
Set the current minimum value that the slider can take.
~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)