OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
AnimatedTexture.cpp File Reference
#include "AnimatedTexture.hpp"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <fstream>
#include <ios>
#include <iterator>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/log/trivial.hpp>
#include <boost/system/error_code.hpp>
#include <wx/animdecod.h>
#include <wx/gdicmn.h>
#include <wx/gifdecod.h>
#include <wx/image.h>
#include <wx/log.h>
#include <wx/mstream.h>
#include "slic3r/GUI/GLTexture.hpp"
Include dependency graph for AnimatedTexture.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::DecodedFrame

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI
namespace  Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}

Functions

std::vector< unsigned char > Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::read_file_bytes (const std::string &path)
bool Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::has_gif_signature (const std::vector< unsigned char > &bytes)
std::vector< unsigned char > Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::image_to_rgba (const wxImage &image)
bool Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::decode_gif (const std::vector< unsigned char > &bytes, int &width, int &height, std::vector< DecodedFrame > &out)

Class Documentation

◆ Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::DecodedFrame

struct Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::DecodedFrame
Collaboration diagram for Slic3r::GUI::anonymous_namespace{AnimatedTexture.cpp}::DecodedFrame:
Class Members
double delay
vector< unsigned char > rgba