문제

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.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top