AutoMovie API
    Preparing search index...

    Function parseAutoMovieInspectionView

    • Read one inspection view from its text, the form a page address, a command line and a capture plan all write.

      Text View
      film The subject's own delivery camera, unchanged
      x,y,z:tx,ty,tz A fixed camera at the first point looking at the second, in world metres, with the subject's lens and world +Y up
      x,y,z:tx,ty,tz@ortho=<m> The same fixed camera, orthographic, <m> metres of world per picture pixel
      x,y,z:tx,ty,tz@up=ux,uy,uz The same fixed camera with that up direction, such as a camera looking straight down
      <name> A subject's own view of that name, or a named viewpoint such as front fitted to what is drawn
      <name>@ortho The same fit with an orthographic camera
      <name>@follow The same fit made at each drawn second alone instead of over every second a capture plans
      <name>@focus=<pattern> The same fit framing only the drawn objects and marks the path pattern selects
      <name>@flagged The same fit framing only the drawn flagged marks

      Switches may be combined in any order, such as three-quarter@ortho@focus=hero/torso or 0,1,4:0,1,0@ortho=0.004@up=0,0,-1. A name holds no @, :, ;, , or space. Whether a name exists is decided by resolveAutoMovieInspectionView, which knows the subject.

      It throws an Error that names the text and lists the accepted forms for empty text, coordinates that are not two finite triples or that coincide, a switch on film, a switch a form does not take (a fit's switches on a fixed camera, @up or a valued @ortho on a name, a bare @ortho on a fixed camera), an unknown or repeated switch, a scale that is not a positive number, an up direction that is not a finite non-zero triple or lies along the line of sight, an empty focus pattern, and a focus pattern beside @flagged.

      const view = parseAutoMovieInspectionView("front@ortho");
      

      Parameters

      • text: string

      Returns IAutoMovieInspectionView