 |
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);
85 vtkGetMacro(CircleWidth,
int);
87 vtkGetMacro(AxesWidth,
int);
98 vtkGetVector3Macro(Origin,
double);
189 double DisplayOrigin[3];
190 double CurrentTranslation[3];
191 double StartWorldPosition[4];
194 double CurrentScale[2];
195 double CurrentShear[2];
208 double LastEventPosition[2];
represent and manipulate 3D points
vtkPolyDataMapper2D * CircleMapper
int ComputeInteractionState(int X, int Y, int modify=0) override
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
void Translate(double eventPos[2])
static vtkAffineRepresentation2D * New()
Instantiate this class.
void SetSelectedProperty(vtkProperty2D *)
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
void Shear(double eventPos[2])
vtkActor2D * HCircleActor
a simple class to control print indentation
vtkCellArray * BoxCellArray
int RenderOverlay(vtkViewport *viewport) override
object to represent cell connectivity
void SetOrigin(double ox, double oy, double oz)
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
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
Methods invoked by print to print information about the object including superclasses.
void GetTransform(vtkTransform *t) override
Retrieve a linear transform characterizing the affine transformation generated by this widget.
void SetTextProperty(vtkTextProperty *)
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
void WidgetInteraction(double eventPos[2]) override
vtkCellArray * HBoxCellArray
represent 2D affine transformations
void Rotate(double eventPos[2])
void GetActors2D(vtkPropCollection *) override
void PlaceWidget(double bounds[6]) override
Subclasses of vtkAffineRepresentation2D must implement these methods.
create a leader with optional label and arrows
~vtkAffineRepresentation2D() override