Example of how to create a simple table from a std::vector< std::vector<> >
.
typedef float Tvalue;// Any type provided >> and << operators are defined
// Use alias for std::vector<std::vector<>> for simplicity
template <class T>
using Matrix = std::vector< std::vector<T> >;
GlvTableView< Matrix<Tvalue> >* table_view2D = new GlvTableView< Matrix<Tvalue> >(matrix2D);
table_view2D->show();
More details in sample004_4.cpp.