CameraSystemSettings

Global, camera-independent output settings: what a capture writes to disk and where.

Per-camera configuration is no longer VGR’s concern. A camera’s identity and driver live in the top-level cameras[]/cameraDrivers[] roster (hdv::camera::CameraSystemSettings, which ProjectSettings inherits), and everything about how it captures – exposure, pixel format, trigger, depth range, filters – is expressed as GenICam feature scripts, selected at runtime by FeatureSet id through hdv::camera::CameraManager. See hdv’s modules/camera/doc/plan-camera-manager.md. What is left here is the part that is genuinely global to the application: where captures are saved, in what format, and how many to keep.

Member Functions

void exportAll(bool val)

== Member Variables [[-2]]

exportCenterView

bool, default: {false} JSON Type: (optional) bool Indicates if a camera center view has to be saved to the disk. The output folder is specified by saveFilePath.

[[-3]] exportPcl:: bool, default: {false} JSON Type: (optional) bool Indicates if a camera point cloud has to be saved to the disk. The output folder is specified by saveFilePath.

[[-4]] pointcloudFiletype:: POINTCLOUD_FILETYPE, default: \{POINTCLOUD_FILETYPE::PLY\} JSON Type: (optional) POINTCLOUD_FILETYPE Indicates what file format is to be used for storing and loading point cloud files

[[-5]] saveFilePath:: std::filesystem::path, default: \{"data"\} JSON Type: (optional) string Path where all generated output data will be stored. Created if it does not exist.

[[-6]] numRecordingsToKeep:: std::optional< int >, default: {50} JSON Type: (optional) int +Requirement: Must be larger or equal to zero Number of recordings to keep in each folder under saveFilePath: before a file is saved, the oldest of its kind beyond this number are deleted. 0 keeps all files.