2012-05-18 09:45:23 +02: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
|
|
|
|
|
|
2015-06-25 13:36:15 +02:00
|
|
|
#include "RimEclipseWellCollection.h"
|
2012-05-18 09:45:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "cvfCollection.h"
|
|
|
|
|
|
2015-05-21 10:05:33 +02:00
|
|
|
class RimEclipseView;
|
2012-05-18 09:45:23 +02:00
|
|
|
class RivWellPipesPartMgr;
|
2012-06-26 16:10:41 +02:00
|
|
|
class RivWellHeadPartMgr;
|
2012-05-18 09:45:23 +02:00
|
|
|
|
|
|
|
|
class RivReservoirPipesPartMgr : public cvf::Object
|
|
|
|
|
{
|
|
|
|
|
public:
|
2015-05-21 10:05:33 +02:00
|
|
|
RivReservoirPipesPartMgr(RimEclipseView* reservoirView);
|
2012-05-18 09:45:23 +02:00
|
|
|
~RivReservoirPipesPartMgr();
|
|
|
|
|
|
2013-04-12 09:20:40 +02:00
|
|
|
void clearGeometryCache();
|
2012-05-18 09:45:23 +02:00
|
|
|
void scheduleGeometryRegen();
|
|
|
|
|
|
2013-04-12 09:20:40 +02:00
|
|
|
void setScaleTransform(cvf::Transform * scaleTransform);
|
|
|
|
|
|
2012-05-18 09:45:23 +02:00
|
|
|
void appendDynamicGeometryPartsToModel(cvf::ModelBasicList* model, size_t frameIndex);
|
|
|
|
|
void updatePipeResultColor(size_t frameIndex);
|
|
|
|
|
|
|
|
|
|
private:
|
2015-05-21 10:05:33 +02:00
|
|
|
caf::PdmPointer<RimEclipseView> m_reservoirView;
|
2012-05-18 09:45:23 +02:00
|
|
|
cvf::ref<cvf::Transform> m_scaleTransform;
|
|
|
|
|
|
|
|
|
|
cvf::Collection< RivWellPipesPartMgr > m_wellPipesPartMgrs;
|
|
|
|
|
cvf::Collection< RivWellHeadPartMgr > m_wellHeadPartMgrs;
|
|
|
|
|
};
|