code: def transform(self, shape3D, R):
      s = 1.0
      shape3D[:2, :] = shape3D[:2, :]
      shape3D = s * np.dot(R, shape3D)
      return shape3D
  
imports: import os, sys, datetime
  import numpy
  import os.path
  import albumentations
  from albumentations.core.transforms_interface import ImageOnlyTransform
  from .face_analysis import FaceAnalysis
  from ..utils import get_model_dir
  from ..thirdparty import face3d
  from ..data import get_image
  from ..utils import DEFAULT_MP_NAME
  import cv2
label_desc: Use image node_id 3 for calling the MaskRenderer obj's underlying member method code with example usage: obj.transform(shape3D, R) and returns: shape3D