#3698 Scale bar. Take 1. Only vertical variant implemented so far

This commit is contained in:
Bjørn Erik Jensen
2018-11-15 11:24:09 +01:00
parent 76abf0fe01
commit d8a466a9ef
10 changed files with 1728 additions and 4 deletions

View File

@@ -44,6 +44,7 @@ class QProgressBar;
namespace caf
{
class OverlayScaleLegend;
class TitledOverlayFrame;
class PdmUiSelectionVisualizer3d;
}
@@ -118,6 +119,8 @@ public:
std::vector<cvf::ref<cvf::Part>> visibleParts();
void showScaleLegend(bool show);
public slots:
void slotSetCurrentFrame(int frameIndex) override;
void slotEndAnimation() override;
@@ -173,5 +176,7 @@ private:
cvf::Vec3d m_cursorPositionDomainCoords;
bool m_isNavigationRotationEnabled;
cvf::ref<caf::OverlayScaleLegend> m_scaleLegend;
};