Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine
1.5.20
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
z
Functions
a
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
b
d
f
i
m
s
v
w
Typedefs
a
b
c
f
g
i
k
o
r
s
t
v
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Macros
▼
Radium Engine
►
Radium Basics
►
Radium Concepts
►
Developer manual
►
Licenses
Todo List
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
▼
Core
►
Animation
▼
Asset
AnimationData.cpp
AnimationData.hpp
AnimationTime.hpp
AssetData.hpp
BlinnPhongMaterialData.cpp
BlinnPhongMaterialData.hpp
Camera.cpp
Camera.hpp
DataLoader.hpp
FileData.cpp
FileData.hpp
FileLoaderInterface.hpp
GeometryData.cpp
GeometryData.hpp
HandleData.cpp
HandleData.hpp
HandleToSkeleton.cpp
HandleToSkeleton.hpp
LightData.cpp
LightData.hpp
MaterialData.cpp
MaterialData.hpp
VolumeData.hpp
►
Containers
►
Geometry
►
Math
►
Resources
►
Tasks
►
Utils
CoreMacros.hpp
pch.hpp
RaCore.hpp
Types.hpp
►
Engine
►
Gui
►
Headless
►
IO
►
PluginBase
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
VolumeData.hpp
1
#pragma once
2
3
#include <Core/Asset/AssetData.hpp>
4
#include <
Core/Types.hpp
>
5
#include <Core/Utils/Color.hpp>
6
7
namespace
Ra
{
8
namespace
Core {
9
namespace
Geometry
{
10
class
AbstractVolume;
11
}
// namespace Geometry
12
13
namespace
Asset {
14
18
struct
VolumeData
:
public
AssetData
{
19
inline
VolumeData
(
const
std::string
& name =
""
) :
AssetData
( name ) {}
21
Geometry::AbstractVolume
*
volume
{
nullptr
};
23
Utils::Color
sigma_a
{ 0.0011_ra, 0.0024_ra, 0.014_ra };
25
Utils::Color
sigma_s
{ 2.55_ra, 3.21_ra, 3.77_ra };
26
28
Aabb
boundingBox
{ Vector3 { 0_ra, 0_ra, 0_ra }, Vector3 { 1_ra, 1_ra, 1_ra } };
31
Transform
densityToModel
{ Transform::Identity() };
33
Transform
modelToWorld
{ Transform::Identity() };
34
};
18
struct
VolumeData
:
public
AssetData
{
…
};
35
36
}
// namespace Asset
37
}
// namespace Core
38
}
// namespace Ra
Types.hpp
std::string
Ra::Core::Asset::AssetData
Definition
AssetData.hpp:17
Ra::Core::Asset::AssetData::AssetData
AssetData(const std::string &name)
Construct an asset data given its name.
Definition
AssetData.hpp:20
Ra::Core::Geometry::AbstractVolume
Definition
Volume.hpp:31
Ra::Core::Utils::ColorBase< Scalar >
Ra::Engine::Rendering::RenderObjectType::Geometry
@ Geometry
"Geometry" render objects are those loaded using Radium::IO and generated by GeometrySystem
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
Ra::Core::Asset::VolumeData
Definition
VolumeData.hpp:18
Ra::Core::Asset::VolumeData::densityToModel
Transform densityToModel
Definition
VolumeData.hpp:31
Ra::Core::Asset::VolumeData::boundingBox
Aabb boundingBox
The bounding box of the volume.
Definition
VolumeData.hpp:28
Ra::Core::Asset::VolumeData::volume
Geometry::AbstractVolume * volume
The underlaying density matrix.
Definition
VolumeData.hpp:21
Ra::Core::Asset::VolumeData::modelToWorld
Transform modelToWorld
Transformation matrix of the object.
Definition
VolumeData.hpp:33
Ra::Core::Asset::VolumeData::sigma_a
Utils::Color sigma_a
Absortion coefficient of the volume (default is Air)
Definition
VolumeData.hpp:23
Ra::Core::Asset::VolumeData::sigma_s
Utils::Color sigma_s
Scattering coefficient of the volume (default is Air)
Definition
VolumeData.hpp:25
src
Core
Asset
VolumeData.hpp
Generated by
1.12.0