------------------------------------------------------------------------------
| 1074 | |
| 1075 | //------------------------------------------------------------------------------ |
| 1076 | void vtkCellArray::UseFixedSize32BitStorage(vtkIdType cellSize) |
| 1077 | { |
| 1078 | if (this->IsStorageFixedSize32Bit() && |
| 1079 | this->GetOffsetsAffineArray32()->GetBackend()->Slope == cellSize) |
| 1080 | { |
| 1081 | this->Initialize(); |
| 1082 | return; |
| 1083 | } |
| 1084 | this->Offsets = vtkSmartPointer<AffineArray32>::New(); |
| 1085 | this->GetOffsetsAffineArray32()->ConstructBackend(cellSize, 0); |
| 1086 | this->Connectivity = vtkSmartPointer<AOSArray32>::New(); |
| 1087 | this->GetOffsetsAffineArray32()->InsertNextValue(0); |
| 1088 | this->StorageType = StorageTypes::FixedSizeInt32; |
| 1089 | this->Modified(); |
| 1090 | } |
| 1091 | |
| 1092 | //------------------------------------------------------------------------------ |
| 1093 | void vtkCellArray::UseFixedSize64BitStorage(vtkIdType cellSize) |