(#404) Compute well segment index from triangle index

This commit is contained in:
Magne Sjaastad
2015-12-04 12:05:06 +01:00
parent 6d60088a5b
commit 622e49fe69
4 changed files with 58 additions and 9 deletions

View File

@@ -50,6 +50,8 @@ public:
void appendStaticGeometryPartsToModel(cvf::ModelBasicList* model, cvf::Vec3d displayModelOffset,
double characteristicCellSize, cvf::BoundingBox wellPathClipBoundingBox);
size_t segmentIndexFromTriangleIndex(size_t triangleIndex);
private:
caf::PdmPointer<RimWellPath> m_rimWellPath;
@@ -58,7 +60,6 @@ private:
void buildWellPathParts(cvf::Vec3d displayModelOffset, double characteristicCellSize, cvf::BoundingBox wellPathClipBoundingBox);
void clearAllBranchData();
struct RivPipeBranchData
{
cvf::ref<RivPipeGeometryGenerator> m_pipeGeomGenerator;