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>
114 std::function<void(
const QImage& image)>
callback =
nullptr;
A thread that executes a user-provided callback function concurrently.
The equivelent of std::vector but with a bit more control.
A physical or virtual device used with the NDEVR Rendering Engine.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Represents a color in the RGB space with optional alpha transparency.
An object that renders a specific Camera object, typically run on a different thread than the main UI...
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.
SnapLocation
A list of directions that a view can be pointed relative to an object or scene.
@ e_no_snap
No snap applied; free camera orientation.
Information relating to capturing a 3D view into a 2D raster image.
RGBColor background
The background color for the captured image.
bool auto_crop
Whether to automatically crop empty space from the captured image.
bool orthographic
Whether to use orthographic projection instead of perspective.
SnapLocation snap
The snap location for camera positioning.
UUID target_object
The UUID of the primary object to focus on.
Buffer< UUID > included_objects
Additional objects to include in the capture.
fltp08 reference_size
The reference size used for scaling the view.
Vector< 3, Angle< fltp08 > > angle_offsets
Camera angle offsets around the X, Y, and Z axes.
Vector< 2, uint04 > size
The output image dimensions in pixels.
CaptureRequest(UUID id)
Constructs a capture request with the given UUID.
UUID m_id
The unique identifier for this capture request.
std::function< void(const QImage &image)> callback
Callback invoked with the captured image.
UUID uuid() const
Gets the UUID of this capture request.
CaptureRequest(UUID id, const CaptureInfo &info, const std::function< void(const QImage &image)> &n_callback)
Constructs a capture request with capture info and a completion callback.