#6007 Add plot track and interpolation for facies properties.

This commit is contained in:
Kristian Bendiksen
2020-05-29 14:54:47 +02:00
committed by Magne Sjaastad
parent 2ef822e491
commit c349047a91
9 changed files with 540 additions and 19 deletions

View File

@@ -72,6 +72,23 @@ void RimFaciesProperties::setPropertiesForFacies( FaciesKey& key, const RigFacie
m_propertiesTable = generatePropertiesTable();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimFaciesProperties::hasPropertiesForFacies( FaciesKey& key ) const
{
return m_properties.find( key ) != m_properties.end();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const RigFaciesProperties& RimFaciesProperties::propertiesForFacies( FaciesKey& key ) const
{
assert( hasPropertiesForFacies( key ) );
return m_properties.find( key )->second;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -95,7 +112,6 @@ void RimFaciesProperties::defineEditorAttribute( const caf::PdmFieldHandle* fiel
//--------------------------------------------------------------------------------------------------
QString RimFaciesProperties::generatePropertiesTable()
{
QString header( "<table border=1>"
" <thead>"
" <tr bgcolor=lightblue>"