CGAL 5.0.2 - Three
|
#include <CGAL/Three/Scene_print_item_interface.h>
An item that wants to print its primitive IDs must derive from this interface.
Public Member Functions | |
virtual void | printPrimitiveId (QPoint, CGAL::Three::Viewer_interface *)=0 |
Finds the spot the closest to point and prints the id of the corresponding Primitive (vertex, edge or face). | |
virtual bool | printVertexIds () const =0 |
Prints all the vertices ids if their number is not too high. More... | |
virtual bool | printEdgeIds () const =0 |
Prints all the edges ids if their number is not too high. More... | |
virtual bool | printFaceIds () const =0 |
Prints all the faces ids if their number is not too high. More... | |
virtual void | printAllIds ()=0 |
Prints all the primitive ids if their number is not too high. More... | |
virtual bool | testDisplayId (double, double, double, CGAL::Three::Viewer_interface *) const =0 |
Tests if an id should be displayed or not. More... | |
virtual bool | shouldDisplayIds (CGAL::Three::Scene_item *test_item) const =0 |
Tests if this item should display its ids. More... | |
|
pure virtual |
Prints all the primitive ids if their number is not too high.
The limit is editable in the View menu of the application.
|
pure virtual |
Prints all the edges ids if their number is not too high.
The limit is editable in the View menu of the application.
false
if the number of ids is too high to be displayed.
|
pure virtual |
Prints all the faces ids if their number is not too high.
The limit is editable in the View menu of the application.
false
if the number of ids is too high to be displayed.
|
pure virtual |
Prints all the vertices ids if their number is not too high.
The limit is editable in the View menu of the application.
false
if the number of ids is too high to be displayed.
|
pure virtual |
Tests if this item should display its ids.
The default behavior is to only display ids of the currently selected item (
test_item | the currently tested TextListItem. |
test_item
is tested.
|
pure virtual |
Tests if an id should be displayed or not.