Loading [MathJax]/extensions/tex2jax.js
Photon Engine
2.0.0-beta
A physically based renderer.
Toggle main menu visibility
Home
Components
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
k
m
p
r
s
t
u
x
y
z
Typedefs
a
b
c
d
e
f
h
i
k
l
m
p
q
r
s
t
v
Enumerations
e
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Related Symbols
Files
File List
File Members
All
b
c
f
i
k
m
p
s
Functions
Typedefs
Macros
▼
Photon Engine
Home
Components
►
Engine
►
Engine Directories
Bibliography
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
Documentation
►
Include
▼
Source
►
Actor
►
Api
►
Common
►
Core
►
DataIO
►
EngineEnv
►
Frame
▼
Math
►
Algorithm
▼
Color
►
chromatic_adaptations.h
►
chromatic_adaptations.ipp
►
color_basics.h
►
color_enums.h
►
color_spaces.h
►
color_spaces.ipp
►
spectral_data.cpp
►
spectral_data.h
►
spectral_samples.h
►
spectral_samples.ipp
Spectrum.h
►
spectrum_fwd.h
►
TSampledSpectrum.h
TSampledSpectrum.ipp
►
TSpectrumBase.h
TSpectrumBase.ipp
►
TTristimulusSpectrum.h
TTristimulusSpectrum.ipp
►
Function
►
General
►
Geometry
►
Physics
►
Random
►
Solver
►
Transform
►
constant.h
►
hash.h
►
hash.ipp
►
math.cpp
►
math.h
►
math.ipp
math_common.h
►
math_exceptions.h
►
math_fwd.h
►
math_table.h
►
Real.h
►
TArithmeticArray.h
TArithmeticArray.ipp
►
TFraction.h
►
time.h
►
TMatrix2.h
TMatrix2.ipp
►
TMatrix3.h
TMatrix3.ipp
►
TMatrix4.h
TMatrix4.ipp
►
TOrthonormalBasis3.h
TOrthonormalBasis3.ipp
►
TQuaternion.h
TQuaternion.ipp
►
TVector2.h
TVector2.ipp
►
TVector3.h
TVector3.ipp
►
TVector4.h
TVector4.ipp
►
SDL
►
Utility
►
World
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
TTristimulusSpectrum.ipp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Math/Color/TTristimulusSpectrum.h
"
4
5
namespace
ph::math
6
{
7
8
template
<EColorSpace COLOR_SPACE,
typename
T>
9
inline
TTristimulusSpectrum<COLOR_SPACE, T>::TTristimulusSpectrum
(
const
T c0,
const
T c1,
const
T c2) :
10
Base
(
std
::array<T, 3>{c0, c1, c2})
11
{}
9
inline
TTristimulusSpectrum<COLOR_SPACE, T>::TTristimulusSpectrum
(
const
T c0,
const
T c1,
const
T c2) : {
…
}
12
13
template
<EColorSpace COLOR_SPACE,
typename
T>
14
template
<
typename
U>
15
inline
TTristimulusSpectrum<COLOR_SPACE, T>::TTristimulusSpectrum
(
const
TTristimulusSpectrum<COLOR_SPACE, U>
& other) :
16
TTristimulusSpectrum
(
17
static_cast<T>(other[0]),
18
static_cast<T>(other[1]),
19
static_cast<T>(other[2]))
20
{}
15
inline
TTristimulusSpectrum<COLOR_SPACE, T>::TTristimulusSpectrum
(
const
TTristimulusSpectrum<COLOR_SPACE, U>
& other) : {
…
}
21
22
}
// end namespace ph::math
TTristimulusSpectrum.h
ph::math::TSpectrumBase< TTristimulusSpectrum< COLOR_SPACE, T >, COLOR_SPACE, T, 3 >
ph::math::TTristimulusSpectrum
Definition
TTristimulusSpectrum.h:11
ph::math::TTristimulusSpectrum::TTristimulusSpectrum
TTristimulusSpectrum()=default
ph::math
Math functions and utilities.
Definition
TransformInfo.h:10
std
Definition
TAABB2D.h:96
Source
Math
Color
TTristimulusSpectrum.ipp
Generated by
1.11.0