Added branch index to source info as basis for more work on #1044

This commit is contained in:
Magne Sjaastad
2017-01-03 11:11:36 +01:00
parent 276eaf0f33
commit 51e8cae11b
6 changed files with 63 additions and 14 deletions

View File

@@ -55,6 +55,8 @@ public:
const std::vector< std::vector <cvf::Vec3d> >& centerLineOfWellBranches() { return m_pipeBranchesCLCoords;}
void findGridIndexAndCellIndex(size_t branchIndex, size_t triangleIndex, size_t* gridIndex, size_t* cellIndex);
private:
caf::PdmPointer<RimEclipseView> m_rimReservoirView;
caf::PdmPointer<RimEclipseWell> m_rimWell;
@@ -63,7 +65,6 @@ private:
bool m_needsTransformUpdate;
void buildWellPipeParts();
struct RivPipeBranchData
{
@@ -78,6 +79,8 @@ private:
};
RivPipeBranchData* pipeBranchData(size_t branchIndex);
std::list<RivPipeBranchData> m_wellBranches;
cvf::ref<cvf::ScalarMapper> m_scalarMapper;