 |
VTK
9.0.1
|
Go to the documentation of this file.
41 #ifndef vtkAffineRepresentation2D_h
42 #define vtkAffineRepresentation2D_h
45 #include "vtkInteractionWidgetsModule.h"
83 vtkGetMacro(BoxWidth,
int);
84 vtkSetClampMacro(CircleWidth,
int, 10,
VTK_INT_MAX);
85 vtkGetMacro(CircleWidth,
int);
87 vtkGetMacro(AxesWidth,
int);
97 void SetOrigin(
double ox,
double oy,
double oz);
98 vtkGetVector3Macro(Origin,
double);
166 void Scale(
double eventPos[2]);
167 void Rotate(
double eventPos[2]);
168 void Shear(
double eventPos[2]);
170 void UpdateText(
const char* text,
double eventPos[2]);
189 double DisplayOrigin[3];
190 double CurrentTranslation[3];
191 double StartWorldPosition[4];
194 double CurrentScale[2];
195 double CurrentShear[2];
203 void CreateDefaultProperties();
208 double LastEventPosition[2];
represent and manipulate 3D points
vtkPolyDataMapper2D * CircleMapper
draw vtkPolyData onto the image plane
vtkLeaderActor2D * HXAxis
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void GetTransform(vtkTransform *t)=0
Retrieve a linear transform characterizing the affine transformation generated by this widget.
vtkPolyDataMapper2D * BoxMapper
vtkPolyDataMapper2D * HBoxMapper
vtkCellArray * CircleCellArray
void SetOrigin(const double o[3])
Specify the origin of the widget (in world coordinates).
vtkTextProperty * TextProperty
vtkCellArray * HCircleCellArray
vtkTextMapper * TextMapper
vtkPoints * HCirclePoints
window superclass for vtkRenderWindow
vtkTransform * TotalTransform
vtkProperty2D * SelectedProperty
abstract class for representing affine transformation widgets
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
vtkActor2D * HCircleActor
a simple class to control print indentation
vtkCellArray * BoxCellArray
object to represent cell connectivity
abstract specification for Viewports
represent text properties.
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
a actor that draws 2D data
vtkLeaderActor2D * HYAxis
vtkPolyDataMapper2D * HCircleMapper
vtkTransform * CurrentTransform
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkCellArray * HBoxCellArray
represent 2D affine transformations
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
create a leader with optional label and arrows