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
{
15
enum
ProjectionType
{
16
PERSPECTIVE
,
17
ORTHOGRAPHIC
,
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
colmap
Definition:
AutomaticReconstructionController.h:17
colmap::RenderOptions
Definition:
render_options.h:14
colmap::RenderOptions::min_track_len
int min_track_len
Definition:
render_options.h:21
colmap::RenderOptions::ProjectionType
ProjectionType
Definition:
render_options.h:15
colmap::RenderOptions::ORTHOGRAPHIC
@ ORTHOGRAPHIC
Definition:
render_options.h:17
colmap::RenderOptions::PERSPECTIVE
@ PERSPECTIVE
Definition:
render_options.h:16
colmap::RenderOptions::Check
bool Check() const
Definition:
render_options.cc:38
colmap::RenderOptions::max_error
double max_error
Definition:
render_options.h:24
colmap::RenderOptions::refresh_rate
int refresh_rate
Definition:
render_options.h:27
colmap::RenderOptions::projection_type
int projection_type
Definition:
render_options.h:37
colmap::RenderOptions::image_connections
bool image_connections
Definition:
render_options.h:34
colmap::RenderOptions::adapt_refresh_rate
bool adapt_refresh_rate
Definition:
render_options.h:31
libs
Reconstruction
src
ui
render_options.h
Generated on Tue Feb 3 2026 07:12:30 for ACloudViewer by
1.9.1