Helios++
Helios software for LiDAR simulations
|
Class representing a Helios++ survey. More...
#include <Survey.h>
Public Member Functions | |
Survey ()=default | |
Survey default constructor. | |
Survey (Survey &survey) | |
void | addLeg (int insertIndex, std::shared_ptr< Leg > leg) |
Add a leg to the survey at given index. More... | |
void | removeLeg (int legIndex) |
Remove a leg from the survey. More... | |
void | calculateLength () |
Compute survey length (distance passing through all legs) More... | |
double | getLength () |
Obtain survey length (distance passing through all legs) More... | |
![]() | |
std::string | getLocationString () |
Obtain asset location string. More... | |
Public Attributes | |
std::string | name = "Unnamed Survey Playback" |
Survey name. | |
int | numRuns = -1 |
Number of runs for the survey. | |
std::shared_ptr< Scanner > | scanner = nullptr |
Scanner used by the survey. More... | |
double | simSpeedFactor = 1 |
Simulation speed factor for the survey. | |
std::vector< std::shared_ptr< Leg > > | legs |
All legs belonging to the survey. More... | |
![]() | |
std::string | id = "" |
Asset identifier. | |
std::string | name = "Unnamed Asset" |
Asset name. | |
std::string | sourceFilePath = "" |
Path to asset file. | |
Private Attributes | |
double | length = 0 |
Distance passing through all legs. | |
Class representing a Helios++ survey.
void Survey::addLeg | ( | int | insertIndex, |
std::shared_ptr< Leg > | leg | ||
) |
void Survey::calculateLength | ( | ) |
Compute survey length (distance passing through all legs)
double Survey::getLength | ( | ) |
Obtain survey length (distance passing through all legs)
void Survey::removeLeg | ( | int | legIndex | ) |
Remove a leg from the survey.
legIndex | Index of the leg to be removed from the survey |