Go to the documentation of this file.
44 #ifndef vtkAffineRepresentation2D_h
45 #define vtkAffineRepresentation2D_h
47 #include "vtkInteractionWidgetsModule.h"
87 vtkGetMacro(BoxWidth,
int);
89 vtkGetMacro(CircleWidth,
int);
91 vtkGetMacro(AxesWidth,
int);
102 vtkGetVector3Macro(Origin,
double);
193 double DisplayOrigin[3];
194 double CurrentTranslation[3];
195 double StartWorldPosition[4];
198 double CurrentScale[2];
199 double CurrentShear[2];
212 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