class_docstr: PyVista wrapper for the VTK Camera class.
  
  Parameters
  ----------
  renderer : pyvista.Renderer, optional
      Renderer to attach the camera to.
  
  Examples
  --------
  Create a camera at the pyvista module level.
  
  >>> import pyvista as pv
  >>> camera = pv.Camera()
  
  Access the active camera of a plotter and get the position of the
  camera.
  
  >>> pl = pv.Plotter()
  >>> pl.camera.position
  (1.0, 1.0, 1.0)
class_docstr_tok: ["PyVista","wrapper","for","the","VTK","Camera","class",".","Parameters","--","--","--","--","--","renderer",":","pyvista.Renderer",",","optional","Renderer","to","attach","the","camera","to",".","Examples","--","--","--","--","Create","a","camera","at","the","pyvista","module","level",".",">",">",">","import","pyvista","as","pv",">",">",">","camera","=","pv.Camera","(",")","Access","the","active","camera","of","a","plotter","and","get","the","position","of","the","camera",".",">",">",">","pl","=","pv.Plotter","(",")",">",">",">","pl.camera.position","(","1.0",",","1.0",",","1.0",")"]
docstr: Get the view frustum.
  
  Parameters
  ----------
  aspect : float, default: 1.0
      The aspect of the viewport to compute the planes.
  
  Returns
  -------
  pyvista.PolyData
      View frustum.
  
  Examples
  --------
  >>> import pyvista as pv
  >>> plotter = pv.Plotter()
  >>> frustum = plotter.camera.view_frustum(1.0)
  >>> frustum.n_points
  8
  >>> frustum.n_cells
  6
code: def view_frustum(self, aspect=1.0):
      """Get the view frustum.
  
      Parameters
      ----------
      aspect : float, default: 1.0
          The aspect of the viewport to compute the planes.
  
      Returns
      -------
      pyvista.PolyData
          View frustum.
  
      Examples
      --------
      >>> import pyvista as pv
      >>> plotter = pv.Plotter()
      >>> frustum = plotter.camera.view_frustum(1.0)
      >>> frustum.n_points
      8
      >>> frustum.n_cells
      6
  
      """
      frustum_planes = [0] * 24
      self.GetFrustumPlanes(aspect, frustum_planes)
      planes = _vtk.vtkPlanes()
      planes.SetFrustumPlanes(frustum_planes)
  
      frustum_source = _vtk.vtkFrustumSource()
      frustum_source.ShowLinesOff()
      frustum_source.SetPlanes(planes)
      frustum_source.Update()
  
      frustum = pyvista.wrap(frustum_source.GetOutput())
      return frustum
  
imports: from __future__ import annotations
  from pathlib import Path
  from typing import Union
  from weakref import proxy
  import xml.dom.minidom
  from xml.etree import ElementTree
  import numpy
  import pyvista
  from .None import _vtk
  from .helpers import view_vectors
label_desc: Use image node_id 34 for calling the Camera obj's underlying member method code with example usage: obj.view_frustum(aspect) and returns: frustum