Open3D (C++ API)  0.18.0+252c867
RendererStructs.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 <json/json.h>
11 
12 #include <Eigen/Geometry>
13 
15 
16 namespace open3d {
17 
18 namespace geometry {
19 class Geometry3D;
20 }
21 
22 namespace visualization {
23 namespace rendering {
24 
27 
29  float intensity;
30  float falloff;
31  // Spot lights only
33  // Spot lights only
35  Eigen::Vector3f color;
36  Eigen::Vector3f direction;
37  Eigen::Vector3f position;
39 
40  Json::Value custom_attributes;
41 
43  : type(POINT),
44  intensity(10000),
45  falloff(10),
46  light_cone_inner(float(M_PI / 4.0)),
47  light_cone_outer(float(M_PI / 2.0)),
48  color(1.f, 1.f, 1.f),
49  direction(0.f, 0.f, -1.f),
50  position(0.f, 0.f, 0.f),
51  cast_shadows(true) {}
52 };
53 
54 } // namespace rendering
55 } // namespace visualization
56 } // namespace open3d
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle float
Definition: K4aPlugin.cpp:460
Definition: PinholeCameraIntrinsic.cpp:16
Eigen::Vector3f color
Definition: RendererStructs.h:35
float light_cone_inner
Definition: RendererStructs.h:32
Eigen::Vector3f position
Definition: RendererStructs.h:37
float falloff
Definition: RendererStructs.h:30
Eigen::Vector3f direction
Definition: RendererStructs.h:36
eLightType
Definition: RendererStructs.h:26
@ POINT
Definition: RendererStructs.h:26
@ SPOT
Definition: RendererStructs.h:26
@ DIRECTIONAL
Definition: RendererStructs.h:26
bool cast_shadows
Definition: RendererStructs.h:38
LightDescription()
Definition: RendererStructs.h:42
float light_cone_outer
Definition: RendererStructs.h:34
eLightType type
Definition: RendererStructs.h:28
float intensity
Definition: RendererStructs.h:29
Json::Value custom_attributes
Definition: RendererStructs.h:40