Set default background color of contour maps to off-white

This commit is contained in:
Jacob Støren
2018-10-31 09:39:27 +01:00
parent a1705c5e39
commit 6374708520
3 changed files with 12 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ public:
void setSurfOnlyDrawstyle();
void setFaultMeshSurfDrawstyle();
void setSurfaceDrawstyle();
void setBackgroundColor(const cvf::Color3f& newBackgroundColor);
void disableLighting(bool disable);
bool isLightingDisabled() const;
@@ -164,7 +165,7 @@ protected:
void createHighlightAndGridBoxDisplayModel();
// Implementation of RiuViewerToViewInterface
cvf::Color3f backgroundColor() const override { return m_backgroundColor(); }
cvf::Color3f backgroundColor() const override { return m_backgroundColor(); }
void applyBackgroundColor();
// Abstract methods to implement in subclasses