21 #ifndef vtkPointHandleRepresentation2D_h
22 #define vtkPointHandleRepresentation2D_h
25 #include "vtkInteractionWidgetsModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
90 void BuildRepresentation() override;
91 void StartWidgetInteraction(
double eventPos[2]) override;
92 void WidgetInteraction(
double eventPos[2]) override;
93 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
100 void ShallowCopy(
vtkProp* prop) override;
101 void DeepCopy(
vtkProp* prop) override;
103 void ReleaseGraphicsResources(
vtkWindow*) override;
107 void Highlight(
int highlight) override;
127 ~vtkPointHandleRepresentation2D() override;
139 double LastPickPosition[3];
140 double LastEventPosition[2];
143 void Translate(const
double* eventPos) override;
144 void Scale(const
double eventPos[2]);
150 void CreateDefaultProperties();
153 int WaitingForMotion;
157 vtkPointHandleRepresentation2D(const vtkPointHandleRepresentation2D&) = delete;
158 void operator=(const vtkPointHandleRepresentation2D&) = delete;
161 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
copy oriented and scaled glyph geometry to every input point (2D specialization)
abstract class for representing widget handles
abstract specification for Viewports
a actor that draws 2D data
concrete dataset represents vertices, lines, polygons, and triangle strips
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
window superclass for vtkRenderWindow
Superclass for algorithms that produce only polydata as output.
virtual void SetDisplayPosition(double pos[2])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
represent the position of a point in display coordinates
#define VTK_SIZEHINT(...)
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
represent surface properties of a 2D image
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any. ...
draw vtkPolyData onto the image plane
represent and manipulate 3D points