SkelGIS
3.0
|
fourth specialization of DPMap_Edges More...
#include <dpmap_edges.hpp>
Public Types | |
typedef DPMap_Edges_impl< DD, T *, 0 > | impl_type |
Public Member Functions | |
DPMap_Edges (DD &dag, const char *file, unsigned int size) | |
constructor of DPMap_Edges | |
DPMap_Edges (DD &dag, T val, const unsigned int size) | |
constructor of DPMap_Edges | |
DPMap_Edges (DPMap_Edges_impl< DD, T *, 0 > *p) | |
constructor from a DPMap_Edges_impl pointer | |
~DPMap_Edges () | |
destructor of DPMap_Edges | |
DPMap_Edges_impl< DD, T *, 0 > * | getDPMap () |
to get the pointer on dpmap_impl | |
iterator_dag | begin () |
to get the begin iterator on edges | |
iterator_dag | end () |
to get the end iterator on edges | |
T * | operator[] (iterator_dag it) |
to get the value of the property map at the iterator position | |
iterator_dag | getSrcNode (iterator_dag it) |
to get an iterator on the source node of the edge | |
iterator_dag | getDstNode (iterator_dag it) |
to get an iterator on the destination node of the edge | |
Protected Attributes | |
bool | ptr_const |
DPMap_Edges_impl< DD, T *, 0 > * | dpmap |
fourth specialization of DPMap_Edges
DD | is the type of the DDAG |
T | is the type of data in the property map overlap is the overlap size needed to compute the data |
size | is the number of elements at each node |
The type T is specialized with a specific pointer type in this case as float*, double*, int* etc. The overlap is specialized to the value 0 The size is not specialized, it is the number of elements in the pointer table to map
Definition at line 539 of file dpmap_edges.hpp.
skelgis::DPMap_Edges< DD, T *, 0 >::DPMap_Edges | ( | DD & | dag, |
const char * | file, | ||
unsigned int | size | ||
) | [inline] |
constructor of DPMap_Edges
dag | is the DDAG object associated to this map |
file | is the file with initial values of edges wanted (each line is the value of the node "number of this line" associated in the .dot file) |
Definition at line 555 of file dpmap_edges.hpp.
skelgis::DPMap_Edges< DD, T *, 0 >::DPMap_Edges | ( | DD & | dag, |
T | val, | ||
const unsigned int | size | ||
) | [inline] |
constructor of DPMap_Edges
dag | is the DDAG object associated to this map |
val | is the default value of edges for the map |
Definition at line 567 of file dpmap_edges.hpp.
skelgis::DPMap_Edges< DD, T *, 0 >::DPMap_Edges | ( | DPMap_Edges_impl< DD, T *, 0 > * | p | ) | [inline] |
constructor from a DPMap_Edges_impl pointer
pointer | to a DPMap_Edges_impl |
Definition at line 578 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T *, 0 >::begin | ( | ) | [inline] |
to get the begin iterator on edges
Definition at line 607 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T *, 0 >::end | ( | ) | [inline] |
to get the end iterator on edges
Definition at line 614 of file dpmap_edges.hpp.
DPMap_Edges_impl<DD,T*,0>* skelgis::DPMap_Edges< DD, T *, 0 >::getDPMap | ( | ) | [inline] |
to get the pointer on dpmap_impl
Definition at line 600 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T *, 0 >::getDstNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the destination node of the edge
Definition at line 635 of file dpmap_edges.hpp.
iterator_dag skelgis::DPMap_Edges< DD, T *, 0 >::getSrcNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the source node of the edge
Definition at line 628 of file dpmap_edges.hpp.
T* skelgis::DPMap_Edges< DD, T *, 0 >::operator[] | ( | iterator_dag | it | ) | [inline] |
to get the value of the property map at the iterator position
Definition at line 621 of file dpmap_edges.hpp.