mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#641) Create user defined polyline by clicking on reservoir cells
This commit is contained in:
@@ -649,3 +649,20 @@ cvf::Color3f RiuViewer::computeContrastColor() const
|
||||
|
||||
return contrastColor;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::setActiveUiCommandFeature(RicCommandFeature* uiCommandFeature)
|
||||
{
|
||||
CVF_ASSERT(m_viewerCommands);
|
||||
m_viewerCommands->setActiveUiCommandFeature(uiCommandFeature);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicCommandFeature* RiuViewer::activeUiCommandFeature() const
|
||||
{
|
||||
return m_viewerCommands->activeUiCommandFeature();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user