Janitor : Add missing includes (GNU 8.3.0)

This commit is contained in:
Magne Sjaastad
2021-02-22 17:12:50 +01:00
parent c542b457a6
commit 7d5268987c
9 changed files with 107 additions and 11 deletions

View File

@@ -30,12 +30,14 @@
#include "cvfShaderProgramGenerator.h"
#include "cvfShaderSourceProvider.h"
#include "cvfTexture.h"
#include "cvfUniform.h"
#include "cvfqtUtils.h"
#include "cvfUniform.h"
#include <QFile>
#include <QTextStream>
#include <algorithm>
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -67,6 +69,46 @@ void CellEdgeEffectGenerator::setTernaryScalarMapper( const RivTernaryScalarMapp
m_ternaryCellScalarMapper = ternaryScalarMapper;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void CellEdgeEffectGenerator::setOpacityLevel( float opacity )
{
m_opacityLevel = std::clamp( opacity, 0.0f, 1.0f );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void CellEdgeEffectGenerator::setUndefinedColor( cvf::Color3f color )
{
m_undefinedColor = color;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void CellEdgeEffectGenerator::setFaceCulling( caf::FaceCulling faceCulling )
{
m_cullBackfaces = faceCulling;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void CellEdgeEffectGenerator::setDefaultCellColor( cvf::Color3f color )
{
m_defaultCellColor = color;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void CellEdgeEffectGenerator::disableLighting( bool disable )
{
m_disableLighting = disable;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------