------------------------------------------------------------------------------
| 712 | |
| 713 | //------------------------------------------------------------------------------ |
| 714 | void vtkBitArray::RemoveTuple(vtkIdType id) |
| 715 | { |
| 716 | if (id < 0 || id >= this->GetNumberOfTuples()) |
| 717 | { |
| 718 | // Nothing to be done |
| 719 | return; |
| 720 | } |
| 721 | if (id == this->GetNumberOfTuples() - 1) |
| 722 | { |
| 723 | // To remove last item, just decrease the size by one |
| 724 | this->RemoveLastTuple(); |
| 725 | return; |
| 726 | } |
| 727 | this->DataChanged(); |
| 728 | vtkErrorMacro("Not yet implemented..."); |
| 729 | } |
| 730 | |
| 731 | //------------------------------------------------------------------------------ |
| 732 | void vtkBitArray::RemoveFirstTuple() |