Horizon
layer_display.hpp
1 #pragma once
2 #include "common/common.hpp"
3 
4 namespace horizon {
5 class LayerDisplay {
6 public:
7  enum class Mode { OUTLINE, HATCH, FILL, FILL_ONLY, N_MODES };
8  LayerDisplay(bool vi, Mode mo) : visible(vi), mode(mo)
9  {
10  }
11  LayerDisplay()
12  {
13  }
14 
15  bool visible = true;
16  Mode mode = Mode::FILL;
17  uint32_t types_visible = 0xffffffff; // bit mask of Triangle::Type
18  uint32_t types_force_outline = 0; // bit mask of Triangle::Type
19 };
20 } // namespace horizon
horizon::LayerDisplay
Definition: layer_display.hpp:5
libzip::uint32_t
zip_uint32_t uint32_t
zip_uint32_t typedef.
Definition: zip.hpp:98