mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-20 11:48:35 -06:00
#5766 Make well disk 4x bigger by default.
This commit is contained in:
parent
3931f68c4f
commit
5b1e75d259
@ -132,7 +132,7 @@ void RivWellDiskPartMgr::buildWellDiskParts( size_t frameIndex, const caf::Displ
|
||||
cvf::GeometryBuilderFaceList builder;
|
||||
{
|
||||
RivDiskGeometryGenerator gen;
|
||||
gen.setRelativeRadius( 2.5f * ( m_rimWell->diskScale() ) );
|
||||
gen.setRelativeRadius( baseScaleFactor() * m_rimWell->diskScale() );
|
||||
gen.setRelativeLength( 0.1f );
|
||||
gen.setNumSlices( numSectors );
|
||||
gen.generate( &builder );
|
||||
@ -425,7 +425,7 @@ std::pair<cvf::String, cvf::Vec3f> RivWellDiskPartMgr::createTextAndLocation( co
|
||||
|
||||
cvf::Vec3f v = cvf::Vec3f( diskPosition );
|
||||
|
||||
double radius = 2.5f * ( m_rimWell->diskScale() );
|
||||
double radius = baseScaleFactor() * m_rimWell->diskScale();
|
||||
radius *= ijScaleFactor;
|
||||
radius *= 1.1; // Put label outside the disk
|
||||
|
||||
@ -523,3 +523,11 @@ cvf::Color4f RivWellDiskPartMgr::getWellInjectionColor( RigWellResultFrame::Well
|
||||
|
||||
return cvf::Color4f( cvf::Color3::BLACK );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RivWellDiskPartMgr::baseScaleFactor()
|
||||
{
|
||||
return 10.0;
|
||||
}
|
||||
|
@ -67,6 +67,7 @@ private:
|
||||
|
||||
static cvf::Color4f getWellInjectionColor( RigWellResultFrame::WellProductionType productionType );
|
||||
static QString formatNumber( double num );
|
||||
static double baseScaleFactor();
|
||||
|
||||
private:
|
||||
caf::PdmPointer<RimSimWellInView> m_rimWell;
|
||||
|
Loading…
Reference in New Issue
Block a user