35 #ifndef vtkSliderRepresentation_h
36 #define vtkSliderRepresentation_h
38 #include "vtkInteractionWidgetsModule.h"
59 vtkGetMacro(Value,
double);
69 vtkGetMacro(MinimumValue,
double);
79 vtkGetMacro(MaximumValue,
double);
87 vtkSetClampMacro(SliderLength,
double,0.01,0.5);
88 vtkGetMacro(SliderLength,
double);
97 vtkSetClampMacro(SliderWidth,
double,0.0,1.0);
98 vtkGetMacro(SliderWidth,
double);
106 vtkSetClampMacro(TubeWidth,
double,0.0,1.0);
107 vtkGetMacro(TubeWidth,
double);
116 vtkSetClampMacro(EndCapLength,
double,0.0,0.25);
117 vtkGetMacro(EndCapLength,
double);
125 vtkSetClampMacro(EndCapWidth,
double,0.0,0.25);
126 vtkGetMacro(EndCapWidth,
double);
140 vtkSetStringMacro(LabelFormat);
149 vtkSetClampMacro(LabelHeight,
double,0.0,2.0);
150 vtkGetMacro(LabelHeight,
double);
158 vtkSetClampMacro(TitleHeight,
double,0.0,2.0);
159 vtkGetMacro(TitleHeight,
double);
168 vtkGetMacro(ShowSliderLabel,
int);
177 {
return this->CurrentT;}
179 {
return this->PickedT;}
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.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSliderRepresentation()
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()
void SetMaximumValue(double value)
Set the current maximum value that the slider can take.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.