OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
TextureLibrary.hpp File Reference
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "libslic3r/TextureDisplacement.hpp"
Include dependency graph for TextureLibrary.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::GUI::TextureLibraryEntry

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

Enumerations

enum class  Slic3r::GUI::TextureSource { Slic3r::GUI::Shipped , Slic3r::GUI::User , Slic3r::GUI::Plugin }

Functions

const std::vector< TextureLibraryEntry > & Slic3r::GUI::texture_library (bool force_rescan)
uint64_t Slic3r::GUI::texture_library_generation ()
void Slic3r::GUI::bump_texture_library_generation ()
void Slic3r::GUI::touch_user_texture (const std::string &path)
bool Slic3r::GUI::remove_user_texture (const std::string &path, std::string &error)
std::string Slic3r::GUI::user_texture_dir ()
std::optional< TextureLibraryEntry > Slic3r::GUI::import_texture_to_library (const std::string &source_path, std::string &error)
std::shared_ptr< std::vector< unsigned char > > Slic3r::GUI::load_texture_image_data (const std::string &path, std::string &error)
std::optional< TextureLibraryEntry > Slic3r::GUI::save_texture_to_library (const DecodedHeightTexture &image, const std::string &stem, std::string &error)

Class Documentation

◆ Slic3r::GUI::TextureLibraryEntry

struct Slic3r::GUI::TextureLibraryEntry
Collaboration diagram for Slic3r::GUI::TextureLibraryEntry:
Class Members
string name
string pack_name
string path
TextureSource source