2017-05-15 09:04:11 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
2017-05-16 07:50:54 -05:00
|
|
|
// Copyright (C) 2017 Statoil ASA
|
2017-05-15 09:04:11 -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.
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-05-30 08:00:14 -05:00
|
|
|
#include "RifEclipseDataTableFormatter.h"
|
2017-05-19 04:28:02 -05:00
|
|
|
|
|
|
|
#include "RigWellLogExtractionTools.h"
|
2017-05-29 06:13:25 -05:00
|
|
|
#include "RigWellPathIntersectionTools.h"
|
|
|
|
#include "RigCompletionData.h"
|
2017-05-15 09:04:11 -05:00
|
|
|
|
2017-05-30 07:37:51 -05:00
|
|
|
#include "RicExportCompletionDataSettingsUi.h"
|
2017-05-19 09:45:07 -05:00
|
|
|
|
2017-05-15 09:04:11 -05:00
|
|
|
#include "cafCmdFeature.h"
|
|
|
|
|
|
|
|
#include "cvfBoundingBox.h"
|
|
|
|
|
2017-05-19 04:28:02 -05:00
|
|
|
|
2017-10-13 02:29:42 -05:00
|
|
|
class RigCell;
|
2017-05-15 09:04:11 -05:00
|
|
|
class RigEclipseCaseData;
|
|
|
|
class RigMainGrid;
|
2017-10-13 02:29:42 -05:00
|
|
|
class RimEclipseCase;
|
2017-05-19 04:28:02 -05:00
|
|
|
class RimFishbonesMultipleSubs;
|
2017-10-13 02:29:42 -05:00
|
|
|
class RimSimWellInView;
|
|
|
|
class RimWellPath;
|
2017-05-19 04:28:02 -05:00
|
|
|
|
2017-05-15 09:04:11 -05:00
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
2017-05-16 07:50:54 -05:00
|
|
|
class RicWellPathExportCompletionDataFeature : public caf::CmdFeature
|
2017-05-15 09:04:11 -05:00
|
|
|
{
|
|
|
|
CAF_CMD_HEADER_INIT;
|
|
|
|
|
2018-01-30 11:41:29 -06:00
|
|
|
protected:
|
2017-05-15 09:04:11 -05:00
|
|
|
virtual bool isCommandEnabled() override;
|
|
|
|
virtual void onActionTriggered(bool isChecked) override;
|
|
|
|
virtual void setupActionLook(QAction* actionToSetup) override;
|
|
|
|
|
2018-01-31 00:42:19 -06:00
|
|
|
private:
|
|
|
|
std::vector<RimWellPath*> selectedWellPaths();
|
|
|
|
std::vector<RimSimWellInView*> selectedSimWells();
|
|
|
|
|
|
|
|
bool noWellPathsSelectedDirectly();
|
|
|
|
};
|
|
|
|
|
|
|
|
|