 |
VTK
9.0.1
|
Go to the documentation of this file.
27 #ifndef vtkPointHandleRepresentation2D_h
28 #define vtkPointHandleRepresentation2D_h
31 #include "vtkInteractionWidgetsModule.h"
95 void BuildRepresentation() override;
96 void StartWidgetInteraction(
double eventPos[2]) override;
97 void WidgetInteraction(
double eventPos[2]) override;
98 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
105 void ShallowCopy(
vtkProp* prop) override;
106 void DeepCopy(
vtkProp* prop) override;
108 void ReleaseGraphicsResources(
vtkWindow*) override;
112 void Highlight(
int highlight) override;
144 double LastPickPosition[3];
145 double LastEventPosition[2];
148 virtual
void Translate(const
double* eventPos) override;
149 void Scale(const
double eventPos[2]);
155 void CreateDefaultProperties();
158 int WaitingForMotion;
represent and manipulate 3D points
draw vtkPolyData onto the image plane
Abstract interface to translate 2D display positions to world coordinates.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract class for representing widget handles
copy oriented and scaled glyph geometry to every input point (2D specialization)
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SIZEHINT(...)
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
abstract specification for Viewports
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
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for algorithms that produce only polydata as output.