#3934 Optionally (on default) smooth all contour lines

This commit is contained in:
Gaute Lindkvist
2019-01-08 11:45:16 +01:00
parent 7fccdf7153
commit bac377a4eb
2 changed files with 11 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ public:
cvf::Vec3d origin3d() const;
protected:
void smoothPolygonLoops(ContourPolygons* contourPolygons);
void smoothPolygonLoops(ContourPolygons* contourPolygons, bool favourExpansion);
double interpolateValue(const cvf::Vec2d& gridPosition2d) const;
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
@@ -178,6 +178,7 @@ protected:
caf::PdmField<ResultAggregation> m_resultAggregation;
caf::PdmField<bool> m_showContourLines;
caf::PdmField<bool> m_showContourLabels;
caf::PdmField<bool> m_smoothContourLines;
caf::PdmField<bool> m_weightByParameter;
caf::PdmChildField<RimEclipseResultDefinition*> m_weightingResult;