def update_data(self):
        # Invoke render to update any changes.
        if not is_old_pipeline():
            from mayavi.modules.outline import Outline
            from mayavi.components.glyph import Glyph
            #FIXME: A bad hack, but without these checks results in seg fault
            input = self.inputs[0]
            if isinstance(input, Outline) or isinstance(input, Glyph):
                self.mapper.update(0)
            else:
                self.mapper.update()
        self.render()

    ######################################################################
    # `Actor` interface
    ######################################################################
Return an MdrnnLayer suitable for this network.
dataset/ETHPy150Open enthought/mayavi/mayavi/components/actor.py/Actor.update_data--crossover with--dataset/ETHPy150Open pybrain/pybrain/pybrain/structure/networks/mdrnn.py/_Mdrnn._makeMdrnnLayer