本文整理汇总了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)
示例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)
示例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
示例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)
示例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
示例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)
示例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
示例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
示例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
示例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
示例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