Helios++
Helios software for LiDAR simulations
|
SurveyDemo class. More...
#include <SurveyDemo.h>
Public Member Functions | |
SurveyDemo (string const name, string const surveyPath, string const assetsPath) | |
Survey demo constructor. More... | |
bool | validateSurveyPath () |
Check whether the survey path points to an accessible file (true) or not (false) More... | |
bool | validateAssetsPath () |
Check whether the assets path points to an accessible directory (true) or not (false) More... | |
string const & | getSurveyPath () const |
Get survey path. More... | |
void | setSurveyPath (string const surveyPath) |
Set survey path. More... | |
string const & | getAssetsPath () const |
Get assets path. More... | |
void | setAssetsPath (string const assetsPath) |
Set assets path. More... | |
Protected Attributes | |
string | surveyPath |
Path to the survey XML file. | |
string | assetsPath |
Path to the assets directory. | |
Additional Inherited Members | |
![]() | |
BaseDemo (string const name) | |
Base demo constructor. More... | |
string | getName () |
Obtain the demo name. More... | |
virtual void | run ()=0 |
Run the demo itself. More... | |
![]() | |
string const | name |
The name for the demo. | |
SurveyDemo class.
Can be overridden to implement new demos which use a survey or some of its components (for instance, a scene)
NOTICE this is an abstract class which does not provides an implementation for the run method. In consequence, any class which extends SurveyDemo stills needing to provide an implementation of run method defining the demo behavior
|
inline |
Survey demo constructor.
name | Name for the demo |
surveyPath | Path to the survey XML file |
|
inline |
|
inline |
|
inline |
|
inline |
bool SurveyDemo::validateAssetsPath | ( | ) |
Check whether the assets path points to an accessible directory (true) or not (false)
bool SurveyDemo::validateSurveyPath | ( | ) |
Check whether the survey path points to an accessible file (true) or not (false)