Horizon
Loading...
Searching...
No Matches
horizon::Decal Class Reference
Inheritance diagram for horizon::Decal:
horizon::ObjectProvider horizon::LayerProvider

Public Member Functions

 Decal (const UUID &uu, const json &j)
 Decal (const UUID &uu)
json serialize () const
 Decal (const Decal &other)
void operator= (Decal const &other)
UUID get_uuid () const
std::pair< Coordi, Coordi > get_bbox () const
const std::map< int, Layer > & get_layers () const override
Junctionget_junction (const UUID &uu) override
Public Member Functions inherited from horizon::ObjectProvider
virtual class Polygonget_polygon (const UUID &uu)
Public Member Functions inherited from horizon::LayerProvider
std::vector< Layerget_layers_sorted (LayerSortOrder order) const
std::string get_layer_name (const class LayerRange &layer) const
std::set< int > get_layers_for_range (const class LayerRange &layer) const
int get_adjacent_layer (int layer, int dir) const
int get_color_layer (int layer) const
double get_layer_position (int layer) const

Static Public Member Functions

static Decal new_from_file (const std::string &filename)
static unsigned int get_app_version ()

Public Attributes

UUID uuid
std::string name
std::map< UUID, Junctionjunctions
std::map< UUID, Polygonpolygons
std::map< UUID, Linelines
std::map< UUID, Arcarcs
std::map< UUID, Texttexts
FileVersion version

Additional Inherited Members

Public Types inherited from horizon::LayerProvider
enum class  LayerSortOrder { TOP_TO_BOTTOM , BOTTOM_TO_TOP }

Member Function Documentation

◆ get_junction()

Junction * horizon::Decal::get_junction ( const UUID & uu)
overridevirtual

Reimplemented from horizon::ObjectProvider.

◆ get_layers()

const std::map< int, Layer > & horizon::Decal::get_layers ( ) const
overridevirtual

Reimplemented from horizon::LayerProvider.


The documentation for this class was generated from the following files: