28 #ifndef vtkContextTransform_h 29 #define vtkContextTransform_h 57 virtual void Translate(
float dx,
float dy);
61 virtual void Scale(
float dx,
float dy);
64 virtual void Rotate(
float angle);
190 #endif //vtkContextTransform_h
int SecondaryZoomMouseButton
int SecondaryPanMouseButton
virtual vtkVector2f MapFromParent(const vtkVector2f &point)
virtual vtkVector2f MapToParent(const vtkVector2f &point)
virtual bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
virtual bool Paint(vtkContext2D *painter)
#define vtkGetMacro(name, type)
all children of this item are transformed by the vtkTransform2D of this item.
#define vtkTypeMacro(thisClass, superclass)
Class for drawing 2D primitives to a graphical context.
#define VTKRENDERINGCONTEXT2D_EXPORT
virtual bool MouseWheelEvent(const vtkContextMouseEvent &mouse, int delta)
data structure to represent mouse events.
a simple class to control print indentation
vtkSmartPointer< vtkTransform2D > Transform
int SecondaryZoomModifier
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
base class for items that are part of a vtkContextScene.
virtual bool Hit(const vtkContextMouseEvent &mouse)
#define vtkBooleanMacro(name, type)
virtual void PrintSelf(ostream &os, vtkIndent indent)
#define vtkSetMacro(name, type)