Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Namespaces | Macros | Functions
altimetry_file_reader.cpp File Reference

Provides for reading back an altimetry written in a file. More...

#include <cassert>
#include <boost/foreach.hpp>
#include <boost/exception/errinfo_file_name.hpp>
#include <boost/exception/errinfo_at_line.hpp>
#include <boost/exception/errinfo_errno.hpp>
#include "rply.h"
#include "altimetry_file_reader_impl.h"
Include dependency graph for altimetry_file_reader.cpp:

Go to the source code of this file.

Namespaces

 tympan
 

Macros

#define DECLARE_AND_FETCH_PLY_CALLBACK_INFO
 macro which extract all relevant callback information form RPLY More...
 

Functions

std::unique_ptr< IMeshReadertympan::make_altimetry_ply_reader (const std::string filename)
 @ Makes a reader for the file name given as argument More...
 

Detailed Description

Provides for reading back an altimetry written in a file.

Author
Anthony Truchet antho.nosp@m.ny.t.nosp@m.ruche.nosp@m.t@lo.nosp@m.gilab.nosp@m..fr

Definition in file altimetry_file_reader.cpp.

Macro Definition Documentation

◆ DECLARE_AND_FETCH_PLY_CALLBACK_INFO

#define DECLARE_AND_FETCH_PLY_CALLBACK_INFO
Value:
long idata; \
void* pdata; \
tympan::AltimetryPLYReader* p_reader; \
long instance_index; \
p_ply_element element; \
double value; \
ply_get_argument_user_data(argument, &pdata, &idata); \
p_reader = (tympan::AltimetryPLYReader*)pdata; \
ply_get_argument_element(argument, &element, &instance_index); \
value = ply_get_argument_value(argument);
read an Altimetry from a PLY file.

macro which extract all relevant callback information form RPLY

Definition at line 215 of file altimetry_file_reader.cpp.