#2436 Intersection Fault lines are now separated and have a separate color

This commit is contained in:
Jacob Støren
2018-03-23 15:08:24 +01:00
parent 3b724e07bd
commit 97c2ebd955
7 changed files with 133 additions and 19 deletions

View File

@@ -24,11 +24,12 @@
#include "cvfBoundingBox.h"
#include <vector>
#include "cvfStructGrid.h"
class RigActiveCellInfo;
class RigFemPart;
class RigMainGrid;
class RigFault;
//--------------------------------------------------------------------------------------------------
/// Interface definition used to compute the geometry for planes intersecting a grid
@@ -42,6 +43,8 @@ public:
virtual bool useCell(size_t cellIndex) const = 0;
virtual void cellCornerVertices(size_t cellIndex, cvf::Vec3d cellCorners[8]) const = 0;
virtual void cellCornerIndices(size_t cellIndex, size_t cornerIndices[8]) const = 0;
virtual const RigFault* findFaultFromCellIndexAndCellFace(size_t reservoirCellIndex,
cvf::StructGridInterface::FaceType face) const = 0;
};
//--------------------------------------------------------------------------------------------------
@@ -58,6 +61,8 @@ public:
virtual bool useCell(size_t cellIndex) const;
virtual void cellCornerVertices(size_t cellIndex, cvf::Vec3d cellCorners[8]) const;
virtual void cellCornerIndices(size_t cellIndex, size_t cornerIndices[8]) const;
virtual const RigFault* findFaultFromCellIndexAndCellFace(size_t reservoirCellIndex,
cvf::StructGridInterface::FaceType face) const override;
private:
cvf::cref<RigMainGrid> m_mainGrid;
@@ -79,6 +84,8 @@ public:
virtual bool useCell(size_t cellIndex) const;
virtual void cellCornerVertices(size_t cellIndex, cvf::Vec3d cellCorners[8]) const;
virtual void cellCornerIndices(size_t cellIndex, size_t cornerIndices[8]) const;
virtual const RigFault* findFaultFromCellIndexAndCellFace(size_t reservoirCellIndex,
cvf::StructGridInterface::FaceType face) const override;
private:
cvf::cref<RigFemPart> m_femPart;