當前位置: 首頁>>代碼示例>>Python>>正文


Python NoConfigModuleMixin.close方法代碼示例

本文整理匯總了Python中module_mixins.NoConfigModuleMixin.close方法的典型用法代碼示例。如果您正苦於以下問題:Python NoConfigModuleMixin.close方法的具體用法?Python NoConfigModuleMixin.close怎麽用?Python NoConfigModuleMixin.close使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在module_mixins.NoConfigModuleMixin的用法示例。


在下文中一共展示了NoConfigModuleMixin.close方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
 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)
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:10,代碼來源:glenoidMouldDesign.py

示例2: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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)
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:10,代碼來源:FitEllipsoidToMask.py

示例3: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
 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
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:11,代碼來源:testModule2.py

示例4: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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)
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:12,代碼來源:imageBacktracker.py

示例5: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:13,代碼來源:imageGradientStructureTensor.py

示例6: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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)
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:15,代碼來源:transform2D.py

示例7: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:15,代碼來源:discreteLaplacian.py

示例8: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:17,代碼來源:probeFilter.py

示例9: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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
開發者ID:sanguinariojoe,項目名稱:devide,代碼行數:19,代碼來源:meshMarkerWatershed.py

示例10: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
    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
開發者ID:sanguinariojoe,項目名稱:devide,代碼行數:21,代碼來源:modifyHomotopy.py

示例11: close

# 需要導入模塊: from module_mixins import NoConfigModuleMixin [as 別名]
# 或者: from module_mixins.NoConfigModuleMixin import close [as 別名]
 def close(self):
     NoConfigModuleMixin.close(self)
     del self._image_data_streamer
     del self._poly_data_streamer
開發者ID:fvpolpeta,項目名稱:devide,代碼行數:6,代碼來源:StreamerVTK.py


注:本文中的module_mixins.NoConfigModuleMixin.close方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。