mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5285 Surface Import command. SurfaceInView tree-items. Delete.
Ready to start on visualization code
This commit is contained in:
@@ -64,6 +64,33 @@ QString RimSurface::userDescription()
|
||||
return m_userDescription();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimSurface::userDescriptionField()
|
||||
{
|
||||
return &m_userDescription;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSurface::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue )
|
||||
{
|
||||
if ( changedField == &m_surfaceDefinitionFilePath )
|
||||
{
|
||||
updateDataFromFile();
|
||||
|
||||
// Todo: Update visualization
|
||||
}
|
||||
else if ( changedField == &m_color )
|
||||
{
|
||||
// Todo: Update visualization
|
||||
}
|
||||
}
|
||||
|
||||
struct SurfacePointData
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user