Exemplo n.º 1
0
 def close(self):
     # close down the vtkPipeline stuff
     vtkPipelineConfigModuleMixin.close(self)
     # take out our view interface
     if self._viewFrame is not None:
         self._viewFrame.Destroy()
         
     # get rid of our reference
     del self._reader
Exemplo n.º 2
0
    def close(self):
        # close down the vtkPipeline stuff
        vtkPipelineConfigModuleMixin.close(self)
        # take out our view interface
        if self._viewFrame is not None:
            self._viewFrame.Destroy()

        # get rid of our reference
        del self._reader
Exemplo n.º 3
0
 def close(self):
     # we play it safe... (the graph_editor/module_manager should have
     # disconnected us by now)
     self.set_input(0, None)
     # don't forget to call the close() method of the vtkPipeline mixin
     vtkPipelineConfigModuleMixin.close(self)
     # take out our view interface
     self._viewFrame.Destroy()
     # get rid of our reference
     del self._contourFilter
Exemplo n.º 4
0
 def close(self):
     # we play it safe... (the graph_editor/module_manager should have
     # disconnected us by now)
     self.set_input(0, None)
     # don't forget to call the close() method of the vtkPipeline mixin
     vtkPipelineConfigModuleMixin.close(self)
     # take out our view interface
     self._viewFrame.Destroy()
     # get rid of our reference
     del self._contourFilter