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
IIndexMap.hpp
1
#pragma once
2
3
#include "DM/config.hpp"
4
#include "DM/ObjectBase.hpp"
5
#include "DM/Handle.hpp"
6
7
DM_NAMESPACE_BEGIN
8
9
/// \brief Interface to a set of histograms
10
class
DM_API
IIndexMap
:
public
ObjectBase
11
{
12
public
:
13
virtual
~
IIndexMap
() {}
14
15
// General member functions ====================================================================
16
virtual
IIndexMap
* clone()
const
= 0;
17
18
virtual
int
id()
const
= 0;
///< returns the id of the index mpa
19
20
virtual
int64_t size()
const
= 0;
///< size of index map
21
virtual
int64_t operator[](
const
int64_t index)
const
= 0;
///< access mapped index value
22
};
23
24
typedef
Handle<IIndexMap>
IndexMapHandle
;
25
26
DM_NAMESPACE_END
DM::IIndexMap
Interface to a set of histograms.
Definition:
IIndexMap.hpp:10
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