33#ifndef vtkPointHandleRepresentation2D_h
34#define vtkPointHandleRepresentation2D_h
36#include "vtkInteractionWidgetsModule.h"
140 double LastPickPosition[3];
141 double LastEventPosition[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)
abstract class for representing widget handles
a simple class to control print indentation
represent the position of a point in display coordinates
virtual int ComputeInteractionState(int X, int Y, int modify=0)
virtual void BuildRepresentation()
virtual void GetActors2D(vtkPropCollection *)
vtkPolyData * CursorShape
void Scale(double eventPos[2])
vtkPolyDataMapper2D * Mapper
virtual void SetDisplayPosition(double xyz[3])
Set/Get the position of the point in display coordinates.
int DetermineConstraintAxis(int constraint, double eventPos[2])
~vtkPointHandleRepresentation2D()
virtual int RenderOverlay(vtkViewport *viewport)
void Highlight(int highlight)
virtual double * GetBounds()
Subclasses of vtkPointHandleRepresentation2D must implement these methods.
void SetSelectedProperty(vtkProperty2D *)
virtual void WidgetInteraction(double eventPos[2])
vtkPolyData * GetCursorShape()
vtkCoordinate * MapperCoordinate
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class behave as a vtkProp.
void Translate(double eventPos[2])
vtkPointHandleRepresentation2D()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetCursorShape(vtkPolyData *cursorShape)
Specify the cursor shape with an instance of vtkPolyData.
void SetProperty(vtkProperty2D *)
Set/Get the handle properties when unselected and selected.
void CreateDefaultProperties()
virtual void StartWidgetInteraction(double eventPos[2])
virtual void SetPointPlacer(vtkPointPlacer *)
Override the superclass implementation.
vtkProperty2D * SelectedProperty
virtual void DeepCopy(vtkProp *prop)
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
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
abstract specification for Viewports
window superclass for vtkRenderWindow