Add valve visualization to MSW wells

* Refactor geo generator
* Add valve visualization to segments that are connected to a valve
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2023-03-02 13:06:38 +01:00
1 parent 8a2d9ec83e
commit d47d4060cc
16 files changed
+452 -200

No files matched your search

@@ -961,11 +961,10 @@ void RivWellFracturePartMgr::appendFracturePerforationLengthParts( const RimEcli
double perforationRadius = wellPathRadius * 1.2;
cvf::Collection<cvf::Part> parts;
RivPipeGeometryGenerator geoGenerator;
geoGenerator.cylinderWithCenterLineParts( &parts,
displayCoords,
RiaColorTables::wellPathComponentColors()[RiaDefines::WellPathComponentType::PERFORATION_INTERVAL],
perforationRadius );
RivPipeGeometryGenerator::cylinderWithCenterLineParts( &parts,
displayCoords,
RiaColorTables::wellPathComponentColors()[RiaDefines::WellPathComponentType::PERFORATION_INTERVAL],
perforationRadius );
for ( auto part : parts )
{