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];
a actor that draws 2D data
represent 2D affine transformations
vtkPoints * HCirclePoints
vtkCellArray * CircleCellArray
vtkTransform * CurrentTransform
virtual int ComputeInteractionState(int X, int Y, int modify=0)
virtual void WidgetInteraction(double eventPos[2])
vtkLeaderActor2D * HYAxis
virtual void EndWidgetInteraction(double eventPos[2])
void Shear(double eventPos[2])
virtual void GetTransform(vtkTransform *t)
Retrieve a linear transform characterizing the affine transformation generated by this widget.
virtual void GetActors2D(vtkPropCollection *)
vtkPolyDataMapper2D * CircleMapper
vtkCellArray * BoxCellArray
vtkTransform * TempTransform
void UpdateText(const char *text, double eventPos[2])
void Highlight(int highlight)
vtkPolyDataMapper2D * BoxMapper
vtkLeaderActor2D * HXAxis
vtkPolyDataMapper2D * HCircleMapper
static vtkAffineRepresentation2D * New()
Instantiate this class.
vtkTransform * TotalTransform
void Translate(double eventPos[2])
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
void SetOrigin(const double o[3])
Specify the origin of the widget (in world coordinates).
vtkTextMapper * TextMapper
vtkPolyDataMapper2D * HBoxMapper
virtual void StartWidgetInteraction(double eventPos[2])
void SetSelectedProperty(vtkProperty2D *)
virtual int RenderOverlay(vtkViewport *viewport)
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class behave as a vtkProp.
vtkTextProperty * TextProperty
vtkAffineRepresentation2D()
void SetOrigin(double ox, double oy, double oz)
void Scale(double eventPos[2])
virtual void PlaceWidget(double bounds[6])
Subclasses of vtkAffineRepresentation2D must implement these methods.
vtkCellArray * HCircleCellArray
void Rotate(double eventPos[2])
~vtkAffineRepresentation2D()
virtual void BuildRepresentation()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void CreateDefaultProperties()
void SetTextProperty(vtkTextProperty *)
vtkActor2D * HCircleActor
vtkProperty2D * SelectedProperty
vtkCellArray * HBoxCellArray
void SetProperty(vtkProperty2D *)
Set/Get the properties when unselected and selected.
abstract class for representing affine transformation widgets
object to represent cell connectivity
a simple class to control print indentation
create a leader with optional label and arrows
represent and manipulate 3D points
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
represent text properties.
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.