class_docstr: Extension of QMatrix4x4 with some helpful methods added.
docstr: Extends QMatrix4x4.map() to allow mapping (3, ...) arrays of coordinates
docstr_tok: ["Extends","QMatrix4x4.map","(",")","to","allow","mapping","(","3",",","...",")","arrays","of","coordinates"]
code: def map(self, obj):
      """
      Extends QMatrix4x4.map() to allow mapping (3, ...) arrays of coordinates
      """
      if isinstance(obj, np.ndarray) and obj.shape[0] in (2, 3):
          if obj.ndim >= 2:
              return fn.transformCoordinates(self, obj)
          elif obj.ndim == 1:
              v = QtGui.QMatrix4x4.map(self, Vector(obj))
              return np.array([v.x(), v.y(), v.z()])[: obj.shape[0]]
      elif isinstance(obj, (list, tuple)):
          v = QtGui.QMatrix4x4.map(self, Vector(obj))
          return type(obj)([v.x(), v.y(), v.z()])[: len(obj)]
      else:
          return QtGui.QMatrix4x4.map(self, obj)
  
file_path: pyqtgraph/pyqtgraph/Transform3D.py
imports: import numpy
  from .None import functions
  from .Qt import QtGui
  from .Vector import Vector
label_desc: Use image node_id 3 for calling the Transform3D obj's underlying member method code with example usage: obj.map(obj) and returns: fn, type, QtGui, np