///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2018- Statoil ASA // // 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 // for more details. // ///////////////////////////////////////////////////////////////////////////////// #pragma once #include "cvfBase.h" #include "cvfObject.h" #include "Rim3dWellLogCurve.h" #include "cafPdmPointer.h" #include namespace cvf { class ModelBasicList; class Drawable; class Effect; class Part; class BoundingBox; } // namespace cvf namespace caf { class DisplayCoordTransform; } class RimGridView; class RimWellPath; class Riv3dWellLogCurveGeometryGenerator; class Riv3dWellLogPlanePartMgr : public cvf::Object { public: Riv3dWellLogPlanePartMgr(RimWellPath* wellPath, RimGridView* gridView); void append3dWellLogCurvesToModel(cvf::ModelBasicList* model, const caf::DisplayCoordTransform* displayCoordTransform, const cvf::BoundingBox& wellPathClipBoundingBox); void appendGridToModel(cvf::ModelBasicList* model, const caf::DisplayCoordTransform* displayCoordTransform, const cvf::BoundingBox& wellPathClipBoundingBox, double gridIntervalSize); private: cvf::ref createPart(cvf::Drawable* drawable, cvf::Effect* effect); private: cvf::ref m_3dWellLogCurveGeometryGenerator; caf::PdmPointer m_wellPath; caf::PdmPointer m_gridView; };