#2426 Add working legends to 2D intersection Views. Refactor to make legend update code work from a separate view with separate legend configs. Make sure legend and results are updated as the main view is updated. Adjust legendconfig->setTitle to use QString

This commit is contained in:
Jacob Støren
2018-02-01 17:45:22 +01:00
parent a4eb16883b
commit 29ac24f3dd
29 changed files with 428 additions and 225 deletions

View File

@@ -27,10 +27,12 @@ class RimIntersection;
class RimIntersectionBox;
class RimEclipseCellColors;
class RimSimWellInView;
class RivTernaryScalarMapper;
namespace cvf {
class ModelBasicList;
class Transform;
class ScalarMapper;
}
//==================================================================================================
@@ -59,11 +61,14 @@ public:
void updateIntersectionBoxGeometry();
void syncronize2dIntersectionViews();
void scheduleCreateDisplayModelAndRedraw2dIntersectionViews();
// Visualization interface
void applySingleColorEffect();
void updateCellResultColor(size_t timeStepIndex);
void updateCellResultColor(size_t timeStepIndex,
const cvf::ScalarMapper* scalarColorMapper,
const RivTernaryScalarMapper* ternaryColorMapper);
void appendPartsToModel(cvf::ModelBasicList* model, cvf::Transform* scaleTransform);
protected: