Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenricoturri1966 <enricoturri@seznam.cz>2020-04-20 11:52:16 +0300
committerenricoturri1966 <enricoturri@seznam.cz>2020-04-20 11:52:16 +0300
commit6e5a6f3b43f7a29c6bd0d79207068298772c5be4 (patch)
tree195c83cd2514f7c2513c25d789f3ce5dfb57bce5 /src/libslic3r/GCode/PreviewData.hpp
parent179dbc7d0e10c6a7d76f1a0438de78d19e3d4e03 (diff)
GCodeViewer -> Extrusion toolpaths colored by height
Diffstat (limited to 'src/libslic3r/GCode/PreviewData.hpp')
-rw-r--r--src/libslic3r/GCode/PreviewData.hpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/libslic3r/GCode/PreviewData.hpp b/src/libslic3r/GCode/PreviewData.hpp
index 35bbfa50a..c0f768088 100644
--- a/src/libslic3r/GCode/PreviewData.hpp
+++ b/src/libslic3r/GCode/PreviewData.hpp
@@ -56,8 +56,7 @@ public:
// Color mapping to convert a float into a smooth rainbow of 10 colors.
class RangeBase
{
- public:
-
+ public:
virtual void reset() = 0;
virtual bool empty() const = 0;
virtual float min() const = 0;
@@ -73,7 +72,7 @@ public:
// Color mapping converting a float in a range between a min and a max into a smooth rainbow of 10 colors.
class Range : public RangeBase
{
- public:
+ public:
Range();
// RangeBase Overrides
@@ -97,8 +96,7 @@ public:
template <typename EnumRangeType>
class MultiRange : public RangeBase
{
- public:
-
+ public:
void reset() override
{
bounds = decltype(bounds){};
@@ -160,8 +158,7 @@ public:
mode.set(static_cast<std::size_t>(range_type_value), enable);
}
- private:
-
+ private:
// Interval bounds
struct Bounds
{