=============================================================================
| 79 | |
| 80 | //============================================================================= |
| 81 | vtkNetCDFCFReader::vtkDimensionInfo::vtkDimensionInfo( |
| 82 | vtkNetCDFAccessor* accessor, int ncFD, int id, const std::vector<std::string>& dimensionName) |
| 83 | { |
| 84 | this->Accessor = accessor; |
| 85 | this->DimId = id; |
| 86 | |
| 87 | this->Units = UNDEFINED_UNITS; |
| 88 | this->HasRegularSpacing = true; |
| 89 | this->Origin = 0.0; |
| 90 | this->Spacing = 1.0; |
| 91 | this->SpecialDimensionOverrideNames = dimensionName; |
| 92 | |
| 93 | this->LoadMetaData(ncFD); |
| 94 | } |
| 95 | |
| 96 | void vtkNetCDFCFReader::vtkDimensionInfo::SetUnitsIfSpecialDimensionOverriden( |
| 97 | vtkDimensionInfo::UnitsEnum unit, const char* name) |
nothing calls this directly
no test coverage detected