Did I find the right examples for you? yes no

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

src/m/a/mayavi-HEAD/mayavi/modules/scalar_cut_plane.py   mayavi(Download)
            new.inputs = [warp_scalar]
            self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)
 
    def _implicit_plane_changed(self, old, new):
            old.widget.on_trait_change(self._update_normal, 'normal', remove=True)
        new.widget.on_trait_change(self._update_normal, 'normal')
        self._change_components(old, new)
 
    def _cutter_changed(self, old, new):
            # Update the pipeline.
            self._enable_warp_scalar_changed(self.enable_warp_scalar)
        self._change_components(old, new)
 
    def _contour_changed(self, old, new):
        # Update the pipeline.
        self._enable_contours_changed(self.enable_contours)
        self._change_components(old, new)
    def _warp_scalar_changed(self, old, new):
        # Update the pipeline.
        self._enable_warp_scalar_changed(self.enable_warp_scalar)
        self._change_components(old, new)
 

src/m/a/mayavi-HEAD/mayavi/modules/streamline.py   mayavi(Download)
    def _seed_changed(self, old, new):
        st = self.stream_tracer
        if st is not None:
            self.configure_source_data(st, new.poly_data)
        self._change_components(old, new)
    def _actor_changed(self, old, new):
        new.scene = self.scene
        new.inputs = [self]
        self._change_components(old, new)
 

src/m/a/mayavi-4.3.1/mayavi/modules/scalar_cut_plane.py   mayavi(Download)
            new.inputs = [warp_scalar]
            self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)
 
    def _implicit_plane_changed(self, old, new):
            old.widget.on_trait_change(self._update_normal, 'normal', remove=True)
        new.widget.on_trait_change(self._update_normal, 'normal')
        self._change_components(old, new)
 
    def _cutter_changed(self, old, new):
            # Update the pipeline.
            self._enable_warp_scalar_changed(self.enable_warp_scalar)
        self._change_components(old, new)
 
    def _contour_changed(self, old, new):
        # Update the pipeline.
        self._enable_contours_changed(self.enable_contours)
        self._change_components(old, new)
    def _warp_scalar_changed(self, old, new):
        # Update the pipeline.
        self._enable_warp_scalar_changed(self.enable_warp_scalar)
        self._change_components(old, new)
 

src/m/a/mayavi-HEAD/mayavi/modules/warp_vector_cut_plane.py   mayavi(Download)
            new.inputs = [warp_vector]
        self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)
 
    def _implicit_plane_changed(self, old, new):
        cutter = self.cutter
        if cutter is not None:
            cutter.cut_function = new.plane
            cutter.inputs = [new]
        self._change_components(old, new)
            new.inputs = [cutter]
        self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)
 
    def _cutter_changed(self, old, new):
        if w is not None:
            w.inputs = [new]
        self._change_components(old, new)
 
    def _actor_changed(self, old, new):
        self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)

src/m/a/mayavi-4.3.1/mayavi/modules/warp_vector_cut_plane.py   mayavi(Download)
            new.inputs = [warp_vector]
        self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)
 
    def _implicit_plane_changed(self, old, new):
        cutter = self.cutter
        if cutter is not None:
            cutter.cut_function = new.plane
            cutter.inputs = [new]
        self._change_components(old, new)
            new.inputs = [cutter]
        self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)
 
    def _cutter_changed(self, old, new):
        if w is not None:
            w.inputs = [new]
        self._change_components(old, new)
 
    def _actor_changed(self, old, new):
        self._compute_normals_changed(self.compute_normals)
        self._change_components(old, new)

src/m/a/mayavi-HEAD/mayavi/modules/vector_cut_plane.py   mayavi(Download)
            cutter.cut_function = new.plane
            cutter.inputs = [new]
        self._change_components(old, new)
 
    def _cutter_changed(self, old, new):
        if g is not None:
            g.inputs = [new]
        self._change_components(old, new)
 
    def _glyph_changed(self, old, new):
        new.on_trait_change(self._color_mode_changed,
                            'color_mode')
        self._change_components(old, new)
 
    def _actor_changed(self, old, new):
        new.scene = self.scene
        glyph = self.glyph
        if glyph is not None:
            new.inputs = [glyph]
        self._change_components(old, new)

src/m/a/mayavi-4.3.1/mayavi/modules/vector_cut_plane.py   mayavi(Download)
            cutter.cut_function = new.plane
            cutter.inputs = [new]
        self._change_components(old, new)
 
    def _cutter_changed(self, old, new):
        if g is not None:
            g.inputs = [new]
        self._change_components(old, new)
 
    def _glyph_changed(self, old, new):
        new.on_trait_change(self._color_mode_changed,
                            'color_mode')
        self._change_components(old, new)
 
    def _actor_changed(self, old, new):
        new.scene = self.scene
        glyph = self.glyph
        if glyph is not None:
            new.inputs = [glyph]
        self._change_components(old, new)

src/m/a/mayavi-HEAD/mayavi/modules/iso_surface.py   mayavi(Download)
    def _contour_changed(self, old, new):
        normals = self.normals
        if normals is not None:
            normals.inputs = [new]
        self._change_components(old, new)
    def _normals_changed(self, old, new):
        contour = self.contour
        if contour is not None:
            new.inputs = [contour]
        self._change_components(old, new)
        if contour is not None:
            new.inputs = [contour]
        self._change_components(old, new)
 
 

src/m/a/mayavi-4.3.1/mayavi/modules/iso_surface.py   mayavi(Download)
    def _contour_changed(self, old, new):
        normals = self.normals
        if normals is not None:
            normals.inputs = [new]
        self._change_components(old, new)
    def _normals_changed(self, old, new):
        contour = self.contour
        if contour is not None:
            new.inputs = [contour]
        self._change_components(old, new)
        if contour is not None:
            new.inputs = [contour]
        self._change_components(old, new)
 
 

src/m/a/mayavi-HEAD/mayavi/modules/contour_grid_plane.py   mayavi(Download)
    def _grid_plane_changed(self, old, new):
        cont = self.contour
        if cont is not None:
            cont.inputs = [new]
        self._change_components(old, new)
        if actor is not None:
            actor.inputs = [new]
        self._change_components(old, new)
 
    def _actor_changed(self, old, new):
        if cont is not None:
            new.inputs = [cont]
        self._change_components(old, new)
 

  1 | 2 | 3  Next