46 #ifndef __vtkAffineRepresentation2D_h
47 #define __vtkAffineRepresentation2D_h
49 #include "vtkInteractionWidgetsModule.h"
83 vtkGetMacro(BoxWidth,
int);
85 vtkGetMacro(CircleWidth,
int);
87 vtkGetMacro(AxesWidth,
int);
95 void SetOrigin(
double ox,
double oy,
double oz);
96 vtkGetVector3Macro(Origin,
double);
122 vtkSetMacro(DisplayText,
int);
123 vtkGetMacro(DisplayText,
int);
124 vtkBooleanMacro(DisplayText,
int);
155 void Scale(
double eventPos[2]);
156 void Rotate(
double eventPos[2]);
157 void Shear(
double eventPos[2]);
159 void UpdateText(
const char *text,
double eventPos[2]);
179 double DisplayOrigin[3];
180 double CurrentTranslation[3];
181 double StartWorldPosition[4];
184 double CurrentScale[2];
185 double CurrentShear[2];
193 void CreateDefaultProperties();
198 double LastEventPosition[2];