2018-03-14 03:35:48 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
2019-01-09 08:21:38 -06:00
|
|
|
// Copyright (C) 2018- Equinor ASA
|
2018-03-14 03:35:48 -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
|
|
|
|
|
|
|
|
#include "cvfObject.h"
|
|
|
|
|
|
|
|
#include "cafPdmPointer.h"
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace cvf
|
|
|
|
{
|
|
|
|
class ModelBasicList;
|
|
|
|
} // namespace cvf
|
|
|
|
|
|
|
|
class RimWellPath;
|
|
|
|
class RimVirtualPerforationResults;
|
2018-03-15 15:25:54 -05:00
|
|
|
class RivWellConnectionFactorGeometryGenerator;
|
2018-03-15 13:09:23 -05:00
|
|
|
|
2018-03-14 03:35:48 -05:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
///
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2018-03-15 15:25:54 -05:00
|
|
|
class RivWellConnectionFactorPartMgr : public cvf::Object
|
2018-03-14 03:35:48 -05:00
|
|
|
{
|
|
|
|
public:
|
2019-09-06 03:40:57 -05:00
|
|
|
RivWellConnectionFactorPartMgr( RimWellPath* well, RimVirtualPerforationResults* virtualPerforationResult );
|
2018-10-18 12:45:57 -05:00
|
|
|
~RivWellConnectionFactorPartMgr() override;
|
2018-03-14 03:35:48 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
void appendDynamicGeometryPartsToModel( cvf::ModelBasicList* model, size_t frameIndex );
|
2018-03-14 03:35:48 -05:00
|
|
|
|
|
|
|
private:
|
2018-04-19 13:20:57 -05:00
|
|
|
caf::PdmPointer<RimWellPath> m_rimWellPath;
|
2018-03-14 03:35:48 -05:00
|
|
|
caf::PdmPointer<RimVirtualPerforationResults> m_virtualPerforationResult;
|
2018-03-15 15:25:54 -05:00
|
|
|
|
|
|
|
cvf::ref<RivWellConnectionFactorGeometryGenerator> m_geometryGenerator;
|
2018-03-14 03:35:48 -05:00
|
|
|
};
|