27 #ifndef vtkPointHandleRepresentation2D_h 28 #define vtkPointHandleRepresentation2D_h 30 #include "vtkInteractionWidgetsModule.h" 93 void BuildRepresentation() VTK_OVERRIDE;
94 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
95 void WidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
96 int ComputeInteractionState(
int X,
int Y,
int modify=0) VTK_OVERRIDE;
103 void ShallowCopy(
vtkProp *prop) VTK_OVERRIDE;
104 void DeepCopy(
vtkProp *prop) VTK_OVERRIDE;
106 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
107 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
110 void Highlight(
int highlight) VTK_OVERRIDE;
122 ~vtkPointHandleRepresentation2D() VTK_OVERRIDE;
134 double LastPickPosition[3];
135 double LastEventPosition[2];
139 void Translate(
double eventPos[2]);
140 void Scale(
double eventPos[2]);
146 void CreateDefaultProperties();
149 int DetermineConstraintAxis(
int constraint,
double eventPos[2]);
150 int WaitingForMotion;
154 vtkPointHandleRepresentation2D(const vtkPointHandleRepresentation2D&) VTK_DELETE_FUNCTION;
155 void operator=(const vtkPointHandleRepresentation2D&) VTK_DELETE_FUNCTION;
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.
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
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 SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
draw vtkPolyData onto the image plane
represent and manipulate 3D points