29 #ifndef vtkSliderRepresentation3D_h
30 #define vtkSliderRepresentation3D_h
33 #include "vtkInteractionWidgetsModule.h"
104 vtkSetClampMacro(SliderShape,
int, SphereShape, CylinderShape);
105 vtkGetMacro(SliderShape,
int);
116 vtkSetMacro(Rotation,
double);
117 vtkGetMacro(Rotation,
double);
175 void RegisterPickers() override;
199 virtual
double ComputePickPosition(
double eventPos[2]);
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 cylinder centered at 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
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)