30 #ifndef vtkPointHandleRepresentation2D_h
31 #define vtkPointHandleRepresentation2D_h
34 #include "vtkInteractionWidgetsModule.h"
36 VTK_ABI_NAMESPACE_BEGIN
99 void BuildRepresentation() override;
100 void StartWidgetInteraction(
double eventPos[2]) override;
101 void WidgetInteraction(
double eventPos[2]) override;
102 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
116 void Highlight(
int highlight) override;
148 double LastPickPosition[3];
149 double LastEventPosition[2];
152 void Translate(const
double* eventPos) override;
153 void Scale(const
double eventPos[2]);
159 void CreateDefaultProperties();
162 int WaitingForMotion;
170 VTK_ABI_NAMESPACE_END
a actor that draws 2D data
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
copy oriented and scaled glyph geometry to every input point (2D specialization)
abstract class for representing widget handles
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any.
a simple class to control print indentation
represent the position of a point in display coordinates
void SetDisplayPosition(double xyz[3]) override
Set/Get the position of the point in display coordinates.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
void SetSelectedProperty(vtkProperty2D *)
Set/Get the handle properties when unselected and selected.
void SetCursorShape(vtkPolyData *cursorShape)
Specify the cursor shape with an instance of vtkPolyData.
void SetProperty(vtkProperty2D *)
Set/Get the handle properties when unselected and selected.
double * GetBounds() override
Subclasses of vtkPointHandleRepresentation2D must implement these methods.
vtkPolyData * GetCursorShape()
Specify the cursor shape with an instance of vtkPolyData.
static vtkPointHandleRepresentation2D * New()
Instantiate this class.
Abstract interface to translate 2D display positions to world coordinates.
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
abstract specification for Viewports
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)