Ejemplo n.º 1
0
 def close(self):
     # disconnect all inputs
     self.set_input(0, None)
     self.set_input(1, None)
     # take care of critical instances
     self._outputPolyData = None
     # mixin close
     NoConfigModuleMixin.close(self)
Ejemplo n.º 2
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)
Ejemplo n.º 3
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of GUI
        NoConfigModuleMixin.close(self)
Ejemplo n.º 4
0
 def close(self):
     # we play it safe... (the graph_editor/module_manager should have
     # disconnected us by now)
     for input_idx in range(len(self.get_input_descriptions())):
         self.set_input(input_idx, None)
     # don't forget to call the close() method of the vtkPipeline mixin
     NoConfigModuleMixin.close(self)
     # get rid of our reference
     del self._imageReslice
Ejemplo n.º 5
0
 def close(self):
     # we play it safe... (the graph_editor/module_manager should have
     # disconnected us by now)
     for input_idx in range(len(self.get_input_descriptions())):
         self.set_input(input_idx, None)
     # don't forget to call the close() method of the vtkPipeline mixin
     NoConfigModuleMixin.close(self)
     # get rid of our reference
     del self._imageReslice
Ejemplo n.º 6
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        self.set_input(0, None)
        self.set_input(1, None)
        # don't forget to call the close() method of the vtkPipeline mixin
        NoConfigModuleMixin.close(self)
        # take out our view interface
        del self._imageBacktracker
	ModuleBase.close(self)
Ejemplo n.º 7
0
 def close(self):
     # we play it safe... (the graph_editor/module_manager should have
     # disconnected us by now)
     self.set_input(0, None)
     self.set_input(1, None)
     # don't forget to call the close() method of the vtkPipeline mixin
     NoConfigModuleMixin.close(self)
     # take out our view interface
     del self._imageBacktracker
     ModuleBase.close(self)
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)
        
        # get rid of our reference
        del self._imageGradientStructureTensor
Ejemplo n.º 9
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)

        # get rid of our reference
        del self._imageFlip
Ejemplo n.º 10
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)
        # and the baseclass close
        ModuleBase.close(self)

        # remove all bindings
        del self._laplacian
Ejemplo n.º 11
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)
        # and the baseclass close
        ModuleBase.close(self)
            
        # remove all bindings
        del self._laplacian
Ejemplo n.º 12
0
    def close(self):
        # just in case
        self.set_input(0, None)
        self.set_input(1, None)

        # take care of our refs so that things can disappear
        self._destroyPipelines()
        del self._itkExporterStack
        del self._imageAppend

        NoConfigModuleMixin.close(self)

        ModuleBase.close(self)
Ejemplo n.º 13
0
    def close(self):
        # just in case
        self.set_input(0, None)
        self.set_input(1, None)

        # take care of our refs so that things can disappear
        self._destroyPipelines()
        del self._itkExporterStack
        del self._imageAppend

        NoConfigModuleMixin.close(self)

        ModuleBase.close(self)
Ejemplo n.º 14
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)
        
        # get rid of our reference
        del self._probeFilter
        del self._dummyInput
        del self._padder
        del self._source
        del self._input
Ejemplo n.º 15
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)
        # don't forget to call the close() method of the vtkPipeline mixin
        NoConfigModuleMixin.close(self)
        # get rid of our reference
        del self._cleaner
        del self._cleaner2
        del self._wspdf
        del self._curvatures
        del self._tf

        del self._inputPoints
        del self._outputPolyDataARB
        del self._outputPolyDataHM
Ejemplo n.º 16
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)
        # don't forget to call the close() method of the vtkPipeline mixin
        NoConfigModuleMixin.close(self)
        # get rid of our reference
        del self._cleaner
        del self._cleaner2
        del self._wspdf
        del self._curvatures
        del self._tf

        del self._inputPoints
        del self._outputPolyDataARB
        del self._outputPolyDataHM
Ejemplo n.º 17
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)

        ModuleBase.close(self)

        #
        self._imageThreshold.RemoveObserver(self._imageThresholdObserverID)

        # get rid of our reference
        del self._dualGreyReconstruct
        del self._markerSource
        del self._maskSource
        del self._imageThreshold
Ejemplo n.º 18
0
    def close(self):
        # we play it safe... (the graph_editor/module_manager should have
        # disconnected us by now)
        for input_idx in range(len(self.get_input_descriptions())):
            self.set_input(input_idx, None)

        # this will take care of all display thingies
        NoConfigModuleMixin.close(self)

        ModuleBase.close(self)

        #
        self._imageThreshold.RemoveObserver(self._imageThresholdObserverID)

        # get rid of our reference
        del self._dualGreyReconstruct
        del self._markerSource
        del self._maskSource
        del self._imageThreshold
Ejemplo n.º 19
0
 def close(self):
     NoConfigModuleMixin.close(self)
     del self._image_data_streamer
     del self._poly_data_streamer