parameters: (self, result)
docstring: Set the active result object for interaction.
docstring_summary: Set the active result object for interaction.
docstring_tokens: Set the active result object for interaction .
function: def setActive(self, result):
          """
          Set the active result object for interaction.
          """
          if result not in self._results:
              mooseutils.mooseError("The active result must be added to the RendererWindow prior to "
                                    "setting it as active.")
              return
  
          self.__active = result
          if self.__vtkinteractor:
              self.__vtkinteractor.GetInteractorStyle().SetDefaultRenderer(result.getVTKRenderer())
function_tokens: def setActive ( self , result ) : if result not in self . _results : mooseutils . mooseError ( "The active result must be added to the RendererWindow prior to " "setting it as active." ) return self . __active = result if self . __vtkinteractor : self . __vtkinteractor . GetInteractorStyle ( ) . SetDefaultRenderer ( result . getVTKRenderer ( ) )