Open3D (C++ API)  0.17.0
RenderOptionWithEditing.h
Go to the documentation of this file.
1// ----------------------------------------------------------------------------
2// - Open3D: www.open3d.org -
3// ----------------------------------------------------------------------------
4// Copyright (c) 2018-2023 www.open3d.org
5// SPDX-License-Identifier: MIT
6// ----------------------------------------------------------------------------
7
8#pragma once
9
10#include <Eigen/Core>
11
13
14namespace open3d {
15namespace visualization {
16
18public:
19 static const double PICKER_SPHERE_SIZE_MIN;
20 static const double PICKER_SPHERE_SIZE_MAX;
21 static const double PICKER_SPHERE_SIZE_DEFAULT;
22
23public:
26
27public:
28 bool ConvertToJsonValue(Json::Value &value) const override;
29 bool ConvertFromJsonValue(const Json::Value &value) override;
33 }
37 }
38
39public:
40 // Selection polygon
42 Eigen::Vector3d(0.3, 0.3, 0.3);
44 Eigen::Vector3d(0.3, 0.3, 0.3);
46
47 // PointCloud Picker
49};
50
51} // namespace visualization
52} // namespace open3d
Defines rendering options for visualizer.
Definition: RenderOption.h:20
Definition: RenderOptionWithEditing.h:17
static const double PICKER_SPHERE_SIZE_MIN
Definition: RenderOptionWithEditing.h:19
RenderOptionWithEditing()
Definition: RenderOptionWithEditing.h:24
double pointcloud_picker_sphere_size_
Definition: RenderOptionWithEditing.h:48
void DecreaseSphereSize()
Definition: RenderOptionWithEditing.h:34
static const double PICKER_SPHERE_SIZE_DEFAULT
Definition: RenderOptionWithEditing.h:21
static const double PICKER_SPHERE_SIZE_MAX
Definition: RenderOptionWithEditing.h:20
~RenderOptionWithEditing() override
Definition: RenderOptionWithEditing.h:25
bool ConvertFromJsonValue(const Json::Value &value) override
Definition: RenderOptionWithEditing.cpp:38
void IncreaseSphereSize()
Definition: RenderOptionWithEditing.h:30
Eigen::Vector3d selection_polygon_boundary_color_
Definition: RenderOptionWithEditing.h:41
Eigen::Vector3d selection_polygon_mask_color_
Definition: RenderOptionWithEditing.h:43
bool ConvertToJsonValue(Json::Value &value) const override
Definition: RenderOptionWithEditing.cpp:21
double selection_polygon_mask_alpha_
Definition: RenderOptionWithEditing.h:45
Definition: PinholeCameraIntrinsic.cpp:16