Change how sampling resolution is specified in statistics contourmap ui

This commit is contained in:
jonjenssen
2025-01-15 20:44:20 +01:00
committed by jonjenssen
parent b999faf293
commit 15428304be
6 changed files with 117 additions and 17 deletions

View File

@@ -0,0 +1,35 @@
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2025 Equinor ASA
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
class RimContourMapResolutionTools
{
public:
enum class SamplingResolution
{
EXTRA_FINE,
FINE,
BASE,
COARSE,
EXTRA_COARSE
};
static double resolutionFromEnumValue( RimContourMapResolutionTools::SamplingResolution resEnumVal );
private:
RimContourMapResolutionTools(){};
};