Technische Universität Wien
Orientation and Processing of Airborne Laser Scanning data
Department of Geodesy and Geoinformation - Research Groups Photogrammetry and Remote Sensing
distroDM
c++_api
inc
DM
IFilterStats.hpp
1
#pragma once
2
3
4
#include "DM/IGeometry.hpp"
5
#include "DM/AutoLink.hpp"
//enable autolink
6
7
DM_NAMESPACE_BEGIN
8
9
/// \brief accumulate statistical information about the results of filtering
10
/** May be attached to an IFilter, in which case accumulate(.) is called for every result, just before it is returned from the filter.
11
Mind that IFilter::clone() does not clone its IFilterStats.
12
Thus, if IFilterStats shall be called from multiple threads, then you may need to implement a mutex.
13
*/
14
class
DM_API
IFilterStats
:
public
ObjectBase
15
{
16
public
:
17
virtual
void
accumulate(
GeometryHandle
filtered,
GeometryHandle
orig,
bool
filterResult ) = 0;
18
};
19
20
typedef
Handle< IFilterStats >
FilterStatsHandle
;
21
22
23
DM_NAMESPACE_END
DM::IFilterStats
accumulate statistical information about the results of filtering
Definition:
IFilterStats.hpp:14
DM::Handle
Smart pointer class using reference counting with support for DM objects (see ObjectBase)
Definition:
Handle.hpp:75
DM::ObjectBase
Definition:
M/c++_api/inc/DM/ObjectBase.hpp:8