Technische Universität Wien
Orientation and Processing of Airborne Laser Scanning data
Department of Geodesy and Geoinformation - Research Groups Photogrammetry and Remote Sensing
distro
c++_api
inc
opals
IRoadStats.hpp
1
#pragma once
2
3
#include <opals/IModuleBase.hpp>
4
#include <opals/Path.hpp>
5
#include <opals/Vector.hpp>
6
7
#if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
8
#if defined _DEBUG && !defined OPALS_NO_DEBUG
9
#pragma comment(lib, "opalsRoadStats_d.lib")
10
#else
11
#pragma comment(lib, "opalsRoadStats.lib")
12
#endif
13
#endif
14
15
namespace
opals
{
16
17
namespace
opts
18
{
19
/// Options of \ref ModuleRoadStats
20
namespace
RoadStats
21
{
22
/// Options of \ref ModuleRoadStats
23
using
Options
=
24
IGroup
< Names::_,
25
IValue< Names::axisFile, false, Path >
,
26
IValue< Names::inFile, false, Vector<Path>
>,
27
IValue< Names::weightFunc, false, Vector<double>
>
28
>;
29
}
30
}
31
32
/// Derives road statistics parameter based on the road axis and a road probability grid.
33
/** TODO:
34
More details on opalsRoadStats with much more words,
35
possibly on several lines. */
36
/// \see \ref ModuleRoadStats
37
class
OPALS_API
IRoadStats
:
virtual
public
IModuleBase
38
{
39
40
public
:
41
static
IRoadStats
* New();
42
static
IRoadStats
* New(
IControlObject
&controlObject );
43
static
IRoadStats
* New(
const
IModuleBase
&parent );
44
static
IRoadStats
* New(
const
IModuleBase
&parent,
IControlObject
&controlObject );
45
46
virtual
~
IRoadStats
() {}
47
48
/// \name Access to module-specific options.
49
///@{
50
using
Options
=
opts::RoadStats::Options
;
51
Options
& opts()
override
= 0;
52
const
Options
& opts()
const override
= 0;
53
///@}
54
55
};
56
57
};
opals::opts::RoadStats::Options
IGroup< Names::_, IValue< Names::axisFile, false, Path >, IValue< Names::inFile, false, Vector< Path > >, IValue< Names::weightFunc, false, Vector< double > > > Options
Options of Module RoadStats.
Definition:
IRoadStats.hpp:28
opals::opts::IValue
A leaf that holds a value.
Definition:
IOption.hpp:62
opals
Contains the public interface of OPALS.
Definition:
AbsValueOrQuantile.hpp:8
opals::IRoadStats
Derives road statistics parameter based on the road axis and a road probability grid.
Definition:
IRoadStats.hpp:37
opals::IModuleBase
Abstract base class of all opals modules.
Definition:
IModuleBase.hpp:13
opals::IControlObject
Interface for retrieving status and progress information from a module run.
Definition:
c++_api/inc/opals/IControlObject.hpp:30
opals::opts::IGroup
A group of options.
Definition:
IOption.hpp:136