CGAL 5.3 - Classification
|
#include <CGAL/Classification/Label.h>
Classification label (for example: vegetation, ground, etc.).
CGAL::Classification::Label_set
object. Access | |
const std::string & | name () const |
returns the name of the classification label (e.g. More... | |
std::size_t | index () const |
returns the index of the classification label in the label set. More... | |
std::size_t | standard_index () const |
returns the standard index of the classification label (e.g. More... | |
const CGAL::IO::Color & | color () const |
returns the color used to represent the label. More... | |
Modification | |
void | set_name (const std::string &name) |
void | set_standard_index (std::size_t idx) |
void | set_color (const IO::Color &color) |
const CGAL::IO::Color& CGAL::Classification::Label::color | ( | ) | const |
returns the color used to represent the label.
Color_channel
). std::size_t CGAL::Classification::Label::index | ( | ) | const |
returns the index of the classification label in the label set.
const std::string& CGAL::Classification::Label::name | ( | ) | const |
returns the name of the classification label (e.g.
vegetation).
std::size_t CGAL::Classification::Label::standard_index | ( | ) | const |
returns the standard index of the classification label (e.g.
index in the ASPRS standard).