Main Page
Module List
Reference documentation
Namespaces
Classes
Examples
distro
c++_api
inc
opals
ShadingMethod.hpp
1
#ifndef OPALS_SHADING_METHOD_HPP_INCLUDED
2
#define OPALS_SHADING_METHOD_HPP_INCLUDED
3
4
#include <opals/config.hpp>
5
6
namespace
opals
7
{
8
/// Enumerator defining different shading methods
9
namespace
ShadingMethod
10
{
11
enum
Type
12
{
13
tanaka
,
///< use algorithm according to Tanaka
14
lambert
,
///< lambertian reflection (proportional to cosine of incident angle)
15
peucker
,
///< lambertian reflection (approximation according to Peucker)
16
Count
///< number of elements
17
};
18
}
19
}
20
21
#endif