\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.2 - Three
CGAL::Three::Scene_item::Header_data Struct Reference

#include <CGAL/Three/Scene_item.h>

Definition

Contains the header for the table in the statistics dialog.

A header data is composed of 2 columns : the Categories and the titles. A category is the name given to an association of titles. A title is the name of a line.

* For example,
* Category :    | Titles| Values
* 2 lines       |       |
*  ____________________________
* |             |Name   |Cube |
* |             |_______|_____|
* |General Info | #Edges|12   |
* |_____________|_______|_____|
*
*  would be stored as follows :
* categories = std::pair<QString,int>(QString("General Info"),2)
* titles.append("Name");
* titles.append("#Edges");

Public Attributes

QList< std::pair< QString, int > > categories
 Contains the name of the category of statistics and the number of lines it will contain.
 
QList< QString > titles
 Contains the name of the lines of each category. Must be sorted from top to bottom.