2012-05-18 02:45:23 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2011-2012 Statoil ASA, Ceetron AS
|
|
|
|
//
|
|
|
|
// 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-02-24 06:42:07 -06:00
|
|
|
#include "cvfBase.h"
|
2012-05-18 02:45:23 -05:00
|
|
|
#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
|
|
|
|
{
|
|
|
|
class Transform;
|
|
|
|
class ModelBasicList;
|
|
|
|
}
|
|
|
|
|
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;
|
2017-03-14 13:21:55 -05:00
|
|
|
class RivWellConnectionsPartMgr;
|
2012-05-18 02:45:23 -05:00
|
|
|
|
2017-03-13 05:05:46 -05:00
|
|
|
class RivReservoirSimWellsPartMgr : public cvf::Object
|
2012-05-18 02:45:23 -05:00
|
|
|
{
|
|
|
|
public:
|
2017-03-13 05:05:46 -05:00
|
|
|
explicit RivReservoirSimWellsPartMgr(RimEclipseView* reservoirView);
|
|
|
|
~RivReservoirSimWellsPartMgr();
|
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();
|
|
|
|
|
2015-09-25 08:57:43 -05:00
|
|
|
void setScaleTransform(cvf::Transform* scaleTransform);
|
2013-04-12 02:20:40 -05:00
|
|
|
|
2012-05-18 02:45:23 -05:00
|
|
|
void appendDynamicGeometryPartsToModel(cvf::ModelBasicList* model, size_t frameIndex);
|
|
|
|
void updatePipeResultColor(size_t frameIndex);
|
|
|
|
|
2015-11-17 10:19:25 -06:00
|
|
|
const std::vector< std::vector <cvf::Vec3d> >* centerLineOfWellBranches(int wellIdx);
|
|
|
|
|
2012-05-18 02:45:23 -05:00
|
|
|
private:
|
2015-05-21 03:05:33 -05:00
|
|
|
caf::PdmPointer<RimEclipseView> m_reservoirView;
|
2012-05-18 02:45:23 -05:00
|
|
|
cvf::ref<cvf::Transform> m_scaleTransform;
|
|
|
|
|
2017-01-03 03:09:57 -06:00
|
|
|
cvf::Collection< RivSimWellPipesPartMgr > m_wellPipesPartMgrs;
|
2012-05-18 02:45:23 -05:00
|
|
|
cvf::Collection< RivWellHeadPartMgr > m_wellHeadPartMgrs;
|
2017-03-13 05:35:49 -05:00
|
|
|
cvf::Collection< RivWellSpheresPartMgr > m_wellSpheresPartMgrs;
|
2017-03-14 13:21:55 -05:00
|
|
|
cvf::Collection< RivWellConnectionsPartMgr > m_wellConnPartMgrs;
|
2017-03-13 05:35:49 -05:00
|
|
|
|
2012-05-18 02:45:23 -05:00
|
|
|
};
|