1 |
francois |
1061 |
// nUtil - An utility Library for gnurbs |
2 |
|
|
// Copyright (C) 2008-2019 Eric Bechet |
3 |
|
|
// |
4 |
|
|
// See the LICENSE file for contributions and license information. |
5 |
|
|
// Please report all bugs and problems to <bechet@cadxfem.org>. |
6 |
|
|
// |
7 |
|
|
|
8 |
|
|
#include "mousewheelforwardCallback.h" |
9 |
|
|
#include "vtkRenderWindowInteractor.h" |
10 |
|
|
#include "vtkRenderWindow.h" |
11 |
|
|
|
12 |
|
|
void mousewheelforwardCallback::Execute(vtkObject *caller, unsigned long, void*) |
13 |
|
|
{ |
14 |
|
|
vtkRenderWindowInteractor *interactor = reinterpret_cast<vtkRenderWindowInteractor*>(caller); |
15 |
|
|
int x,y; |
16 |
|
|
interactor->GetMousePosition(&x,&y); |
17 |
|
|
|
18 |
|
|
myDisplay->mousewheelforwardCall(x,y); |
19 |
|
|
} |