26 #ifndef vtkContextTransform_h 27 #define vtkContextTransform_h 29 #include "vtkRenderingContext2DModule.h" 52 void Update() VTK_OVERRIDE;
62 virtual
void Identity();
68 virtual
void Translate(
float dx,
float dy);
74 virtual
void Scale(
float dx,
float dy);
79 virtual
void Rotate(
float angle);
102 vtkGetMacro(PanMouseButton,
int);
111 vtkGetMacro(PanModifier,
int);
120 vtkGetMacro(SecondaryPanMouseButton,
int);
129 vtkGetMacro(SecondaryPanModifier,
int);
138 vtkGetMacro(ZoomMouseButton,
int);
147 vtkGetMacro(ZoomModifier,
int);
156 vtkGetMacro(SecondaryZoomMouseButton,
int);
165 vtkGetMacro(SecondaryZoomModifier,
int);
173 vtkGetMacro(ZoomOnMouseWheel,
bool);
182 vtkGetMacro(PanYOnMouseWheel,
bool);
208 ~vtkContextTransform() VTK_OVERRIDE;
216 int SecondaryPanMouseButton;
217 int SecondaryPanModifier;
218 int SecondaryZoomMouseButton;
219 int SecondaryZoomModifier;
221 bool ZoomOnMouseWheel;
222 bool PanYOnMouseWheel;
227 vtkContextTransform(const vtkContextTransform &) VTK_DELETE_FUNCTION;
228 void operator=(const vtkContextTransform &) VTK_DELETE_FUNCTION;
232 #endif //vtkContextTransform_h Hold a reference to a vtkObjectBase instance.
all children of this item are transformed by the vtkTransform2D of this item.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Class for drawing 2D primitives to a graphical context.
data structure to represent mouse events.
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
base class for items that are part of a vtkContextScene.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void Update()
Perform any updates to the item that may be necessary before rendering.