------------------------------------------------------------------------------
| 1091 | |
| 1092 | //------------------------------------------------------------------------------ |
| 1093 | void vtkCellArray::UseFixedSize64BitStorage(vtkIdType cellSize) |
| 1094 | { |
| 1095 | if (this->IsStorageFixedSize64Bit() && |
| 1096 | this->GetOffsetsAffineArray64()->GetBackend()->Slope == cellSize) |
| 1097 | { |
| 1098 | this->Initialize(); |
| 1099 | return; |
| 1100 | } |
| 1101 | this->Offsets = vtkSmartPointer<AffineArray64>::New(); |
| 1102 | this->GetOffsetsAffineArray64()->ConstructBackend(cellSize, 0); |
| 1103 | this->Connectivity = vtkSmartPointer<AOSArray64>::New(); |
| 1104 | this->GetOffsetsAffineArray64()->InsertNextValue(0); |
| 1105 | this->StorageType = StorageTypes::FixedSizeInt64; |
| 1106 | this->Modified(); |
| 1107 | } |
| 1108 | |
| 1109 | //------------------------------------------------------------------------------ |
| 1110 | void vtkCellArray::UseFixedSizeDefaultStorage(vtkIdType cellSize) |