29 #ifndef vtkSliderRepresentation3D_h
30 #define vtkSliderRepresentation3D_h
34 #include "vtkInteractionWidgetsModule.h"
35 #include "vtkLegacy.h"
38 VTK_ABI_NAMESPACE_BEGIN
107 vtkSetClampMacro(SliderShape,
int, SphereShape, CylinderShape);
108 vtkGetMacro(SliderShape,
int);
119 vtkSetMacro(Rotation,
double);
120 vtkGetMacro(Rotation,
double);
164 void ReleaseGraphicsResources(
vtkWindow* window) override;
166 int RenderTranslucentPolygonalGeometry(
vtkViewport* viewport) override;
178 void RegisterPickers() override;
202 virtual
double ComputePickPosition(
double eventPos[2]);
254 #if !defined(VTK_LEGACY_REMOVE)
264 VTK_ABI_NAMESPACE_END
represents an object (geometry & properties) in a rendered scene
create hierarchies of vtkProp3Ds (transformable props)
ray-cast cell picker for all kinds of Prop3Ds
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
generate a polygonal cylinder centered at the origin
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
map vtkPolyData to graphics primitives
represent surface properties of a geometric object
provide the representation for a vtkSliderWidget with a 3D skin
void BuildRepresentation() override
Methods to interface with the vtkSliderWidget.
void SetPoint2InWorldCoordinates(double x, double y, double z)
Position the second end point of the slider.
void Highlight(int) override
Methods to interface with the vtkSliderWidget.
vtkCoordinate * GetPoint2Coordinate()
Position the second end point of the slider.
void WidgetInteraction(double newEventPos[2]) override
Methods to interface with the vtkSliderWidget.
static vtkSliderRepresentation3D * New()
Instantiate the class.
void StartWidgetInteraction(double eventPos[2]) override
Methods to interface with the vtkSliderWidget.
vtkCoordinate * GetPoint1Coordinate()
Position the first end point of the slider.
double * GetBounds() override
Methods supporting the rendering process.
void SetSliderShapeToCylinder()
Specify whether to use a sphere or cylinder slider shape.
void PlaceWidget(double bounds[6]) override
Methods to interface with the vtkSliderWidget.
void SetTitleText(const char *) override
Specify the title text for this widget.
const char * GetTitleText() override
Specify the title text for this widget.
void SetPoint1InWorldCoordinates(double x, double y, double z)
Position the first end point of the slider.
void SetSliderShapeToSphere()
Specify whether to use a sphere or cylinder slider shape.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
abstract class defines the representation for a vtkSliderWidget
create a polygonal sphere centered at the origin
abstract specification for Viewports
window superclass for vtkRenderWindow
#define VTK_DEPRECATED_IN_9_2_0(reason)
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)