本文整理汇总了Python中module_mixins.ScriptedConfigModuleMixin.close方法的典型用法代码示例。如果您正苦于以下问题:Python ScriptedConfigModuleMixin.close方法的具体用法?Python ScriptedConfigModuleMixin.close怎么用?Python ScriptedConfigModuleMixin.close使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类module_mixins.ScriptedConfigModuleMixin
的用法示例。
在下文中一共展示了ScriptedConfigModuleMixin.close方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
ScriptedConfigModuleMixin.close(self)
# get rid of our reference
del self._icp
ModuleBase.close(self)
示例2: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
# we should disconnect all inputs
self.set_input(0, None)
del self._writer
# deinit our mixins
ScriptedConfigModuleMixin.close(self)
ModuleBase.close(self)
示例3: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin 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 GUI
ScriptedConfigModuleMixin.close(self)
示例4: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
self.set_input(0, None)
self.set_input(1, None)
ScriptedConfigModuleMixin.close(self)
ModuleBase.close(self)
del self._histogram
示例5: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
# this will take care of all display thingies
ScriptedConfigModuleMixin.close(self)
ModuleBase.close(self)
# get rid of our reference
del self._reader
示例6: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
# this will take care of all display thingies
ScriptedConfigModuleMixin.close(self)
# and the baseclass close
ModuleBase.close(self)
# remove all bindings
del self._gaussianKernel
示例7: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
ScriptedConfigModuleMixin.close(self)
# get rid of our reference
del self._image_threshold
self._seed_connect.SetInput(None)
del self._seed_connect
ModuleBase.close(self)
示例8: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin 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)
# don't forget to call the close() method of the vtkPipeline mixin
ScriptedConfigModuleMixin.close(self)
ModuleBase.close(self)
# get rid of our reference
del self._polyDataConnect
示例9: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin 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
ScriptedConfigModuleMixin.close(self)
# get rid of our reference
del self._reslicer
del self._probefilter
del self._padder
示例10: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin 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
ScriptedConfigModuleMixin.close(self)
# get rid of our reference
del self._imageMedian3D
示例11: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin 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
ScriptedConfigModuleMixin.close(self)
# and the baseclass close
ModuleBase.close(self)
del self._inputData
示例12: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin 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)
# this will take care of all display thingies
ScriptedConfigModuleMixin.close(self)
ModuleBase.close(self)
# get rid of our reference
del self._contourFilter
示例13: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin 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 GUI
ScriptedConfigModuleMixin.close(self)
# get rid of our reference
del self._volume_property
del self._volume_raycast_function
del self._volume_mapper
del self._volume
示例14: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
self._destroyITKPipeline()
ScriptedConfigModuleMixin.close(self)
ModuleBase.close(self)
示例15: close
# 需要导入模块: from module_mixins import ScriptedConfigModuleMixin [as 别名]
# 或者: from module_mixins.ScriptedConfigModuleMixin import close [as 别名]
def close(self):
ScriptedConfigModuleMixin.close(self)
ModuleBase.close(self)
del self._writer