mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1544 Fracture Perforation Length : Set color to deep green
This commit is contained in:
@@ -459,3 +459,15 @@ cvf::Color3f RiaColorTables::undefinedCellColor()
|
|||||||
{
|
{
|
||||||
return cvf::Color3::GRAY;
|
return cvf::Color3::GRAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
cvf::Color3f RiaColorTables::perforationLengthColor()
|
||||||
|
{
|
||||||
|
// based on hwb ( 85, 9%, 67%) dark_olive_green
|
||||||
|
// added 10 to each component
|
||||||
|
cvf::Color3ub color(69, 94, 33);
|
||||||
|
|
||||||
|
return cvf::Color3f(color);
|
||||||
|
}
|
||||||
|
|||||||
@@ -52,4 +52,5 @@ public:
|
|||||||
static const caf::ColorTable& timestepsPaletteColors();
|
static const caf::ColorTable& timestepsPaletteColors();
|
||||||
|
|
||||||
static cvf::Color3f undefinedCellColor();
|
static cvf::Color3f undefinedCellColor();
|
||||||
|
static cvf::Color3f perforationLengthColor();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -745,7 +745,7 @@ void RivWellFracturePartMgr::appendFracturePerforationLengthParts(const RimEclip
|
|||||||
cvf::Collection<cvf::Part> parts;
|
cvf::Collection<cvf::Part> parts;
|
||||||
|
|
||||||
RivPipeGeometryGenerator geoGenerator;
|
RivPipeGeometryGenerator geoGenerator;
|
||||||
geoGenerator.cylinderWithCenterLineParts(&parts, displayCoords, cvf::Color3f::ORANGE, perforationRadius);
|
geoGenerator.cylinderWithCenterLineParts(&parts, displayCoords, RiaColorTables::perforationLengthColor(), perforationRadius);
|
||||||
|
|
||||||
for (auto part : parts)
|
for (auto part : parts)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user