ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
render_options.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <iostream>
11 
12 namespace colmap {
13 
14 struct RenderOptions {
18  };
19 
20  // Minimum track length for a point to be rendered.
21  int min_track_len = 3;
22 
23  // Maximum error for a point to be rendered.
24  double max_error = 2;
25 
26  // The rate of registered images at which to refresh.
27  int refresh_rate = 1;
28 
29  // Whether to automatically adjust the refresh rate. The bigger the
30  // reconstruction gets, the less frequently the scene is rendered.
31  bool adapt_refresh_rate = true;
32 
33  // Whether to visualize image connections.
34  bool image_connections = false;
35 
36  // The projection type of the renderer.
37  int projection_type = ProjectionType::ORTHOGRAPHIC;
38 
39  bool Check() const;
40 };
41 
42 } // namespace colmap