60#ifndef vtkAffineRepresentation2D_h
61#define vtkAffineRepresentation2D_h
64#include "vtkInteractionWidgetsModule.h"
102 vtkGetMacro(BoxWidth,
int);
104 vtkGetMacro(CircleWidth,
int);
106 vtkGetMacro(AxesWidth,
int);
117 vtkGetVector3Macro(Origin,
double);
208 double DisplayOrigin[3];
209 double CurrentTranslation[3];
210 double StartWorldPosition[4];
213 double CurrentScale[2];
214 double CurrentShear[2];
227 double LastEventPosition[2];
a actor that draws 2D data
represent 2D affine transformations
vtkPoints * HCirclePoints
vtkCellArray * CircleCellArray
vtkTransform * CurrentTransform
void EndWidgetInteraction(double eventPos[2]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void GetTransform(vtkTransform *t) override
Retrieve a linear transform characterizing the affine transformation generated by this widget.
void PlaceWidget(double bounds[6]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void ReleaseGraphicsResources(vtkWindow *) override
Methods to make this class behave as a vtkProp.
vtkLeaderActor2D * HYAxis
void WidgetInteraction(double eventPos[2]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void Shear(double eventPos[2])
int RenderOverlay(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
vtkPolyDataMapper2D * CircleMapper
vtkCellArray * BoxCellArray
void UpdateText(const char *text, double eventPos[2])
vtkPolyDataMapper2D * BoxMapper
void Highlight(int highlight) override
void ShallowCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
vtkLeaderActor2D * HXAxis
vtkPolyDataMapper2D * HCircleMapper
void BuildRepresentation() override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void StartWidgetInteraction(double eventPos[2]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
static vtkAffineRepresentation2D * New()
Instantiate this class.
vtkTransform * TotalTransform
void GetActors2D(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
void Translate(double eventPos[2])
void SetOrigin(const double o[3])
Specify the origin of the widget (in world coordinates).
vtkTextMapper * TextMapper
vtkPolyDataMapper2D * HBoxMapper
int ComputeInteractionState(int X, int Y, int modify=0) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void SetSelectedProperty(vtkProperty2D *)
Set/Get the properties when unselected and selected.
vtkTextProperty * TextProperty
vtkAffineRepresentation2D()
void SetOrigin(double ox, double oy, double oz)
Specify the origin of the widget (in world coordinates).
void Scale(double eventPos[2])
vtkCellArray * HCircleCellArray
void Rotate(double eventPos[2])
void CreateDefaultProperties()
void SetTextProperty(vtkTextProperty *)
Set/Get the properties when unselected and selected.
vtkActor2D * HCircleActor
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
vtkProperty2D * SelectedProperty
vtkCellArray * HBoxCellArray
void SetProperty(vtkProperty2D *)
Set/Get the properties when unselected and selected.
~vtkAffineRepresentation2D() override
abstract class for representing affine transformation widgets
object to represent cell connectivity
a simple class to control print indentation
create a leader with optional label and arrows
represent and manipulate 3D points
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
represent text properties.
abstract specification for Viewports
window superclass for vtkRenderWindow