Go to the documentation of this file.
47 #ifndef vtkAffineRepresentation2D_h
48 #define vtkAffineRepresentation2D_h
50 #include "vtkInteractionWidgetsModule.h"
90 vtkGetMacro(BoxWidth,
int);
92 vtkGetMacro(CircleWidth,
int);
94 vtkGetMacro(AxesWidth,
int);
105 vtkGetVector3Macro(Origin,
double);
137 vtkGetMacro(DisplayText,
int);
197 double DisplayOrigin[3];
198 double CurrentTranslation[3];
199 double StartWorldPosition[4];
202 double CurrentScale[2];
203 double CurrentShear[2];
216 double LastEventPosition[2];
represent and manipulate 3D points
vtkPolyDataMapper2D * CircleMapper
draw vtkPolyData onto the image plane
vtkLeaderActor2D * HXAxis
virtual void GetActors2D(vtkPropCollection *)
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void Translate(double eventPos[2])
static vtkAffineRepresentation2D * New()
Instantiate this class.
void SetSelectedProperty(vtkProperty2D *)
void CreateDefaultProperties()
virtual int ComputeInteractionState(int X, int Y, int modify=0)
vtkPolyDataMapper2D * BoxMapper
vtkPolyDataMapper2D * HBoxMapper
vtkTransform * TempTransform
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
virtual void BuildRepresentation()
vtkCellArray * HCircleCellArray
vtkTextMapper * TextMapper
vtkPoints * HCirclePoints
window superclass for vtkRenderWindow
virtual void WidgetInteraction(double eventPos[2])
vtkTransform * TotalTransform
vtkAffineRepresentation2D()
vtkProperty2D * SelectedProperty
abstract class for representing affine transformation widgets
virtual int RenderOverlay(vtkViewport *viewport)
void Shear(double eventPos[2])
~vtkAffineRepresentation2D()
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class behave as a vtkProp.
vtkActor2D * HCircleActor
a simple class to control print indentation
vtkCellArray * BoxCellArray
object to represent cell connectivity
virtual void GetTransform(vtkTransform *t)
Retrieve a linear transform characterizing the affine transformation generated by this widget.
virtual void StartWidgetInteraction(double eventPos[2])
void SetOrigin(double ox, double oy, double oz)
abstract specification for Viewports
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
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
virtual void EndWidgetInteraction(double eventPos[2])
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
vtkCellArray * HBoxCellArray
represent 2D affine transformations
void Highlight(int highlight)
void Rotate(double eventPos[2])
virtual void PlaceWidget(double bounds[6])
Subclasses of vtkAffineRepresentation2D must implement these methods.
create a leader with optional label and arrows