mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#7892 Basic support for display of surface lines and bands on intersections
Guard divide by zero issues 2D Intersection View: Do not add parts with wrong coordinates Add bounding box search tree Add support display of intersection lines for selected surfaces Show band between two first intersection lines
This commit is contained in:
1 parent
61ea190920
commit
2fc65a3b62
32 files changed
+826
-358
No files matched your search
+6
-1
@@ -19,8 +19,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cafPdmPointer.h"
|
||||
|
||||
#include "cvfArray.h"
|
||||
#include "cvfObject.h"
|
||||
|
||||
#include <array>
|
||||
|
||||
class RivExtrudedCurveIntersectionGeometryGenerator;
|
||||
@@ -29,7 +32,8 @@ class RimExtrudedCurveIntersection;
|
||||
class RivExtrudedCurveIntersectionSourceInfo : public cvf::Object
|
||||
{
|
||||
public:
|
||||
explicit RivExtrudedCurveIntersectionSourceInfo( RivExtrudedCurveIntersectionGeometryGenerator* geometryGenerator );
|
||||
explicit RivExtrudedCurveIntersectionSourceInfo( RivExtrudedCurveIntersectionGeometryGenerator* geometryGenerator,
|
||||
RimExtrudedCurveIntersection* intersection );
|
||||
|
||||
const std::vector<size_t>& triangleToCellIndex() const;
|
||||
std::array<cvf::Vec3f, 3> triangle( int triangleIdx ) const;
|
||||
@@ -37,4 +41,5 @@ public:
|
||||
|
||||
private:
|
||||
cvf::cref<RivExtrudedCurveIntersectionGeometryGenerator> m_intersectionGeometryGenerator;
|
||||
caf::PdmPointer<RimExtrudedCurveIntersection> m_intersection;
|
||||
};
|
||||
Reference in new issue
Block a user