(#266) Improved label display

This commit is contained in:
Magne Sjaastad
2015-11-16 21:17:12 +01:00
parent d9044e2e7b
commit 96acc1e75d
3 changed files with 26 additions and 9 deletions

View File

@@ -32,6 +32,7 @@
namespace cvf
{
class Camera;
class ShaderProgram;
}
@@ -42,7 +43,7 @@ namespace cvf
class RivGridBoxGenerator
{
public:
RivGridBoxGenerator();
RivGridBoxGenerator(cvf::ShaderProgram* textShaderProgram);
void setScaleZ(double scaleZ);
void setDisplayModelOffset(cvf::Vec3d offset);
@@ -125,5 +126,7 @@ private:
cvf::Color3f m_gridColor;
cvf::Color3f m_gridLegendColor;
cvf::ref<cvf::Effect> m_textEffect;
};