 |
VTK
9.1.0
|
Go to the documentation of this file.
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];
represent and manipulate 3D points
vtkPolyDataMapper2D * CircleMapper
int ComputeInteractionState(int X, int Y, int modify=0) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
draw vtkPolyData onto the image plane
vtkLeaderActor2D * HXAxis
void ShallowCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
void StartWidgetInteraction(double eventPos[2]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void Translate(double eventPos[2])
static vtkAffineRepresentation2D * New()
Instantiate this class.
void SetSelectedProperty(vtkProperty2D *)
Set/Get the properties when unselected and selected.
void CreateDefaultProperties()
vtkPolyDataMapper2D * BoxMapper
vtkPolyDataMapper2D * HBoxMapper
void UpdateText(const char *text, double eventPos[2])
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
vtkAffineRepresentation2D()
vtkProperty2D * SelectedProperty
void Highlight(int highlight) override
abstract class for representing affine transformation widgets
void EndWidgetInteraction(double eventPos[2]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void Shear(double eventPos[2])
vtkActor2D * HCircleActor
a simple class to control print indentation
vtkCellArray * BoxCellArray
int RenderOverlay(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
object to represent cell connectivity
void SetOrigin(double ox, double oy, double oz)
Specify the origin of the widget (in world coordinates).
void ReleaseGraphicsResources(vtkWindow *) override
Methods to make this class behave as a vtkProp.
abstract specification for Viewports
represent text properties.
abstract superclass for all actors, volumes and annotations
void Scale(double eventPos[2])
represent surface properties of a 2D image
a actor that draws 2D data
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
void GetTransform(vtkTransform *t) override
Retrieve a linear transform characterizing the affine transformation generated by this widget.
void SetTextProperty(vtkTextProperty *)
Set/Get the properties when unselected and selected.
void SetProperty(vtkProperty2D *)
Set/Get the properties when unselected and selected.
vtkLeaderActor2D * HYAxis
vtkPolyDataMapper2D * HCircleMapper
vtkTransform * CurrentTransform
concrete dataset represents vertices, lines, polygons, and triangle strips
void BuildRepresentation() override
Subclasses of vtkAffineRepresentation2D must implement these methods.
void WidgetInteraction(double eventPos[2]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
vtkCellArray * HBoxCellArray
represent 2D affine transformations
void Rotate(double eventPos[2])
void GetActors2D(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
void PlaceWidget(double bounds[6]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
create a leader with optional label and arrows
~vtkAffineRepresentation2D() override