2 #include <Process/Dataflow/Port.hpp>
3 #include <Process/Drop/ProcessDropHandler.hpp>
4 #include <Process/GenericProcessFactory.hpp>
5 #include <Process/Process.hpp>
7 #include <Gfx/CommandFactory.hpp>
8 #include <Gfx/Graph/ImageNode.hpp>
9 #include <Gfx/Images/Metadata.hpp>
10 #include <Library/LibraryInterface.hpp>
12 #include <score/command/PropertyCommand.hpp>
14 #include <ossia/detail/hash_map.hpp>
18 std::vector<score::gfx::Image> getImages(
const ossia::value& val);
19 ossia::value fromImageSet(
const tcb::span<score::gfx::Image>& images);
20 void releaseImages(std::vector<score::gfx::Image>& imgs);
25 std::optional<score::gfx::Image> acquire(
const std::string& path);
31 ossia::hash_map<std::string, std::pair<int, score::gfx::Image>> m_images;
40 SCORE_SERIALIZE_FRIENDS
45 constexpr
bool hasExternalUI() {
return false; }
48 template <
typename Impl>
49 Model(Impl& vis, QObject* parent)
65 void on_imagesChanged(
const ossia::value& v);
66 QString prettyName()
const noexcept
override;
67 std::vector<score::gfx::Image> m_currentImages;
74 SCORE_CONCRETE(
"0916759f-a5f6-4870-a96b-4e1e5efe5885")
76 QSet<QString> acceptedFiles()
const noexcept
override;
81 SCORE_CONCRETE(
"f37aa176-d8be-45bc-b833-d014efba6157")
83 QSet<QString> mimeTypes()
const noexcept
override;
84 QSet<QString> fileExtensions()
const noexcept
override;
86 std::vector<ProcessDrop>& drops,
const QMimeData& data,
Definition: score-plugin-gfx/Gfx/Images/Process.hpp:80
Definition: score-plugin-gfx/Gfx/Images/Process.hpp:73
Definition: score-plugin-gfx/Gfx/Images/Process.hpp:39
Definition: LibraryInterface.hpp:22
Definition: ProcessDropHandler.hpp:25
Definition: GenericProcessFactory.hpp:15
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
The id_base_t class.
Definition: Identifier.hpp:57
Binds the rendering pipeline to ossia processes.
Definition: CameraDevice.cpp:28
Definition: score-plugin-gfx/Gfx/Images/Process.hpp:23
Definition: TimeValue.hpp:21
Definition: DocumentContext.hpp:18
Image data and metadata.
Definition: score-plugin-gfx/Gfx/Graph/Utils.hpp:146