#1243 - pre-proto - Minor fixes to visualization of fracture polygons

This commit is contained in:
astridkbjorke 2017-02-28 14:35:19 +01:00
parent c2c3145e5a
commit f5edd780a5
3 changed files with 6 additions and 0 deletions

View File

@ -165,6 +165,7 @@ void RimSimWellFracture::defineUiOrdering(QString uiConfigName, caf::PdmUiOrderi
RimFracture::defineUiOrdering(uiConfigName, uiOrdering);
uiOrdering.add(&m_name);
uiOrdering.add(&showPolygonFractureOutline);
caf::PdmUiGroup* locationGroup = uiOrdering.addNewGroup("Location / Orientation");
locationGroup->add(&m_location);

View File

@ -673,6 +673,9 @@ std::vector<cvf::Vec3f> RimStimPlanFractureTemplate::fracturePolygon()
polygon.push_back(negNode);
}
//Adding first point last - to close the polygon
if (polygon.size()>0) polygon.push_back(polygon[0]);
return polygon;
}

View File

@ -150,6 +150,8 @@ void RimWellPathFracture::defineUiOrdering(QString uiConfigName, caf::PdmUiOrder
RimFracture::defineUiOrdering(uiConfigName, uiOrdering);
uiOrdering.add(&m_name);
uiOrdering.add(&showPolygonFractureOutline);
caf::PdmUiGroup* locationGroup = uiOrdering.addNewGroup("Location / Orientation");
locationGroup->add(&m_measuredDepth);