class_docstr: An internal class to manage filters/algorithms for polydata datasets.
class_docstr_tok: ["An","internal","class","to","manage","filters\/algorithms","for","polydata","datasets","."]
docstr: Strip poly data cells.
  
  Generates triangle strips and/or poly-lines from input
  polygons, triangle strips, and lines.
  
  Polygons are assembled into triangle strips only if they are
  triangles; other types of polygons are passed through to the
  output and not stripped. (Use ``triangulate`` filter to
  triangulate non-triangular polygons prior to running this
  filter if you need to strip all the data.) The filter will
  pass through (to the output) vertices if they are present in
  the input polydata.
  
  Also note that if triangle strips or polylines are defined in
  the input they are passed through and not joined nor
  extended. (If you wish to strip these use ``triangulate``
  filter to fragment the input into triangles and lines prior to
  running this filter.)
  
  This filter implements `vtkStripper
  <https://vtk.org/doc/nightly/html/classvtkStripper.html>`_
  
  Parameters
  ----------
  join : bool, default: False
      If ``True``, the output polygonal segments will be joined
      if they are contiguous. This is useful after slicing a
      surface.
  
  max_length : int, default: 1000
      Specify the maximum number of triangles in a triangle
      strip, and/or the maximum number of lines in a poly-line.
  
  pass_cell_data : bool, default: False
      Enable/Disable passing of the CellData in the input to the
      output as FieldData. Note the field data is transformed.
  
  pass_cell_ids : bool, default: False
      If ``True``, the output polygonal dataset will have a
      celldata array that holds the cell index of the original
      3D cell that produced each output cell. This is useful for
      picking. The default is ``False`` to conserve memory.
  
  pass_point_ids : bool, default: False
      If ``True``, the output polygonal dataset will have a
      pointdata array that holds the point index of the original
      vertex that produced each output vertex. This is useful
      for picking. The default is ``False`` to conserve memory.
  
  progress_bar : bool, default: False
      Display a progress bar to indicate progress.
  
  Returns
  -------
  pyvista.PolyData
      Stripped mesh.
  
  Examples
  --------
  >>> from pyvista import examples
  >>> mesh = examples.load_airplane()
  >>> slc = mesh.slice(normal='z', origin=(0, 0, -10))
  >>> stripped = slc.strip()
  >>> stripped.n_cells
  1
  >>> stripped.plot(show_edges=True, line_width=3)
docstr_tok: ["Strip","poly","data","cells",".","Generates","triangle","strips","and\/or","poly-lines","from","input","polygons",",","triangle","strips",",","and","lines",".","Polygons","are","assembled","into","triangle","strips","only","if","they","are","triangles",";","other","types","of","polygons","are","passed","through","to","the","output","and","not","stripped",".","(","Use","``","triangulate","``","filter","to","triangulate","non-triangular","polygons","prior","to","running","this","filter","if","you","need","to","strip","all","the","data",".",")","The","filter","will","pass","through","(","to","the","output",")","vertices","if","they","are","present","in","the","input","polydata",".","Also","note","that","if","triangle","strips","or","polylines","are","defined","in","the","input","they","are","passed","through","and","not","joined","nor","extended",".","(","If","you","wish","to","strip","these","use","``","triangulate","``","filter","to","fragment","the","input","into","triangles","and","lines","prior","to","running","this","filter",".",")","This","filter","implements","`","vtkStripper","<","https",":","\/\/vtk.org\/doc\/nightly\/html\/classvtkStripper.html",">","`","_","Parameters","--","--","--","--","--","join",":","bool",",","default",":","False","If","``","True","``",",","the","output","polygonal","segments","will","be","joined","if","they","are","contiguous",".","This","is","useful","after","slicing","a","surface",".","max_length",":","int",",","default",":","1000","Specify","the","maximum","number","of","triangles","in","a","triangle","strip",",","and\/or","the","maximum","number","of","lines","in","a","poly-line",".","pass_cell_data",":","bool",",","default",":","False","Enable\/Disable","passing","of","the","CellData","in","the","input","to","the","output","as","FieldData",".","Note","the","field","data","is","transformed",".","pass_cell_ids",":","bool",",","default",":","False","If","``","True","``",",","the","output","polygonal","dataset","will","have","a","celldata","array","that","holds","the","cell","index","of","the","original","3D","cell","that","produced","each","output","cell",".","This","is","useful","for","picking",".","The","default","is","``","False","``","to","conserve","memory",".","pass_point_ids",":","bool",",","default",":","False","If","``","True","``",",","the","output","polygonal","dataset","will","have","a","pointdata","array","that","holds","the","point","index","of","the","original","vertex","that","produced","each","output","vertex",".","This","is","useful","for","picking",".","The","default","is","``","False","``","to","conserve","memory",".","progress_bar",":","bool",",","default",":","False","Display","a","progress","bar","to","indicate","progress",".","Returns","--","--","--","-","pyvista.PolyData","Stripped","mesh",".","Examples","--","--","--","--",">",">",">","from","pyvista","import","examples",">",">",">","mesh","=","examples.load_airplane","(",")",">",">",">","slc","=","mesh.slice","(","normal=","'","z","'",",","origin=","(","0",",","0",",","-10",")",")",">",">",">","stripped","=","slc.strip","(",")",">",">",">","stripped.n_cells","1",">",">",">","stripped.plot","(","show_edges=True",",","line_width=3",")"]
code: def strip(
      self,
      join=False,
      max_length=1000,
      pass_cell_data=False,
      pass_cell_ids=False,
      pass_point_ids=False,
      progress_bar=False,
  ):
      """Strip poly data cells.
  
      Generates triangle strips and/or poly-lines from input
      polygons, triangle strips, and lines.
  
      Polygons are assembled into triangle strips only if they are
      triangles; other types of polygons are passed through to the
      output and not stripped. (Use ``triangulate`` filter to
      triangulate non-triangular polygons prior to running this
      filter if you need to strip all the data.) The filter will
      pass through (to the output) vertices if they are present in
      the input polydata.
  
      Also note that if triangle strips or polylines are defined in
      the input they are passed through and not joined nor
      extended. (If you wish to strip these use ``triangulate``
      filter to fragment the input into triangles and lines prior to
      running this filter.)
  
      This filter implements `vtkStripper
      <https://vtk.org/doc/nightly/html/classvtkStripper.html>`_
  
      Parameters
      ----------
      join : bool, default: False
          If ``True``, the output polygonal segments will be joined
          if they are contiguous. This is useful after slicing a
          surface.
  
      max_length : int, default: 1000
          Specify the maximum number of triangles in a triangle
          strip, and/or the maximum number of lines in a poly-line.
  
      pass_cell_data : bool, default: False
          Enable/Disable passing of the CellData in the input to the
          output as FieldData. Note the field data is transformed.
  
      pass_cell_ids : bool, default: False
          If ``True``, the output polygonal dataset will have a
          celldata array that holds the cell index of the original
          3D cell that produced each output cell. This is useful for
          picking. The default is ``False`` to conserve memory.
  
      pass_point_ids : bool, default: False
          If ``True``, the output polygonal dataset will have a
          pointdata array that holds the point index of the original
          vertex that produced each output vertex. This is useful
          for picking. The default is ``False`` to conserve memory.
  
      progress_bar : bool, default: False
          Display a progress bar to indicate progress.
  
      Returns
      -------
      pyvista.PolyData
          Stripped mesh.
  
      Examples
      --------
      >>> from pyvista import examples
      >>> mesh = examples.load_airplane()
      >>> slc = mesh.slice(normal='z', origin=(0, 0, -10))
      >>> stripped = slc.strip()
      >>> stripped.n_cells
      1
      >>> stripped.plot(show_edges=True, line_width=3)
  
      """
      alg = _vtk.vtkStripper()
      alg.SetInputDataObject(self)
      alg.SetJoinContiguousSegments(join)
      alg.SetMaximumLength(max_length)
      alg.SetPassCellDataAsFieldData(pass_cell_data)
      alg.SetPassThroughCellIds(pass_cell_ids)
      alg.SetPassThroughPointIds(pass_point_ids)
      _update_alg(alg, progress_bar, "Stripping Mesh")
      return _get_output(alg)
  
imports: import collections.abc
  import warnings
  import numpy
  import pyvista
  from pyvista.core import _vtk_core
  from pyvista.core.errors import MissingDataError, NotAllTrianglesError, PyVistaFutureWarning, VTKVersionError
  from pyvista.core.filters import _get_output, _update_alg
  from pyvista.core.filters.data_set import DataSetFilters
  from pyvista.core.utilities.arrays import FieldAssociation, get_array, get_array_association, set_default_active_scalars, vtk_id_list_to_array
  from pyvista.core.utilities.geometric_objects import NORMALS
  from pyvista.core.utilities.helpers import generate_plane, wrap
  from pyvista.core.utilities.misc import abstract_class, assert_empty_kwargs
label_desc: Use image node_id 40 for calling the PolyDataFilters obj's underlying member method code with example usage: obj.strip(join, max_length, pass_cell_data, pass_cell_ids, pass_point_ids, progress_bar) and returns: _get_output