\( \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 5.0.2 - Three
TextListItem Class Reference

#include <CGAL/Three/TextRenderer.h>

Definition

This is a list of TextItems associated with a CGAL::Three::Scene_item.

Public Member Functions

 TextListItem (CGAL::Three::Scene_item *pItem)
 The Constructor. More...
 
CGAL::Three::Scene_itemitem () const
 The associated CGAL::Three::Scene_item.
 
QList< TextItem * > textList () const
 The list of TextItems.
 
void append (TextItem *ti)
 Adds a ti to the list.
 
void clear ()
 Clears the list of all the TextItems.
 
bool isEmpty () const
 Tells if the list there is any TextItem in the list. More...
 
std::size_t size () const
 The size of the list.
 

Constructor & Destructor Documentation

◆ TextListItem()

TextListItem::TextListItem ( CGAL::Three::Scene_item pItem)

The Constructor.

Parameters
pItemthe CGAL::Three::Scene_item associated to the list.

Member Function Documentation

◆ isEmpty()

bool TextListItem::isEmpty ( ) const

Tells if the list there is any TextItem in the list.

Returns
true if there is no TextItem in the list
false if there is any TextItem in the list