[vtkusers] interactor problem with 4.2
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Fri Oct 24 06:02:26 EDT 2003
laurent Mundeleer wrote:
> Hi all,
> I try to upgrade from 4.0 to 4.2, but I see that some functions have
> changed.
> I have an interactor who herits from the vtkInteractorStyleTrackballCamera.
> The problem is that the function I want to override OnLeftButtonDown(int
> ctrl, int shift, int x, int y) has changed to OnLeftButtonDown().
>
> So I've taked the original function that I've agremented with some calls
> but I've got errors with lines like these who use the 'Interactor'
> member : int x = this->Interactor->GetEventPosition()[0];
> int y = this->Interactor->GetEventPosition()[1];
> " invalid use of undefined type `struct vtkRenderWindowInteractor' "
> what should I do?
>
#include "vtkRenderWindowInteractor.h"
mathieu
More information about the vtkusers
mailing list