#ifndef slic3r_ThumbnailData_hpp_ #define slic3r_ThumbnailData_hpp_ #include #include "libslic3r/Point.hpp" namespace Slic3r { struct ThumbnailData { unsigned int width; unsigned int height; std::vector pixels; ThumbnailData() { reset(); } void set(unsigned int w, unsigned int h); void reset(); bool is_valid() const; }; typedef std::vector ThumbnailsList; typedef std::function ThumbnailsGeneratorCallback; } // namespace Slic3r #endif // slic3r_ThumbnailData_hpp_