35#include <NDEVR/SnapLocation.h>
36#include <NDEVR/UUID.h>
37#include <NDEVR/RGBColor.h>
38#include <NDEVR/Angle.h>
39#include <NDEVR/Buffer.h>
50 Vector<2, uint04> size = { 128, 128 };
51 fltp08 reference_size = 128.0;
52 Vector<3, Angle<fltp08>> angle_offsets;
54 UUID target_object = Constant<UUID>::NaN;
55 Buffer<UUID> included_objects;
56 RGBColor background = { 255, 255, 255, 0};
57 bool orthographic =
false;
58 bool auto_crop =
false;
61 return (snap == info.snap)
62 && (target_object == info.target_object)
63 && (included_objects == info.included_objects)
64 && (orthographic == info.orthographic)
65 && (background == info.background)
66 && (reference_size == info.reference_size)
67 && (size == info.size)
68 && (auto_crop == info.auto_crop);
71 struct CaptureRequest :
public CaptureInfo
73 CaptureRequest(UUID
id)
76 CaptureRequest(UUID
id,
const CaptureInfo& info,
const std::function<
void(
const QImage& image)>& n_callback)
79 , callback(n_callback)
81 UUID uuid()
const {
return m_id; }
84 return (snap == info.snap)
85 && (target_object == info.target_object)
86 && (included_objects == info.included_objects)
87 && (orthographic == info.orthographic)
88 && (background == info.background)
89 && (auto_crop == info.auto_crop)
90 && (reference_size == info.reference_size)
91 && (size == info.size);
94 std::function<void(
const QImage& image)> callback =
nullptr;
bool operator==(const VkVertexInputAttributeDescription &a, const VkVertexInputAttributeDescription &b)
Definition VulkanRenderObject.cpp:18
SnapLocation
A list of directions that a view can be pointed relative to an object or scene.
Definition ViewLocation.h:40
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:176