当前位置: 首页>>代码示例>>Python>>正文


Python VisualizationModule.__set_pure_state__方法代码示例

本文整理汇总了Python中Visualizer.VisualizationModules.VisualizationModule.__set_pure_state__方法的典型用法代码示例。如果您正苦于以下问题:Python VisualizationModule.__set_pure_state__方法的具体用法?Python VisualizationModule.__set_pure_state__怎么用?Python VisualizationModule.__set_pure_state__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Visualizer.VisualizationModules.VisualizationModule的用法示例。


在下文中一共展示了VisualizationModule.__set_pure_state__方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __set_pure_state__

# 需要导入模块: from Visualizer.VisualizationModules import VisualizationModule [as 别名]
# 或者: from Visualizer.VisualizationModules.VisualizationModule import __set_pure_state__ [as 别名]
	def __set_pure_state__(self, state):
		"""
		Set the state of the light
		"""        
		VisualizationModule.__set_pure_state__(self, state)
		self.parameters = state.parameters
		self.sendUpdateGUI()
开发者ID:chalkie666,项目名称:bioimagexd-svn-import-from-sourceforge,代码行数:9,代码来源:CutWidget.py

示例2: __set_pure_state__

# 需要导入模块: from Visualizer.VisualizationModules import VisualizationModule [as 别名]
# 或者: from Visualizer.VisualizationModules.VisualizationModule import __set_pure_state__ [as 别名]
	def __set_pure_state__(self, state):
		"""
		Set the state of the light
		"""		   
		self.setVTKState(self.distanceWidget, state.distanceWidget)
		self.setVTKState(self.currentPlane, state.currentPlane)
		self.setVTKState(self.renderer, state.renderer)
		self.setVTKState(self.renderer.GetActiveCamera(), state.camera)
		VisualizationModule.__set_pure_state__(self, state)
开发者ID:chalkie666,项目名称:bioimagexd-svn-import-from-sourceforge,代码行数:11,代码来源:Distance.py

示例3: __set_pure_state__

# 需要导入模块: from Visualizer.VisualizationModules import VisualizationModule [as 别名]
# 或者: from Visualizer.VisualizationModules.VisualizationModule import __set_pure_state__ [as 别名]
	def __set_pure_state__(self, state):
		"""
		Method: __set_pure_state__()
		Set the state of the light
		"""        
		
		self.setVTKState(self.spline, state.spline)
		
		self.setVTKState(self.renderer, state.renderer)
		self.setVTKState(self.renderer.GetActiveCamera(), state.camera)
		VisualizationModule.__set_pure_state__(self, state)
开发者ID:chalkie666,项目名称:bioimagexd-svn-import-from-sourceforge,代码行数:13,代码来源:Spline.py

示例4: __set_pure_state__

# 需要导入模块: from Visualizer.VisualizationModules import VisualizationModule [as 别名]
# 或者: from Visualizer.VisualizationModules.VisualizationModule import __set_pure_state__ [as 别名]
	def __set_pure_state__(self, state):
		"""
		Set the state of the light
		"""        
		self.setVTKState(self.planeWidget, state.planeWidget)
		self.setVTKState(self.currentPlane, state.currentPlane)
		self.setVTKState(self.renderer, state.renderer)
		self.setVTKState(self.renderer.GetActiveCamera(), state.camera)

		self.clipped = state.clipped
		if self.clipped:
			self.clipVolumeRendering(self.planeWidget, None)
		VisualizationModule.__set_pure_state__(self, state)
开发者ID:chalkie666,项目名称:bioimagexd-svn-import-from-sourceforge,代码行数:15,代码来源:ClippingPlane.py

示例5: __set_pure_state__

# 需要导入模块: from Visualizer.VisualizationModules import VisualizationModule [as 别名]
# 或者: from Visualizer.VisualizationModules.VisualizationModule import __set_pure_state__ [as 别名]
	def __set_pure_state__(self, state):
		"""
		Set the state of the light
		"""
		self.setVTKState(self.planeWidgetX, state.planeWidgetX)
		self.setVTKState(self.planeWidgetX, state.planeWidgetY)
		self.setVTKState(self.planeWidgetX, state.planeWidgetZ)
		
		self.setVTKState(self.prop1, state.prop1)
		self.setVTKState(self.prop2, state.prop2)        
		self.setVTKState(self.prop3, state.prop3)       
		
		self.setVTKState(self.renderer, state.renderer)
		self.setVTKState(self.renderer.GetActiveCamera(), state.camera)
		self.x, self.y, self.z = state.x, state.y, state.z
		VisualizationModule.__set_pure_state__(self, state)
开发者ID:chalkie666,项目名称:bioimagexd-svn-import-from-sourceforge,代码行数:18,代码来源:Orthogonal.py


注:本文中的Visualizer.VisualizationModules.VisualizationModule.__set_pure_state__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。