adamantine
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
adamantine::RayTracing Class Referencefinal

#include <RayTracing.hh>

Inheritance diagram for adamantine::RayTracing:
adamantine::ExperimentalData< 3 >

Public Member Functions

 RayTracing (boost::property_tree::ptree const &experiment_database, dealii::DoFHandler< dim > const &dof_handler)
 
unsigned int read_next_frame () override
 
PointsValues< dimget_points_values () override
 
- Public Member Functions inherited from adamantine::ExperimentalData< 3 >
virtual ~ExperimentalData ()=default
 

Static Public Attributes

static constexpr int dim = 3
 

Private Attributes

unsigned int _next_frame
 
unsigned int _first_camera_id
 
unsigned int _last_camera_id
 
std::string _data_filename
 
dealii::DoFHandler< dim > const & _dof_handler
 
std::vector< Ray< dim > > _rays_current_frame
 
std::vector< double > _values_current_frame
 

Detailed Description

This class performs ray tracing

Definition at line 33 of file RayTracing.hh.

Constructor & Destructor Documentation

◆ RayTracing()

adamantine::RayTracing::RayTracing ( boost::property_tree::ptree const &  experiment_database,
dealii::DoFHandler< dim > const &  dof_handler 
)

Constructor.

Definition at line 116 of file RayTracing.cc.

Member Function Documentation

◆ get_points_values()

PointsValues< 3 > adamantine::RayTracing::get_points_values ( )
overridevirtual

Return the Points and their associated value (temperature).

Implements adamantine::ExperimentalData< 3 >.

Definition at line 206 of file RayTracing.cc.

◆ read_next_frame()

unsigned int adamantine::RayTracing::read_next_frame ( )
overridevirtual

Read data from the next frame and return the frame ID.

Implements adamantine::ExperimentalData< 3 >.

Definition at line 133 of file RayTracing.cc.

Member Data Documentation

◆ _data_filename

std::string adamantine::RayTracing::_data_filename
private

Generic file name of the frames.

Definition at line 64 of file RayTracing.hh.

◆ _dof_handler

dealii::DoFHandler<dim> const& adamantine::RayTracing::_dof_handler
private

DoFHandler of the mesh we want to perform the ray tracing on.

Definition at line 68 of file RayTracing.hh.

◆ _first_camera_id

unsigned int adamantine::RayTracing::_first_camera_id
private

ID of the first camera.

Definition at line 56 of file RayTracing.hh.

◆ _last_camera_id

unsigned int adamantine::RayTracing::_last_camera_id
private

ID of the last camera.

Definition at line 60 of file RayTracing.hh.

◆ _next_frame

unsigned int adamantine::RayTracing::_next_frame
private

Next frame that should be read.

Definition at line 52 of file RayTracing.hh.

◆ _rays_current_frame

std::vector<Ray<dim> > adamantine::RayTracing::_rays_current_frame
private

Rays associated to the current frame.

Definition at line 72 of file RayTracing.hh.

◆ _values_current_frame

std::vector<double> adamantine::RayTracing::_values_current_frame
private

Values associated to the rays of the current frame.

Definition at line 76 of file RayTracing.hh.

◆ dim

constexpr int adamantine::RayTracing::dim = 3
staticconstexpr

Definition at line 36 of file RayTracing.hh.