parameters: (self, event)
docstring: Rotates the scene (camera).
docstring_summary: Rotates the scene (camera).
docstring_tokens: Rotates the scene ( camera ) .
function: def Rotate(self, event):
          """Rotates the scene (camera).
          """
          if self._CurrentRenderer:
              x = event.GetX()
              y = event.GetY()
  
              self._CurrentCamera.Azimuth(self._LastX - x)
              self._CurrentCamera.Elevation(y - self._LastY)
              self._CurrentCamera.OrthogonalizeViewUp()
  
              self._LastX = x
              self._LastY = y
  
              self._CurrentRenderer.ResetCameraClippingRange()
              self.Render()
function_tokens: def Rotate ( self , event ) : if self . _CurrentRenderer : x = event . GetX ( ) y = event . GetY ( ) self . _CurrentCamera . Azimuth ( self . _LastX - x ) self . _CurrentCamera . Elevation ( y - self . _LastY ) self . _CurrentCamera . OrthogonalizeViewUp ( ) self . _LastX = x self . _LastY = y self . _CurrentRenderer . ResetCameraClippingRange ( ) self . Render ( )