#1040 - pre-proto - Converting facture coordinates to display coordinates for visualization. Fractures not yet shown at correct possition.

This commit is contained in:
astridkbjorke
2017-01-06 10:26:57 +01:00
parent 9e933a9c1c
commit 3f052976f5
13 changed files with 97 additions and 37 deletions

View File

@@ -33,6 +33,11 @@ namespace cvf
class ScalarMapper;
}
namespace caf
{
class DisplayCoordTransform;
}
class RivPipeGeometryGenerator;
class RimProject;
class RimWellPath;
@@ -48,12 +53,13 @@ public:
void scheduleGeometryRegen() { m_needsTransformUpdate = true; }//printf("R"); }
void appendStaticGeometryPartsToModel(cvf::ModelBasicList* model, cvf::Vec3d displayModelOffset,
double characteristicCellSize, cvf::BoundingBox wellPathClipBoundingBox);
double characteristicCellSize, cvf::BoundingBox wellPathClipBoundingBox, caf::DisplayCoordTransform* displayCoordTransform);
size_t segmentIndexFromTriangleIndex(size_t triangleIndex);
private:
void appendFracturePartsToModel(cvf::ModelBasicList* model);
void appendFracturePartsToModel(cvf::ModelBasicList* model, caf::DisplayCoordTransform* displayCoordTransform);
private:
caf::PdmPointer<RimWellPath> m_rimWellPath;