27#ifndef vtkPointHandleRepresentation2D_h
28#define vtkPointHandleRepresentation2D_h
31#include "vtkInteractionWidgetsModule.h"
149 void Scale(const
double eventPos[2]);
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)
vtkHandleRepresentation()
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
vtkPolyData * CursorShape
void SetDisplayPosition(double xyz[3]) override
Set/Get the position of the point in display coordinates.
vtkPolyDataMapper2D * Mapper
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
void WidgetInteraction(double eventPos[2]) override
Subclasses of vtkPointHandleRepresentation2D must implement these methods.
void ReleaseGraphicsResources(vtkWindow *) override
Methods to make this class behave as a vtkProp.
void SetSelectedProperty(vtkProperty2D *)
Set/Get the handle properties when unselected and selected.
void Translate(const double *eventPos) override
Translates world position by vector v projected on the constraint axis if any.
vtkPolyData * GetCursorShape()
Specify the cursor shape with an instance of vtkPolyData.
void GetActors2D(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
void ShallowCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
vtkCoordinate * MapperCoordinate
vtkPointHandleRepresentation2D()
void SetCursorShape(vtkPolyData *cursorShape)
Specify the cursor shape with an instance of vtkPolyData.
double LastPickPosition[3]
int ComputeInteractionState(int X, int Y, int modify=0) override
Subclasses of vtkPointHandleRepresentation2D must implement these methods.
void SetProperty(vtkProperty2D *)
Set/Get the handle properties when unselected and selected.
double * GetBounds() override
Subclasses of vtkPointHandleRepresentation2D must implement these methods.
void Scale(const double eventPos[2])
void SetVisibility(vtkTypeBool visible) override
Override to ensure that the internal actor's visibility is consistent with this representation's visi...
void CreateDefaultProperties()
void BuildRepresentation() override
Subclasses of vtkPointHandleRepresentation2D must implement these methods.
void SetPointPlacer(vtkPointPlacer *) override
Override the superclass implementation.
void Highlight(int highlight) override
vtkProperty2D * SelectedProperty
void DeepCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
double LastEventPosition[2]
int RenderOverlay(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
void StartWidgetInteraction(double eventPos[2]) override
Subclasses of vtkPointHandleRepresentation2D must implement these methods.
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
represent surface properties of a 2D image
abstract specification for Viewports
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)