#2002 RFT Plot: Add setters for members used in formation names function

This commit is contained in:
Rebecca Cox 2017-11-02 18:12:05 +01:00
parent 189a1478eb
commit 4da066c2d4
2 changed files with 41 additions and 0 deletions

View File

@ -464,6 +464,42 @@ void RimWellLogTrack::loadDataAndUpdate()
updateFormationNamesOnPlot();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setShowFormations(bool show /*= true*/)
{
m_showFormations = show;
loadDataAndUpdate();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setCase(RimCase* rimCase)
{
m_case = rimCase;
QList<caf::PdmOptionItemInfo> options;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setSimWellName(const QString& simWellName)
{
m_simWellName = simWellName;
m_trajectoryType = RimWellLogTrack::SIMULATION_WELL;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setBranchIndex(int branchIndex)
{
m_branchIndex = branchIndex;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@ -83,6 +83,11 @@ public:
void loadDataAndUpdate();
void setShowFormations(bool show = true);
void setCase(RimCase* rimCase);
void setSimWellName(const QString& simWellName);
void setBranchIndex(int branchIndex);
void availableDepthRange(double* minimumDepth, double* maximumDepth);
void updateXZoomAndParentPlotDepthZoom();
void updateXZoom();