29 #ifndef vtkSliderRepresentation2D_h 30 #define vtkSliderRepresentation2D_h 32 #include "vtkInteractionWidgetsModule.h" 110 vtkGetObjectMacro(TubeProperty,vtkProperty2D);
111 vtkGetObjectMacro(CapProperty,vtkProperty2D);
119 vtkGetObjectMacro(SelectedProperty,vtkProperty2D);
127 vtkGetObjectMacro(TitleProperty,vtkTextProperty);
136 void PlaceWidget(
double bounds[6]) VTK_OVERRIDE;
137 void BuildRepresentation() VTK_OVERRIDE;
138 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
139 void WidgetInteraction(
double newEventPos[2]) VTK_OVERRIDE;
140 void Highlight(
int) VTK_OVERRIDE;
148 void ReleaseGraphicsResources(
vtkWindow*) VTK_OVERRIDE;
150 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
155 ~vtkSliderRepresentation2D() VTK_OVERRIDE;
162 virtual
double ComputePickPosition(
double eventPos[2]);
174 vtkProperty2D *SliderProperty;
181 vtkProperty2D *TubeProperty;
188 vtkProperty2D *CapProperty;
190 vtkTextProperty *LabelProperty;
194 vtkTextProperty *TitleProperty;
198 vtkProperty2D *SelectedProperty;
204 vtkSliderRepresentation2D(const vtkSliderRepresentation2D&) VTK_DELETE_FUNCTION;
205 void operator=(const vtkSliderRepresentation2D&) VTK_DELETE_FUNCTION;
provide the representation for a vtkSliderWidget with a 3D skin
abstract specification for Viewports
a actor that draws 2D data
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void SetTitleText(const char *)
Specify the label text for this widget.
window superclass for vtkRenderWindow
An actor that displays text.
a simple class to control print indentation
represent text properties.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
abstract class defines the representation for a vtkSliderWidget
object to represent cell connectivity
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
virtual const char * GetTitleText()
represent surface properties of a 2D image
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
draw vtkPolyData onto the image plane
represent and manipulate 3D points