Did I find the right examples for you? yes no

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)

src/m/a/mayavi-HEAD/mayavi/modules/streamline.py   mayavi(Download)
 
        src = mm.source
        self.configure_connection(self.stream_tracer, src)
        self.seed.inputs = [src]
 
            configure_outputs(self, st)
        elif value == 'ribbon':
            self.configure_connection(rf, st)
            configure_outputs(self, rf)
        elif value == 'tube':
            self.configure_connection(tf, st)
        if mm is not None:
            src = mm.source
            self.configure_connection(new, src)
 
        # A default output so there are no pipeline errors.  The

src/m/a/mayavi-HEAD/mayavi/modules/image_actor.py   mayavi(Download)
            self.set(map_scalars_to_color=True, trait_change_notify=False)
        if self.map_scalars_to_color:
            self.configure_connection(self.image_map_to_color, src)
            self.image_map_to_color.lookup_table = mm.scalar_lut_manager.lut
            self.image_map_to_color.update()

src/m/a/mayavi-HEAD/mayavi/modules/hyper_streamline.py   mayavi(Download)
            return
        src = mm.source.outputs[0]
        self.configure_connection(self.streamline, mm.source)
        w = self.widget
        old_inp = w.input
        mm = self.module_manager
        if mm is not None:
            self.configure_connection(new, mm.source)
        # A default output so there are no pipeline errors.  The
        # update_pipeline call corrects this if needed.

src/m/a/mayavi-HEAD/mayavi/modules/outline.py   mayavi(Download)
            # Set the input of the filter.
            mm = self.module_manager
            self.configure_connection(self.outline_filter, mm.source)
        self.render()
 

src/m/a/mayavi-HEAD/mayavi/modules/slice_unstructured_grid.py   mayavi(Download)
        self.implicit_plane.inputs = [mod_mgr.source]
        src = self.module_manager.source
        self.configure_connection(self.extract_geometry, src)
 
        # Set the LUT for the mapper.
        if mm is not None:
            src = mm.source
            self.configure_connection(new, src)
        ip = self.implicit_plane
        if ip is not None:

src/m/a/mayavi-HEAD/mayavi/modules/volume.py   mayavi(Download)
 
        src = mm.source
        self.configure_connection(new_vm, src)
        self.volume.mapper = new_vm
        new_vm.on_trait_change(self.render)