mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename wellPathsPartManager -> wellPathCollection
This commit is contained in:
parent
de8b953360
commit
ea4a92ab27
@ -459,7 +459,7 @@ void RimEclipseView::createDisplayModel()
|
||||
addWellPathsToModel(m_wellPathPipeVizModel.p(), currentActiveCellInfo()->geometryBoundingBox());
|
||||
|
||||
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
||||
wellPathsPartManager()->appendStaticFracturePartsToModel(m_wellPathPipeVizModel.p(), this);
|
||||
wellPathCollection()->appendStaticFracturePartsToModel(m_wellPathPipeVizModel.p(), this);
|
||||
#endif // USE_PROTOTYPE_FEATURE_FRACTURES
|
||||
m_wellPathPipeVizModel->updateBoundingBoxesRecursive();
|
||||
m_viewer->updateWellPathTextColor();
|
||||
|
@ -428,7 +428,7 @@ void RimView::endAnimation()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPathCollection* RimView::wellPathsPartManager()
|
||||
RimWellPathCollection* RimView::wellPathCollection()
|
||||
{
|
||||
RimProject* proj = nullptr;
|
||||
this->firstAncestorOrThisOfTypeAsserted(proj);
|
||||
@ -724,7 +724,7 @@ void RimView::addWellPathsToModel(cvf::ModelBasicList* wellPathModelBasicList,
|
||||
|
||||
cvf::ref<caf::DisplayCoordTransform> transForm = displayCoordTransform();
|
||||
|
||||
wellPathsPartManager()->appendStaticGeometryPartsToModel(wellPathModelBasicList,
|
||||
wellPathCollection()->appendStaticGeometryPartsToModel(wellPathModelBasicList,
|
||||
this->ownerCase()->characteristicCellSize(),
|
||||
wellPathClipBoundingBox,
|
||||
transForm.p());
|
||||
@ -748,7 +748,7 @@ void RimView::addDynamicWellPathsToModel(cvf::ModelBasicList* wellPathModelBasic
|
||||
currentTimeStamp = timeStamps[currentTimeStep()];
|
||||
}
|
||||
|
||||
wellPathsPartManager()->appendDynamicGeometryPartsToModel(wellPathModelBasicList,
|
||||
wellPathCollection()->appendDynamicGeometryPartsToModel(wellPathModelBasicList,
|
||||
currentTimeStamp,
|
||||
this->ownerCase()->characteristicCellSize(),
|
||||
wellPathClipBoundingBox,
|
||||
|
@ -207,7 +207,7 @@ protected:
|
||||
|
||||
virtual void onLoadDataAndUpdate() = 0;
|
||||
|
||||
RimWellPathCollection* wellPathsPartManager();
|
||||
RimWellPathCollection* wellPathCollection();
|
||||
|
||||
QPointer<RiuViewer> m_viewer;
|
||||
|
||||
|
@ -774,19 +774,19 @@ void RiuViewer::updateGridBoxData()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::updateAnnotationItems()
|
||||
cvf::Model* RiuViewer::gridBoxModel() const
|
||||
{
|
||||
updateTextAndTickMarkColorForOverlayItems();
|
||||
|
||||
updateWellPathTextColor();
|
||||
return m_gridBoxGenerator->model();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Model* RiuViewer::gridBoxModel() const
|
||||
void RiuViewer::updateAnnotationItems()
|
||||
{
|
||||
return m_gridBoxGenerator->model();
|
||||
updateTextAndTickMarkColorForOverlayItems();
|
||||
|
||||
updateWellPathTextColor();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -799,7 +799,7 @@ void RiuViewer::updateWellPathTextColor()
|
||||
|
||||
cvf::Color3f color = computeContrastColor();
|
||||
|
||||
RimWellPathCollection* wellPathCollection = rimView->wellPathsPartManager();
|
||||
RimWellPathCollection* wellPathCollection = rimView->wellPathCollection();
|
||||
if (wellPathCollection)
|
||||
{
|
||||
for (RimWellPath* path : wellPathCollection->wellPaths())
|
||||
|
Loading…
Reference in New Issue
Block a user