mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6007 Add plot track and interpolation for facies properties.
This commit is contained in:
committed by
Magne Sjaastad
parent
2ef822e491
commit
c349047a91
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user