mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2549 2dIntersectionView. Update view when modifying branch detection and interpol type
This commit is contained in:
parent
3feaa55d02
commit
8bd37b3411
@ -388,11 +388,7 @@ void Rim2dIntersectionView::createDisplayModel()
|
|||||||
m_viewer->addFrame(new cvf::Scene());
|
m_viewer->addFrame(new cvf::Scene());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ( m_flatIntersectionPartMgr.isNull() || m_intersection() != m_flatIntersectionPartMgr->intersection())
|
|
||||||
{
|
|
||||||
m_flatIntersectionPartMgr = new RivIntersectionPartMgr(m_intersection(), true);
|
m_flatIntersectionPartMgr = new RivIntersectionPartMgr(m_intersection(), true);
|
||||||
}
|
|
||||||
|
|
||||||
m_intersectionVizModel->removeAllParts();
|
m_intersectionVizModel->removeAllParts();
|
||||||
|
|
||||||
|
@ -72,6 +72,9 @@ public:
|
|||||||
|
|
||||||
void wellHeadTopBottomPosition(int frameIndex, cvf::Vec3d* top, cvf::Vec3d* bottom);
|
void wellHeadTopBottomPosition(int frameIndex, cvf::Vec3d* top, cvf::Vec3d* bottom);
|
||||||
double pipeRadius();
|
double pipeRadius();
|
||||||
|
|
||||||
|
void schedule2dIntersectionViewUpdate();
|
||||||
|
|
||||||
caf::PdmField<bool> showWell;
|
caf::PdmField<bool> showWell;
|
||||||
|
|
||||||
caf::PdmField<QString> name;
|
caf::PdmField<QString> name;
|
||||||
@ -103,8 +106,6 @@ private:
|
|||||||
|
|
||||||
bool intersectsWellCellsFilteredCells(const RigWellResultFrame &wrsf, size_t frameIndex) const;
|
bool intersectsWellCellsFilteredCells(const RigWellResultFrame &wrsf, size_t frameIndex) const;
|
||||||
|
|
||||||
void schedule2dIntersectionViewUpdate();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
cvf::ref<RigSimWellData> m_simWellData;
|
cvf::ref<RigSimWellData> m_simWellData;
|
||||||
size_t m_resultWellIndex;
|
size_t m_resultWellIndex;
|
||||||
|
@ -415,6 +415,8 @@ void RimSimWellInViewCollection::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
|||||||
{
|
{
|
||||||
m_reservoirView->scheduleSimWellGeometryRegen();
|
m_reservoirView->scheduleSimWellGeometryRegen();
|
||||||
m_reservoirView->scheduleCreateDisplayModelAndRedraw();
|
m_reservoirView->scheduleCreateDisplayModelAndRedraw();
|
||||||
|
|
||||||
|
for (RimSimWellInView* w : wells) w->schedule2dIntersectionViewUpdate();
|
||||||
}
|
}
|
||||||
else if (&showWellsIntersectingVisibleCells == changedField)
|
else if (&showWellsIntersectingVisibleCells == changedField)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user