20 #ifndef vtkSliderRepresentation3D_h
21 #define vtkSliderRepresentation3D_h
25 #include "vtkInteractionWidgetsModule.h"
26 #include "vtkLegacy.h"
29 VTK_ABI_NAMESPACE_BEGIN
98 vtkSetClampMacro(SliderShape,
int, SphereShape, CylinderShape);
99 vtkGetMacro(SliderShape,
int);
110 vtkSetMacro(Rotation,
double);
111 vtkGetMacro(Rotation,
double);
155 void ReleaseGraphicsResources(
vtkWindow* window) override;
157 int RenderTranslucentPolygonalGeometry(
vtkViewport* viewport) override;
169 void RegisterPickers() override;
193 virtual
double ComputePickPosition(
double eventPos[2]);
245 #if !defined(VTK_LEGACY_REMOVE)
255 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(...)