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, valveDemo): ImageBasedAffordanceFit.__init__(self, numberOfPoints=2) self.valveDemo = valveDemo
def __init__(self, mappingDemo): ImageBasedAffordanceFit.__init__(self, numberOfPoints=1) self.mappingDemo = mappingDemo