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