Public Member Functions | Private Attributes
bmdl_classify< T >::merge_map Class Reference

A helper class to manage merging of buildings. More...

List of all members.

Public Member Functions

 merge_map (bmdl_classify< T > *c)
 Constructor.
 ~merge_map ()
 Destructor - simplify merge map and apply to classifier.
unsigned int translate (unsigned int idx) const
 translate old index to temporary merged index.
void merge (unsigned int idx1, unsigned int idx2)
 merge two indices.

Private Attributes

bmdl_classify< T > * classifier_
vcl_vector< unsigned int > idx_map_

Detailed Description

template<class T>
class bmdl_classify< T >::merge_map

A helper class to manage merging of buildings.

Definition at line 122 of file bmdl_classify.h.


Constructor & Destructor Documentation

template<class T >
bmdl_classify< T >::merge_map::merge_map ( bmdl_classify< T > *  c)

Constructor.

Definition at line 615 of file bmdl_classify.txx.

template<class T >
bmdl_classify< T >::merge_map::~merge_map ( )

Destructor - simplify merge map and apply to classifier.

Definition at line 626 of file bmdl_classify.txx.


Member Function Documentation

template<class T >
void bmdl_classify< T >::merge_map::merge ( unsigned int  idx1,
unsigned int  idx2 
)

merge two indices.

Definition at line 682 of file bmdl_classify.txx.

template<class T >
unsigned int bmdl_classify< T >::merge_map::translate ( unsigned int  idx) const

translate old index to temporary merged index.

Definition at line 674 of file bmdl_classify.txx.


Member Data Documentation

template<class T>
bmdl_classify<T>* bmdl_classify< T >::merge_map::classifier_ [private]

Definition at line 134 of file bmdl_classify.h.

template<class T>
vcl_vector<unsigned int> bmdl_classify< T >::merge_map::idx_map_ [private]

Definition at line 135 of file bmdl_classify.h.


The documentation for this class was generated from the following files: