mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Add missing includes (GNU 8.3.0)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user