class_docstr: Lighting interpolation types.
  
  Attributes
  ----------
  FLAT : (int, str)
      Flat interpolation type.
  GOURAUD : (int, str)
      Gouraud interpolation type.
  PHONG : (int, str)
      Phong interpolation type.
  PBR : (int, str)
      Physically based rendering interpolation type.
docstr: Create from string.
  
  Create an instance of InterpolationType from a string.
  
  Parameters
  ----------
  input_str : str
      The string representation of the interpolation type.  Accepts
      aliases such as ``'pbr'`` for ``'Physically based rendering'``.
  
  Returns
  -------
  InterpolationType
      Interpolation type as defined by the input string.
docstr_tok: ["Create","from","string",".","Create","an","instance","of","InterpolationType","from","a","string",".","Parameters","--","--","--","--","--","input_str",":","str","The","string","representation","of","the","interpolation","type",".","Accepts","aliases","such","as","``","'pbr","'","``","for","``","'Physically","based","rendering","'","``",".","Returns","--","--","--","-","InterpolationType","Interpolation","type","as","defined","by","the","input","string","."]
code: def from_str(cls, input_str):
      """Create from string.
  
      Create an instance of InterpolationType from a string.
  
      Parameters
      ----------
      input_str : str
          The string representation of the interpolation type.  Accepts
          aliases such as ``'pbr'`` for ``'Physically based rendering'``.
  
      Returns
      -------
      InterpolationType
          Interpolation type as defined by the input string.
  
      """
      aliases = {
          "pbr": "Physically based rendering",
      }
      if input_str in aliases:
          input_str = aliases[input_str]
      return super().from_str(input_str)
  
file_path: pyvista/pyvista/plotting/opts.py
imports: from pyvista.core.utilities.misc import AnnotatedIntEnum
label_desc: Use image node_id 1 for calling the InterpolationType obj's underlying member method code with example usage: obj.from_str(cls, input_str) and returns: super