mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Minor cleanups
This commit is contained in:
parent
865d1e1d9c
commit
cede61dd9a
@ -156,7 +156,7 @@ void RimIntersectionBox::setToDefaultSizeSlice(SinglePlaneState plane, const cvf
|
||||
{
|
||||
case PLANE_STATE_X: m_minXCoord = m_maxXCoord = center[0]; break;
|
||||
case PLANE_STATE_Y: m_minYCoord = m_maxYCoord = center[1]; break;
|
||||
case PLANE_STATE_Z: m_minDepth = m_maxDepth = -center[2]; break;
|
||||
case PLANE_STATE_Z: m_minDepth = m_maxDepth = -center[2]; break;
|
||||
}
|
||||
|
||||
updateVisibility();
|
||||
|
@ -136,28 +136,3 @@ void RimIntersectionBoxCollection::fieldChangedByUi(const caf::PdmFieldHandle* c
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimIntersectionBoxCollection::hasActiveCrossSectionForSimulationWell(RimEclipseWell* eclipseWell) const
|
||||
{
|
||||
if (!isActive) return false;
|
||||
|
||||
/*
|
||||
for (size_t csIdx = 0; csIdx < m_intersectionBoxes.size(); ++csIdx)
|
||||
{
|
||||
RimIntersectionBox* cs = m_intersectionBoxes[csIdx];
|
||||
|
||||
if (cs->isActive &&
|
||||
cs->type() == RimIntersectionBox::CS_SIMULATION_WELL &&
|
||||
cs->simulationWell() == eclipseWell)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -48,8 +48,6 @@ public:
|
||||
|
||||
void appendIntersectionBox(RimIntersectionBox* intersectionBox);
|
||||
|
||||
bool hasActiveCrossSectionForSimulationWell(RimEclipseWell* eclipseWell) const;
|
||||
|
||||
// Visualization interface
|
||||
|
||||
void applySingleColorEffect();
|
||||
|
Loading…
Reference in New Issue
Block a user