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>
53 Vector<2, uint04> size = { 128, 128 };
54 fltp08 reference_size = 128.0;
55 Vector<3, Angle<fltp08>> angle_offsets;
57 UUID target_object = Constant<UUID>::Invalid;
58 Buffer<UUID> included_objects;
59 RGBColor background = { 255, 255, 255, 0};
60 bool orthographic =
false;
61 bool auto_crop =
false;
64 return (snap == info.snap)
65 && (target_object == info.target_object)
66 && (included_objects == info.included_objects)
67 && (orthographic == info.orthographic)
68 && (background == info.background)
69 && (reference_size == info.reference_size)
70 && (size == info.size)
71 && (auto_crop == info.auto_crop);
77 struct CaptureRequest :
public CaptureInfo
79 CaptureRequest(UUID
id)
82 CaptureRequest(UUID
id,
const CaptureInfo& info,
const std::function<
void(
const QImage& image)>& n_callback)
85 , callback(n_callback)
87 UUID uuid()
const {
return m_id; }
90 return (snap == info.snap)
91 && (target_object == info.target_object)
92 && (included_objects == info.included_objects)
93 && (orthographic == info.orthographic)
94 && (background == info.background)
95 && (auto_crop == info.auto_crop)
96 && (reference_size == info.reference_size)
97 && (size == info.size);
100 std::function<void(
const QImage& image)> callback =
nullptr;
bool operator==(const VkVertexInputAttributeDescription &a, const VkVertexInputAttributeDescription &b)
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:149