code: def restoreTransform(self, tr):
      try:
          self.userTransform = SRTTransform(tr)
          self.updateTransform()
  
          self.selectBoxFromUser()  ## move select box to match
          self.sigTransformChanged.emit(self)
          self.sigTransformChangeFinished.emit(self)
      except:
          self.userTransform = SRTTransform()
          debug.printExc("Failed to load transform:")
  
imports: import importlib
  from ..None import ItemGroup, SRTTransform, debug
  from ..None import functions
  from ..graphicsItems.ROI import ROI
  from ..Qt import QT_LIB, QtCore, QtWidgets
  from .None import TransformGuiTemplate_generic
label_desc: Use image node_id 32 for calling the CanvasItem obj's underlying member method code with example usage: obj.restoreTransform(tr) without return types