dipy/viz/window.py
def add(self, *actors):
        """ Add an actor to the renderer
        """
        for actor in actors:
            if isinstance(actor, Container):
                actor.add_to_renderer(self)
            elif isinstance(actor, vtk.vtkVolume):
                self.AddVolume(actor)
            elif isinstance(actor, vtk.vtkActor2D):
                self.AddActor2D(actor)
            else:
                self.AddActor(actor)
 Add an actor to the renderer
        
Add an actor to the renderer
Add an actor to the renderer
def add(self, *actors):
        for actor in actors:
            if isinstance(actor, Container):
                actor.add_to_renderer(self)
            elif isinstance(actor, vtk.vtkVolume):
                self.AddVolume(actor)
            elif isinstance(actor, vtk.vtkActor2D):
                self.AddActor2D(actor)
            else:
                self.AddActor(actor)
def add ( self , * actors ) : for actor in actors : if isinstance ( actor , Container ) : actor . add_to_renderer ( self ) elif isinstance ( actor , vtk . vtkVolume ) : self . AddVolume ( actor ) elif isinstance ( actor , vtk . vtkActor2D ) : self . AddActor2D ( actor ) else : self . AddActor ( actor )
Add an actor to the renderer
Add an actor to the renderer
""" Add an actor to the renderer
        """
self