MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkDimensionInfo

Method vtkDimensionInfo

IO/NetCDF/vtkNetCDFCFReader.cxx:81–94  ·  view source on GitHub ↗

=============================================================================

Source from the content-addressed store, hash-verified

79
80//=============================================================================
81vtkNetCDFCFReader::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
96void vtkNetCDFCFReader::vtkDimensionInfo::SetUnitsIfSpecialDimensionOverriden(
97 vtkDimensionInfo::UnitsEnum unit, const char* name)

Callers

nothing calls this directly

Calls 1

LoadMetaDataMethod · 0.95

Tested by

no test coverage detected