def __init__(self, world, xforms=None, title=None): GLRealtimeProgram.__init__(self, title or "World Visualization") self.world = world self.xforms = xforms or [] self.xforms += [se3.identity()] # configure the rendering self.clippingplanes = (0.1, 100) logger.info("visualization ready")
def __init__(self, clouds, xforms=None, world=None): GLRealtimeProgram.__init__(self, "Cloud Visualization") self.clouds = clouds or [] self.point_lists = [] self.xforms = xforms or [] self.xforms += [se3.identity()] self.world = world self.point_size = 2 # configure the rendering self.clippingplanes = (0.1, 100) logger.info("visualization ready")