Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Asset::VolumeData Struct Reference

#include <Core/Asset/VolumeData.hpp>

+ Inheritance diagram for Ra::Core::Asset::VolumeData:
+ Collaboration diagram for Ra::Core::Asset::VolumeData:

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::stringgetName () const
 Acces to the name of the asset.
 

Public Attributes

Geometry::AbstractVolumevolume { 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
 

Detailed Description

Participating media defined by a grid density

Definition at line 18 of file VolumeData.hpp.

Constructor & Destructor Documentation

◆ VolumeData()

Ra::Core::Asset::VolumeData::VolumeData ( const std::string & name = "")
inline

Definition at line 19 of file VolumeData.hpp.

Member Data Documentation

◆ boundingBox

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.

◆ densityToModel

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.

◆ modelToWorld

Transform Ra::Core::Asset::VolumeData::modelToWorld { Transform::Identity() }

Transformation matrix of the object.

Definition at line 33 of file VolumeData.hpp.

◆ sigma_a

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.

◆ sigma_s

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.

◆ volume

Geometry::AbstractVolume* Ra::Core::Asset::VolumeData::volume { nullptr }

The underlaying density matrix.

Definition at line 21 of file VolumeData.hpp.


The documentation for this struct was generated from the following file: