2012-05-18 02:45:23 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2011-2012 Statoil ASA, Ceetron AS
|
2018-01-19 05:28:12 -06:00
|
|
|
//
|
2012-05-18 02:45:23 -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.
|
2018-01-19 05:28:12 -06:00
|
|
|
//
|
2012-05-18 02:45:23 -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.
|
2018-01-19 05:28:12 -06:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2012-05-18 02:45:23 -05:00
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cvfCollection.h"
|
2015-11-17 10:19:25 -06:00
|
|
|
#include "cvfVector3.h"
|
2012-05-18 02:45:23 -05:00
|
|
|
|
2017-02-24 06:34:25 -06:00
|
|
|
#include "cafPdmPointer.h"
|
|
|
|
|
2015-09-25 08:57:43 -05:00
|
|
|
namespace cvf
|
|
|
|
{
|
2018-01-19 05:28:12 -06:00
|
|
|
class Transform;
|
|
|
|
class ModelBasicList;
|
|
|
|
} // namespace cvf
|
2015-09-25 08:57:43 -05:00
|
|
|
|
2015-05-21 03:05:33 -05:00
|
|
|
class RimEclipseView;
|
2017-01-03 03:09:57 -06:00
|
|
|
class RivSimWellPipesPartMgr;
|
2012-06-26 09:10:41 -05:00
|
|
|
class RivWellHeadPartMgr;
|
2017-03-13 05:35:49 -05:00
|
|
|
class RivWellSpheresPartMgr;
|
2020-02-03 05:20:35 -06:00
|
|
|
class RivWellDiskPartMgr;
|
2017-03-14 13:21:55 -05:00
|
|
|
class RivWellConnectionsPartMgr;
|
2012-05-18 02:45:23 -05:00
|
|
|
|
2018-01-19 05:28:12 -06:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
///
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
2017-03-13 05:05:46 -05:00
|
|
|
class RivReservoirSimWellsPartMgr : public cvf::Object
|
2012-05-18 02:45:23 -05:00
|
|
|
{
|
|
|
|
public:
|
2019-09-06 03:40:57 -05:00
|
|
|
explicit RivReservoirSimWellsPartMgr( RimEclipseView* reservoirView );
|
2018-10-18 12:45:57 -05:00
|
|
|
~RivReservoirSimWellsPartMgr() override;
|
2012-05-18 02:45:23 -05:00
|
|
|
|
2013-04-12 02:20:40 -05:00
|
|
|
void clearGeometryCache();
|
2012-05-18 02:45:23 -05:00
|
|
|
void scheduleGeometryRegen();
|
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
void setScaleTransform( cvf::Transform* scaleTransform );
|
2013-04-12 02:20:40 -05:00
|
|
|
|
2019-09-06 03:40:57 -05:00
|
|
|
void appendDynamicGeometryPartsToModel( cvf::ModelBasicList* model, size_t frameIndex );
|
|
|
|
void updatePipeResultColor( size_t frameIndex );
|
2012-05-18 02:45:23 -05:00
|
|
|
|
|
|
|
private:
|
2018-01-19 05:28:12 -06:00
|
|
|
caf::PdmPointer<RimEclipseView> m_reservoirView;
|
|
|
|
cvf::ref<cvf::Transform> m_scaleTransform;
|
2017-03-13 05:35:49 -05:00
|
|
|
|
2018-01-19 05:28:12 -06:00
|
|
|
cvf::Collection<RivSimWellPipesPartMgr> m_wellPipesPartMgrs;
|
|
|
|
cvf::Collection<RivWellHeadPartMgr> m_wellHeadPartMgrs;
|
|
|
|
cvf::Collection<RivWellSpheresPartMgr> m_wellSpheresPartMgrs;
|
2020-02-03 05:20:35 -06:00
|
|
|
cvf::Collection<RivWellDiskPartMgr> m_wellDiskPartMgrs;
|
2018-01-19 05:28:12 -06:00
|
|
|
cvf::Collection<RivWellConnectionsPartMgr> m_wellConnPartMgrs;
|
2012-05-18 02:45:23 -05:00
|
|
|
};
|