mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
3D well log curve: Establish a coordinate system for curve normals
This commit is contained in:
@@ -71,6 +71,10 @@ void Riv3dWellLogPlanePartMgr::append3dWellLogCurvesToModel(cvf::ModelBasicList*
|
||||
//TODO: Atm, only the grid for the first curve is drawn.
|
||||
cvf::ref<cvf::Drawable> gridDrawable = m_3dWellLogCurveGeometryGenerator->createGrid(displayCoordTransform, rim3dWellLogCurves[0]);
|
||||
|
||||
if (!gridDrawable->boundingBox().isValid())
|
||||
{
|
||||
return;
|
||||
}
|
||||
caf::SurfaceEffectGenerator surfaceGen(cvf::Color4f(255, 255, 0, 1), caf::PO_1);
|
||||
cvf::ref<cvf::Effect> effect = surfaceGen.generateCachedEffect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user