adamantine
Public Member Functions | Private Attributes | List of all members
adamantine::PointCloud< dim > Class Template Referencefinal

#include <PointCloud.hh>

Inheritance diagram for adamantine::PointCloud< dim >:
adamantine::ExperimentalData< dim >

Public Member Functions

 PointCloud (boost::property_tree::ptree const &experiment_database)
 
unsigned int read_next_frame () override
 
PointsValues< dim > get_points_values () override
 
- Public Member Functions inherited from adamantine::ExperimentalData< dim >
virtual ~ExperimentalData ()=default
 

Private Attributes

unsigned int _next_frame
 
unsigned int _first_camera_id
 
unsigned int _last_camera_id
 
std::string _data_filename
 
PointsValues< dim > _points_values_current_frame
 

Detailed Description

template<int dim>
class adamantine::PointCloud< dim >

Point cloud with the associated temperature.

Definition at line 18 of file PointCloud.hh.

Constructor & Destructor Documentation

◆ PointCloud()

template<int dim>
adamantine::PointCloud< dim >::PointCloud ( boost::property_tree::ptree const &  experiment_database)

Constructor.

Definition at line 15 of file PointCloud.cc.

Member Function Documentation

◆ get_points_values()

template<int dim>
PointsValues< dim > adamantine::PointCloud< dim >::get_points_values ( )
overridevirtual

Return the Points and their associated value (temperature).

Implements adamantine::ExperimentalData< dim >.

Definition at line 96 of file PointCloud.cc.

◆ read_next_frame()

template<int dim>
unsigned int adamantine::PointCloud< dim >::read_next_frame ( )
overridevirtual

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

Implements adamantine::ExperimentalData< dim >.

Definition at line 31 of file PointCloud.cc.

Member Data Documentation

◆ _data_filename

template<int dim>
std::string adamantine::PointCloud< dim >::_data_filename
private

Generic file name of the frames.

Definition at line 46 of file PointCloud.hh.

◆ _first_camera_id

template<int dim>
unsigned int adamantine::PointCloud< dim >::_first_camera_id
private

ID of the first camera.

Definition at line 38 of file PointCloud.hh.

◆ _last_camera_id

template<int dim>
unsigned int adamantine::PointCloud< dim >::_last_camera_id
private

ID of the last camera.

Definition at line 42 of file PointCloud.hh.

◆ _next_frame

template<int dim>
unsigned int adamantine::PointCloud< dim >::_next_frame
private

Next frame that should be read.

Definition at line 34 of file PointCloud.hh.

◆ _points_values_current_frame

template<int dim>
PointsValues<dim> adamantine::PointCloud< dim >::_points_values_current_frame
private

Values and associated points of the current frame.

Definition at line 50 of file PointCloud.hh.