Stores information about a screenshot.
More...
|
|
| 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.
|
|
|
QImage | image |
| | The captured image.
|
|
Time | time |
| | Timestamp when the capture was taken.
|
|
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< UUID > | included_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, uint04 > | size = { 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.
|
Stores information about a screenshot.
Definition at line 14 of file ModelViewCapture.h.
◆ 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] | info | The capture parameters. |
| [in] | n_time | The capture timestamp. |
| [in] | n_image | The 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: