Pick a widget

Is hard to reproduce my situation in a test app, but if is need it, I would do it, because I am stuck here for days :frowning:

My pipe line looks like this: I have a vtkRenderWindowInteractor from over I setup

m_pInteractor->SetInteractorStyle(m_pInteractorStyleImage);

where m_pInteractorStyleImage is vtkInteractorStyleImageEx type.

and vtkInteractorStyleImageEx is

class vtkInteractorStyleImageEx : public vtkInteractorStyleImage

ok.

In this vtkInteractorStyleImageEx I got:

void vtkInteractorStyleImageEx::OnLeftButtonDown()
{
	int nPickPosition[2];
    this->Interactor->GetEventPosition(nPickPosition);
	vtkPropPicker* pPicker = vtkPropPicker::New();
	pPicker->Pick(nPickPosition[0], nPickPosition[1], 0, m_pView->m_pRenderer);
	TRACE("Pointer: %p\n", pPicker->GetProp3D());
	pPicker->Delete();

    vtkInteractorStyleImage::OnLeftButtonDown();
}

that is my testing code …