35#ifndef vtkSliderRepresentation_h
36#define vtkSliderRepresentation_h
38#include "vtkInteractionWidgetsModule.h"
58 vtkGetMacro(Value,
double);
68 vtkGetMacro(MinimumValue,
double);
78 vtkGetMacro(MaximumValue,
double);
86 vtkSetClampMacro(SliderLength,
double, 0.01, 0.5);
87 vtkGetMacro(SliderLength,
double);
96 vtkSetClampMacro(SliderWidth,
double, 0.0, 1.0);
97 vtkGetMacro(SliderWidth,
double);
105 vtkSetClampMacro(TubeWidth,
double, 0.0, 1.0);
106 vtkGetMacro(TubeWidth,
double);
115 vtkSetClampMacro(EndCapLength,
double, 0.0, 0.25);
116 vtkGetMacro(EndCapLength,
double);
124 vtkSetClampMacro(EndCapWidth,
double, 0.0, 0.25);
125 vtkGetMacro(EndCapWidth,
double);
139 vtkSetStringMacro(LabelFormat);
140 vtkGetStringMacro(LabelFormat);
148 vtkSetClampMacro(LabelHeight,
double, 0.0, 2.0);
149 vtkGetMacro(LabelHeight,
double);
157 vtkSetClampMacro(TitleHeight,
double, 0.0, 2.0);
158 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()
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.