def __init__(self, parent, pointCloud): ImageBasedAffordanceFit.__init__(self, imageView=parent.cameraView, numberOfPoints=3) self.parent = parent self.pointCloud = pointCloud self.pointCloudObjectName = 'openni point cloud'
def __init__(self, switchPlanner): ImageBasedAffordanceFit.__init__(self, numberOfPoints=1) self.switchPlanner = switchPlanner self.fitFunc = None self.pickLineRadius = 0.05 self.pickNearestToCamera = False self.useLocalPlaneFit = True self.useVoxelGrid = True
def __init__(self, mappingDemo): ImageBasedAffordanceFit.__init__(self, numberOfPoints=1) self.mappingDemo = mappingDemo
def __init__(self, planner, imageView): ImageBasedAffordanceFit.__init__(self, imageView=imageView, numberOfPoints=1) self.planner = planner self.pointCloudObjectName = 'openni point cloud'