def pick_point(self, x, y):
        self.pointpicker.pick((float(x), float(y), 0.0), self.renwin.renderer)

        pp = self.pointpicker
        id = pp.point_id
        picked_data = PickedData()
        coord = pp.pick_position
        picked_data.coordinate = coord

        if id > -1:
            data = pp.mapper.input.point_data
            bounds = pp.mapper.input.bounds

            picked_data.valid = 1
            picked_data.point_id = id
            picked_data.data = data

            self._update_actor(coord, bounds)
        else:
            self.p_actor.visibility = 0

        self.renwin.render()
        return picked_data
Test that event listener can be registered on the model
dataset/ETHPy150Open enthought/mayavi/tvtk/pyface/picker.py/Picker.pick_point--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/unit/test_model.py/TestModel.test_registering_event_listener