Defines | Functions
contrib/mul/mbl/mbl_data_collector.txx File Reference
#include "mbl_data_collector.h"
#include <vcl_cassert.h>
#include <vcl_algorithm.h>

Go to the source code of this file.

Defines

#define mbl_data_collector_txx_
#define MBL_DATA_COLLECTOR_INSTANTIATE(T)

Functions

template<class T >
unsigned long mbl_data_collector_copy_all (mbl_data_collector< T > &dest, mbl_data_wrapper< T > &src)
 Copy all the data from a mbl_data_wrapper<T> into a mbl_data_collector<T>.
template<class T >
unsigned long mbl_data_collector_merge_all (mbl_data_collector< T > &dest, mbl_data_wrapper< T > &src0, mbl_data_wrapper< T > &src1, vcl_vector< unsigned > *order)
 Merge all the data from the two mbl_data_wrapper-s into one mbl_data_collector<T>.

Detailed Description

Definition in file mbl_data_collector.txx.


Define Documentation

#define MBL_DATA_COLLECTOR_INSTANTIATE (   T)
Value:
template class mbl_data_collector<T >; \
template unsigned long mbl_data_collector_copy_all(mbl_data_collector<T > &dest, \
                                    mbl_data_wrapper<T > &src);\
template unsigned long mbl_data_collector_merge_all(mbl_data_collector<T > &dest,\
                                    mbl_data_wrapper<T > &src1,\
                                    mbl_data_wrapper<T > &src2,\
                                    vcl_vector<unsigned > *order)

Definition at line 112 of file mbl_data_collector.txx.

#define mbl_data_collector_txx_

Definition at line 3 of file mbl_data_collector.txx.


Function Documentation

template<class T >
unsigned long mbl_data_collector_copy_all ( mbl_data_collector< T > &  dest,
mbl_data_wrapper< T > &  src 
)

Copy all the data from a mbl_data_wrapper<T> into a mbl_data_collector<T>.

Copy all the data from a mbl_data_wrapper<vnl_vector<double> > into a mbl_data_collector.

Definition at line 33 of file mbl_data_collector.txx.

template<class T >
unsigned long mbl_data_collector_merge_all ( mbl_data_collector< T > &  dest,
mbl_data_wrapper< T > &  src0,
mbl_data_wrapper< T > &  src1,
vcl_vector< unsigned > *  order 
)

Merge all the data from the two mbl_data_wrapper-s into one mbl_data_collector<T>.

Merge all the data from two mbl_data_wrapper-s into one mbl_data_collector.

Definition at line 50 of file mbl_data_collector.txx.