23#ifndef vtk3DCursorRepresentation_h
24#define vtk3DCursorRepresentation_h
28#include "vtkInteractionWidgetsModule.h"
36VTK_ABI_NAMESPACE_BEGIN
82 vtkGetMacro(Shape,
int);
91 vtkGetSmartPointerMacro(CustomCursor,
vtkActor);
103 std::unique_ptr<vtkInternals> Internals;
106 int Shape = CROSS_SHAPE;
Representation of the vtk3DCursorWidget.
void BuildRepresentation() override
Update the cursor size (in world coordinates) to always keep the same size in display coordinates.
vtk3DCursorRepresentation()
~vtk3DCursorRepresentation() override
void SetCustomCursor(vtkActor *customCursor)
Set / Get an actor to use as custom cursor.
void WidgetInteraction(double newEventPos[2]) override
Position the cursor in the scene using the vtkHardwarePicker.
void SetCursorShape(int shape)
Set / Get the shape of the cursor.
static vtk3DCursorRepresentation * New()
int RenderOpaqueGeometry(vtkViewport *viewport) override
These methods are reimplemented to make this class behave as a vtkProp.
void ReleaseGraphicsResources(vtkWindow *) override
These methods are reimplemented to make this class behave as a vtkProp.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.
abstract specification for Viewports
window superclass for vtkRenderWindow