Radium Engine
1.5.20
|
#include <Core/Asset/VolumeData.hpp>
Public Member Functions | |
VolumeData (const std::string &name="") | |
Public Member Functions inherited from Ra::Core::Asset::AssetData | |
AssetData (const std::string &name) | |
Construct an asset data given its name. | |
AssetData (const AssetData &other)=default | |
Copy constructor. Default here. | |
virtual | ~AssetData () |
Simple delete operator. | |
virtual const std::string & | getName () const |
Acces to the name of the asset. | |
Public Attributes | |
Geometry::AbstractVolume * | volume { nullptr } |
The underlaying density matrix. | |
Utils::Color | sigma_a { 0.0011_ra, 0.0024_ra, 0.014_ra } |
Absortion coefficient of the volume (default is Air) | |
Utils::Color | sigma_s { 2.55_ra, 3.21_ra, 3.77_ra } |
Scattering coefficient of the volume (default is Air) | |
Aabb | boundingBox { Vector3 { 0_ra, 0_ra, 0_ra }, Vector3 { 1_ra, 1_ra, 1_ra } } |
The bounding box of the volume. | |
Transform | densityToModel { Transform::Identity() } |
Transform | modelToWorld { Transform::Identity() } |
Transformation matrix of the object. | |
Additional Inherited Members | |
Protected Attributes inherited from Ra::Core::Asset::AssetData | |
std::string | m_name |
Participating media defined by a grid density
Definition at line 18 of file VolumeData.hpp.
|
inline |
Definition at line 19 of file VolumeData.hpp.
Aabb Ra::Core::Asset::VolumeData::boundingBox { Vector3 { 0_ra, 0_ra, 0_ra }, Vector3 { 1_ra, 1_ra, 1_ra } } |
The bounding box of the volume.
Definition at line 28 of file VolumeData.hpp.
Transform Ra::Core::Asset::VolumeData::densityToModel { Transform::Identity() } |
Transformation matrix to go from the associated geometry frame to the canonical [0, 1]^3 density domain
Definition at line 31 of file VolumeData.hpp.
Transform Ra::Core::Asset::VolumeData::modelToWorld { Transform::Identity() } |
Transformation matrix of the object.
Definition at line 33 of file VolumeData.hpp.
Utils::Color Ra::Core::Asset::VolumeData::sigma_a { 0.0011_ra, 0.0024_ra, 0.014_ra } |
Absortion coefficient of the volume (default is Air)
Definition at line 23 of file VolumeData.hpp.
Utils::Color Ra::Core::Asset::VolumeData::sigma_s { 2.55_ra, 3.21_ra, 3.77_ra } |
Scattering coefficient of the volume (default is Air)
Definition at line 25 of file VolumeData.hpp.
Geometry::AbstractVolume* Ra::Core::Asset::VolumeData::volume { nullptr } |
The underlaying density matrix.
Definition at line 21 of file VolumeData.hpp.