Loading [MathJax]/jax/output/HTML-CSS/config.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
►
Basic
►
Dome
►
Geometry
▼
Image
►
BinaryMixedImage.cpp
►
BinaryMixedImage.h
►
BlackBodyRadiationImage.cpp
►
BlackBodyRadiationImage.h
►
CheckerboardImage.cpp
►
CheckerboardImage.h
►
ConstantImage.cpp
►
ConstantImage.h
GradientImage.cpp
►
GradientImage.h
Image.cpp
►
Image.h
►
MathImage.cpp
►
MathImage.h
►
RasterFileImage.cpp
►
RasterFileImage.h
RasterImageBase.cpp
►
RasterImageBase.h
►
sdl_image_enums.h
►
SwizzledImage.cpp
►
SwizzledImage.h
►
Light
►
Material
►
ModelParser
►
MotionSource
►
SDLExtension
►
Actor.cpp
►
Actor.h
►
ADome.cpp
►
ADome.h
AMaskedModel.cpp
►
AMaskedModel.h
►
AModel.cpp
►
AModel.h
APhantomModel.cpp
►
APhantomModel.h
►
ATransformedInstance.cpp
►
ATransformedInstance.h
ModelBuilder.cpp
ModelBuilder.h
ModelLoader.cpp
ModelLoader.h
PhysicalActor.cpp
►
PhysicalActor.h
StandaloneSdlResource.h
►
Api
►
Common
►
Core
►
DataIO
►
EngineEnv
►
Frame
►
Math
►
SDL
►
Utility
►
World
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
GradientImage.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Actor/Image/BinaryMixedImage.h
"
4
#include "
Math/TVector3.h
"
5
6
namespace
ph
7
{
8
9
class
GradientImage
:
public
BinaryMixedImage
10
{
11
public
:
12
GradientImage
();
13
14
std::shared_ptr<TTexture<Image::ArrayType>>
genNumericTexture
(
15
const
CookingContext
& ctx)
override
;
16
17
std::shared_ptr<TTexture<math::Spectrum>>
genColorTexture
(
18
const
CookingContext
& ctx)
override
;
19
20
void
setUvwEndpoints
(
const
math::Vector3R
& beginUvw,
const
math::Vector3R
& endUvw);
21
22
private
:
23
math::Vector3R
m_beginUvw;
24
math::Vector3R
m_endUvw;
25
};
9
class
GradientImage
:
public
BinaryMixedImage
{
…
};
26
27
}
// end namespace ph
BinaryMixedImage.h
TVector3.h
ph::BinaryMixedImage
Definition
BinaryMixedImage.h:12
ph::CookingContext
Information about the world being cooked.
Definition
CookingContext.h:24
ph::GradientImage
Definition
GradientImage.h:10
ph::GradientImage::genColorTexture
std::shared_ptr< TTexture< math::Spectrum > > genColorTexture(const CookingContext &ctx) override
Definition
GradientImage.cpp:31
ph::GradientImage::GradientImage
GradientImage()
Definition
GradientImage.cpp:7
ph::GradientImage::genNumericTexture
std::shared_ptr< TTexture< Image::ArrayType > > genNumericTexture(const CookingContext &ctx) override
Definition
GradientImage.cpp:15
ph::GradientImage::setUvwEndpoints
void setUvwEndpoints(const math::Vector3R &beginUvw, const math::Vector3R &endUvw)
Definition
GradientImage.cpp:47
ph::math::TVector3< real >
ph
The root for all renderer implementations.
Definition
EEngineProject.h:6
Source
Actor
Image
GradientImage.h
Generated by
1.11.0