47 #ifndef vtkAffineRepresentation2D_h 48 #define vtkAffineRepresentation2D_h 50 #include "vtkInteractionWidgetsModule.h" 90 vtkGetMacro(BoxWidth,
int);
92 vtkGetMacro(CircleWidth,
int);
94 vtkGetMacro(AxesWidth,
int);
104 void SetOrigin(
double ox,
double oy,
double oz);
105 vtkGetVector3Macro(Origin,
double);
137 vtkGetMacro(DisplayText,
int);
173 void Scale(
double eventPos[2]);
174 void Rotate(
double eventPos[2]);
175 void Shear(
double eventPos[2]);
177 void UpdateText(
const char *text,
double eventPos[2]);
196 double DisplayOrigin[3];
197 double CurrentTranslation[3];
198 double StartWorldPosition[4];
201 double CurrentScale[2];
202 double CurrentShear[2];
210 void CreateDefaultProperties();
215 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
vtkTransform * TotalTransform
vtkLeaderActor2D * HXAxis
a actor that draws 2D data
vtkPoints * HCirclePoints
vtkCellArray * HBoxCellArray
virtual void GetTransform(vtkTransform *t)=0
Retrieve a linear transform characterizing the affine transformation generated by this widget...
vtkLeaderActor2D * HYAxis
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetOrigin(const double o[3])
Specify the origin of the widget (in world coordinates).
vtkProperty2D * SelectedProperty
window superclass for vtkRenderWindow
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
vtkCellArray * HCircleCellArray
vtkTextMapper * TextMapper
a simple class to control print indentation
vtkCellArray * BoxCellArray
create a leader with optional label and arrows
vtkTextProperty * TextProperty
vtkActor2D * HCircleActor
represent 2D affine transformations
vtkPolyDataMapper2D * BoxMapper
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkPolyDataMapper2D * CircleMapper
object to represent cell connectivity
vtkCellArray * CircleCellArray
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
represent surface properties of a 2D image
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkPolyDataMapper2D * HBoxMapper
draw vtkPolyData onto the image plane
represent and manipulate 3D points