mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2727 Legends : Add RimLegendConfig as base for Regular and Ternary
This commit is contained in:
@@ -338,6 +338,24 @@ bool Rim2dIntersectionView::showDefiningPoints() const
|
||||
return m_showDefiningPoints;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<RimLegendConfig*> Rim2dIntersectionView::legendConfigs() const
|
||||
{
|
||||
std::vector<RimLegendConfig*> legendsIn3dView;
|
||||
|
||||
Rim3dView* associated3dView = nullptr;
|
||||
this->firstAncestorOrThisOfType(associated3dView);
|
||||
|
||||
if (associated3dView)
|
||||
{
|
||||
legendsIn3dView = associated3dView->legendConfigs();
|
||||
}
|
||||
|
||||
return legendsIn3dView;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user