------------------------------------------------------------------------------
| 91 | |
| 92 | //------------------------------------------------------------------------------ |
| 93 | vtkBitArray::ValueType* vtkBitArray::WritePointer(vtkIdType id, vtkIdType number) |
| 94 | { |
| 95 | vtkIdType newSize = id + number; |
| 96 | if (newSize > this->Size) |
| 97 | { |
| 98 | this->ResizeAndExtend(newSize); |
| 99 | } |
| 100 | if ((--newSize) > this->MaxId) |
| 101 | { |
| 102 | this->MaxId = newSize; |
| 103 | this->InitializeUnusedBitsInLastByte(); |
| 104 | } |
| 105 | this->DataChanged(); |
| 106 | return this->Array + id / 8; |
| 107 | } |
| 108 | |
| 109 | //------------------------------------------------------------------------------ |
| 110 | // This method lets the user specify data to be held by the array. The |
nothing calls this directly
no test coverage detected