vtkBitArray

Section: Visualization Toolkit Common Classes

Usage

vtkBitArray is an array of bits (0/1 data value). The array is packed so that each byte stores eight bits. vtkBitArray provides methods for insertion and retrieval of bits, and will automatically resize itself to hold new data.

To create an instance of class vtkBitArray, simply invoke its constructor as follows

  obj = vtkBitArray

Methods

The class vtkBitArray has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkBitArray class.