2015-10-15 04:27:12 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2015- Statoil ASA
|
|
|
|
// Copyright (C) 2015- Ceetron Solutions AS
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
2015-10-15 04:27:12 -05:00
|
|
|
// 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.
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
2015-10-15 04:27:12 -05:00
|
|
|
// 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.
|
2019-09-06 03:40:57 -05:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2015-10-15 04:27:12 -05:00
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cafCmdFeature.h"
|
|
|
|
|
2019-10-09 02:21:28 -05:00
|
|
|
#include <QString>
|
|
|
|
|
2015-10-15 04:27:12 -05:00
|
|
|
#include <vector>
|
|
|
|
|
2015-11-04 09:19:38 -06:00
|
|
|
class RimWellLogCurve;
|
2019-10-09 02:21:28 -05:00
|
|
|
class RimWellLogPlot;
|
2015-10-15 04:27:12 -05:00
|
|
|
|
|
|
|
//==================================================================================================
|
2019-09-06 03:40:57 -05:00
|
|
|
///
|
2015-10-15 04:27:12 -05:00
|
|
|
//==================================================================================================
|
|
|
|
class RicExportToLasFileFeature : public caf::CmdFeature
|
|
|
|
{
|
|
|
|
CAF_CMD_HEADER_INIT;
|
|
|
|
|
2019-10-09 02:21:28 -05:00
|
|
|
public:
|
|
|
|
static std::vector<QString> exportToLasFiles( const QString& exportFolder,
|
|
|
|
const QString& filePrefix,
|
2019-10-11 08:54:19 -05:00
|
|
|
const RimWellLogPlot* plotWindow,
|
2020-01-08 07:52:28 -06:00
|
|
|
bool exportTvdRkb,
|
|
|
|
bool capitalizeFileNames,
|
|
|
|
bool alwaysOverwrite,
|
2020-01-29 05:52:07 -06:00
|
|
|
double resampleInterval,
|
|
|
|
bool convertCurveUnits );
|
2019-10-09 02:21:28 -05:00
|
|
|
|
|
|
|
static std::vector<QString> exportToLasFiles( const QString& exportFolder,
|
|
|
|
const QString& filePrefix,
|
|
|
|
std::vector<RimWellLogCurve*> curves,
|
2020-01-08 07:52:28 -06:00
|
|
|
const std::vector<QString>& wellNames,
|
|
|
|
const std::vector<double>& rkbDiffs,
|
|
|
|
bool capitalizeFileNames,
|
|
|
|
bool alwaysOverwrite,
|
2020-01-29 05:52:07 -06:00
|
|
|
double resampleInterval,
|
|
|
|
bool convertCurveUnits );
|
2019-10-09 02:21:28 -05:00
|
|
|
|
2015-10-15 04:27:12 -05:00
|
|
|
protected:
|
2023-06-26 07:28:46 -05:00
|
|
|
bool isCommandEnabled() const override;
|
2018-10-18 12:45:57 -05:00
|
|
|
void onActionTriggered( bool isChecked ) override;
|
|
|
|
void setupActionLook( QAction* actionToSetup ) override;
|
2015-10-15 04:27:12 -05:00
|
|
|
};
|