public void PerformRasterPyramids(RasterPyramidManager.PyramidRasterTypes ePyramidRasterType, FileInfo rasterPath) { if (PyramidTypes.ContainsKey(ePyramidRasterType) && PyramidTypes[ePyramidRasterType]) { if (rasterPath.Exists) { GCDConsoleLib.RasterOperators.BuildPyramids(rasterPath); } } }
private void PerformRasterPyramids(System.IO.FileInfo sRasterPath) { RasterPyramidManager.PyramidRasterTypes ePyramidRasterType = default(RasterPyramidManager.PyramidRasterTypes); switch (Purpose) { case Purposes.FirstDEM: case Purposes.SubsequentDEM: ePyramidRasterType = RasterPyramidManager.PyramidRasterTypes.DEM; break; case Purposes.AssociatedSurface: ePyramidRasterType = RasterPyramidManager.PyramidRasterTypes.AssociatedSurfaces; break; } ProjectManager.PyramidManager.PerformRasterPyramids(ePyramidRasterType, sRasterPath); }
public PyramidRasterTypeDisplay(RasterPyramidManager.PyramidRasterTypes eRasterType) { m_eRasterType = eRasterType; m_sName = Project.ProjectManager.PyramidManager.GetRasterTypeName(eRasterType); }