Question

I'm working with ActiViz .NET (VTK) and have a small problem.

When I register a event (for ex. the LeftButtonReleaseEvt), I can't find out where on the RenderWindowControl I clicked. The event is called.

        ...       
        rwcVtk.RenderWindow.GetInteractor().LeftButtonPressEvt += new vtkObject.vtkObjectEventHandler(RenderWindow_LeftButtonReleaseEvt);            
    }

    void RenderWindow_LeftButtonReleaseEvt(vtkObject sender, vtkObjectEventArgs e)
    {
        //TODO: Where did i click?
    }

Can somebody help me? There isn't much documentation on that out there I think.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top