NDEVR
API Documentation
CaptureCache

Stores information about a screenshot. More...

Inheritance diagram for CaptureCache:
[legend]
Collaboration diagram for CaptureCache:
[legend]

Public Member Functions

 CaptureCache ()
 Default constructor.
 CaptureCache (const CaptureInfo &info, const Time &n_time, const QImage &n_image)
 Constructs a cache entry from capture info, timestamp, and image.

Public Attributes

QImage image
 The captured image.
Time time
 Timestamp when the capture was taken.
Public Attributes inherited from CaptureInfo
Vector< 3, Angle< fltp08 > > angle_offsets
 Camera angle offsets around the X, Y, and Z axes.
bool auto_crop = false
 Whether to automatically crop empty space from the captured image.
RGBColor background = { 255, 255, 255, 0}
 The background color for the captured image.
Buffer< UUIDincluded_objects
 Additional objects to include in the capture.
bool orthographic = false
 Whether to use orthographic projection instead of perspective.
fltp08 reference_size = 128.0
 The reference size used for scaling the view.
Vector< 2, uint04size = { 128, 128 }
 The output image dimensions in pixels.
SnapLocation snap = SnapLocation::e_no_snap
 The snap location for camera positioning.
UUID target_object = Constant<UUID>::Invalid
 The UUID of the primary object to focus on.

Detailed Description

Stores information about a screenshot.


Definition at line 14 of file ModelViewCapture.h.

Constructor & Destructor Documentation

◆ CaptureCache()

CaptureCache::CaptureCache ( const CaptureInfo & info,
const Time & n_time,
const QImage & n_image )
inline

Constructs a cache entry from capture info, timestamp, and image.

Parameters
[in]infoThe capture parameters.
[in]n_timeThe capture timestamp.
[in]n_imageThe captured image.

Definition at line 23 of file ModelViewCapture.h.

References image, and time.


The documentation for this struct was generated from the following file: