29 #include <Eigen/Geometry> 38 class AxisAlignedBoundingBox;
41 namespace visualization {
49 using Transform = Eigen::Transform<float, 3, Eigen::Affine>;
51 virtual ~
Scene() =
default;
58 virtual void SetViewActive(
const ViewHandle& view_id,
bool is_active) = 0;
59 virtual void RemoveView(
const ViewHandle& view_id) = 0;
74 const std::string&
name) = 0;
81 bool receives_shadows) = 0;
82 virtual std::vector<GeometryHandle> FindGeometryByName(
83 const std::string&
name) = 0;
84 virtual void RemoveGeometry(
const GeometryHandle& geometry_id) = 0;
88 virtual void SetLightIntensity(
const LightHandle&
id,
float intensity) = 0;
90 const Eigen::Vector3f&
color) = 0;
91 virtual Eigen::Vector3f GetLightDirection(
const LightHandle&
id)
const = 0;
92 virtual void SetLightDirection(
const LightHandle&
id,
93 const Eigen::Vector3f& dir) = 0;
94 virtual void SetLightPosition(
const LightHandle&
id,
95 const Eigen::Vector3f& pos) = 0;
96 virtual void SetLightFalloff(
const LightHandle&
id,
float falloff) = 0;
97 virtual void RemoveLight(
const LightHandle&
id) = 0;
101 virtual void SetIndirectLightIntensity(
float intensity) = 0;
102 virtual float GetIndirectLightIntensity()
const = 0;
103 virtual void SetIndirectLightRotation(
const Transform& rotation) = 0;
104 virtual Transform GetIndirectLightRotation()
const = 0;
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 temperature_c k4a_image_t image_handle uint8_t image_handle image_handle image_handle image_handle uint32_t
Definition: K4aPlugin.cpp:553
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:164
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 int32_t
Definition: K4aPlugin.cpp:394
math::float4 color
Definition: LineSetBuffers.cpp:46
The base geometry class for 3D geometries.
Definition: Geometry3D.h:46
Definition: RendererStructs.h:42
Eigen::Transform< float, 3, Eigen::Affine > Transform
Definition: Scene.h:49
Definition: Open3DViewer.h:29
std::string name
Definition: FilePCD.cpp:56
Definition: RendererHandle.h:71