------------------------------------------------------------------------------
| 2896 | |
| 2897 | //------------------------------------------------------------------------------ |
| 2898 | void vtkMPASReader::SetDimensionCurrentIndex(const std::string& dim, int idx) |
| 2899 | { |
| 2900 | this->UpdateDimensions(); |
| 2901 | |
| 2902 | typedef Internal::DimMetaDataMap::iterator Iter; |
| 2903 | Iter it = this->Internals->dimMetaDataMap.find(dim); |
| 2904 | if (it != this->Internals->dimMetaDataMap.end() && static_cast<size_t>(idx) < it->second.dimSize) |
| 2905 | { |
| 2906 | it->second.curIdx = idx; |
| 2907 | this->Modified(); |
| 2908 | } |
| 2909 | } |
| 2910 | |
| 2911 | //------------------------------------------------------------------------------ |
| 2912 | int vtkMPASReader::GetDimensionSize(const std::string& dim) |
no test coverage detected