mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improved management of multiple legend overlay items
This commit is contained in:
@@ -51,8 +51,6 @@ public:
|
||||
RiuViewer(const QGLFormat& format, QWidget* parent);
|
||||
~RiuViewer();
|
||||
|
||||
void setColorLegend1(cvf::OverlayScalarMapperLegend* legend);
|
||||
void setColorLegend2(cvf::OverlayScalarMapperLegend* legend);
|
||||
void setDefaultView();
|
||||
cvf::Vec3d pointOfInterest();
|
||||
void setPointOfInterest(cvf::Vec3d poi);
|
||||
@@ -67,8 +65,8 @@ public:
|
||||
|
||||
void showAnimationProgress(bool enable);
|
||||
|
||||
void addOverlayItem(cvf::OverlayItem* overlayItem);
|
||||
void removeOverlayItem(cvf::OverlayItem* overlayItem);
|
||||
void removeAllColorLegends();
|
||||
void addColorLegendToBottomLeftCorner(cvf::OverlayItem* legend);
|
||||
|
||||
|
||||
public slots:
|
||||
@@ -91,7 +89,6 @@ private slots:
|
||||
void slotHideFault();
|
||||
|
||||
private:
|
||||
void updateLegends();
|
||||
void ijkFromCellIndex(size_t gridIdx, size_t cellIndex, size_t* i, size_t* j, size_t* k);
|
||||
|
||||
private:
|
||||
@@ -108,9 +105,7 @@ private:
|
||||
QCDEStyle* m_progressBarStyle;
|
||||
|
||||
|
||||
cvf::ref<cvf::OverlayScalarMapperLegend> m_legend1;
|
||||
cvf::ref<cvf::OverlayScalarMapperLegend> m_legend2;
|
||||
|
||||
cvf::Collection<cvf::OverlayItem> m_visibleLegends;
|
||||
|
||||
caf::PdmPointer<RimReservoirView> m_reservoirView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user