46 #ifndef vtkAffineRepresentation2D_h
47 #define vtkAffineRepresentation2D_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];
abstract superclass for all actors, volumes and annotations
vtkPolyDataMapper2D * HCircleMapper
vtkTransform * CurrentTransform
abstract class for representing affine transformation widgets
abstract specification for Viewports
virtual void ShallowCopy(vtkProp *prop)
vtkTransform * TotalTransform
vtkLeaderActor2D * HXAxis
a actor that draws 2D data
vtkPoints * HCirclePoints
vtkCellArray * HBoxCellArray
virtual void GetTransform(vtkTransform *t)=0
vtkLeaderActor2D * HYAxis
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetOrigin(const double o[3])
vtkProperty2D * SelectedProperty
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent)
vtkCellArray * HCircleCellArray
vtkTextMapper * TextMapper
a simple class to control print indentation
vtkCellArray * BoxCellArray
create a leader with optional label and arrows
vtkTextProperty * TextProperty
vtkTransform * TempTransform
vtkActor2D * HCircleActor
represent 2D affine transformations
vtkPolyDataMapper2D * BoxMapper
represent text properties.
vtkPolyDataMapper2D * CircleMapper
object to represent cell connectivity
vtkCellArray * CircleCellArray
represent surface properties of a 2D image
vtkPolyDataMapper2D * HBoxMapper
draw vtkPolyData onto the image plane
represent and manipulate 3D points