Ejemplo n.º 1
0
	def __set_pure_state__(self, state):
		"""
		Set the state of the light
		"""        
		VisualizationModule.__set_pure_state__(self, state)
		self.parameters = state.parameters
		self.sendUpdateGUI()
	def __set_pure_state__(self, state):
		"""
		Set the state of the light
		"""        
		VisualizationModule.__set_pure_state__(self, state)
		self.parameters = state.parameters
		self.sendUpdateGUI()
Ejemplo n.º 3
0
	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)
Ejemplo n.º 4
0
    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)
	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)
	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)
Ejemplo n.º 7
0
    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)
Ejemplo n.º 8
0
    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)
	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)