

def __init__(self, view, _PointCloudQueue):
    self.view = view
    self.PointCloudQueue = _PointCloudQueue
    self.visible = True
    self.p = vtk.vtkPolyData()
    utime = PointCloudQueue.getPointCloudFromPointCloud(self.p)
    self.polyDataObj = vis.PolyDataItem('pointcloud source', shallowCopy(self.p), view)
    self.polyDataObj.actor.SetPickable(1)
    self.polyDataObj.initialized = False
    om.addToObjectModel(self.polyDataObj)
    self.queue = PythonQt.dd.ddBotImageQueue(lcmUtils.getGlobalLCMThread())
    self.queue.init(lcmUtils.getGlobalLCMThread(), drcargs.args().config_file)
    self.targetFps = 30
    self.timerCallback = TimerCallback(targetFps=self.targetFps)
    self.timerCallback.callback = self._updateSource

dataset/ETHPy150Open RobotLocomotion/director/src/python/director/pointcloudlcm.py PointCloudSource.__init__/original