50 namespace visualization {
54 struct MaterialRecord;
55 struct TriangleMeshModel;
62 View* GetView()
const;
69 void ShowSkybox(
bool enable);
70 void ShowAxes(
bool enable);
71 void SetBackground(
const Eigen::Vector4f&
color,
72 std::shared_ptr<geometry::Image>
image =
nullptr);
73 const Eigen::Vector4f GetBackgroundColor()
const;
90 downsample_threshold_ = n_points;
96 void AddGeometry(
const std::string&
name,
99 bool add_downsampled_copy_for_fast_rendering =
true);
103 void AddGeometry(
const std::string& name,
106 bool add_downsampled_copy_for_fast_rendering =
true);
107 bool HasGeometry(
const std::string& name)
const;
108 void RemoveGeometry(
const std::string& name);
110 void ShowGeometry(
const std::string& name,
bool show);
111 bool GeometryIsVisible(
const std::string& name);
112 void SetGeometryTransform(
const std::string& name,
113 const Eigen::Matrix4d& transform);
114 Eigen::Matrix4d GetGeometryTransform(
const std::string& name);
116 void ModifyGeometryMaterial(
const std::string& name,
123 void UpdateModelMaterial(
const std::string& name,
125 std::vector<std::string> GetGeometries();
133 void SetLOD(
LOD lod);
136 Scene* GetScene()
const;
137 Camera* GetCamera()
const;
141 struct GeometryData {
143 std::string fast_name;
144 std::string low_name;
147 GeometryData() : visible(
false) {}
148 GeometryData(
const std::string& n,
const std::string& fast)
149 :
name(n), fast_name(fast), visible(
true) {}
152 void SetGeometryToLOD(
const GeometryData&,
LOD lod);
159 Eigen::Vector4f background_color;
160 LOD lod_ = LOD::HIGH_DETAIL;
161 bool use_low_quality_if_available_ =
false;
162 bool axis_dirty_ =
true;
163 std::map<std::string, GeometryData> geometries_;
165 size_t downsample_threshold_ = 6000000;
Definition: Open3DScene.h:57
Definition: MaterialRecord.h:41
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:567
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:155
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:408
math::float4 color
Definition: LineSetBuffers.cpp:64
Definition: Renderer.h:74
The base geometry class for 3D geometries.
Definition: Geometry3D.h:47
size_t GetDownsampleThreshold() const
Definition: Open3DScene.h:92
GroundPlane
Definition: Scene.h:200
ViewHandle GetViewId() const
Definition: Open3DScene.h:63
The base geometry class.
Definition: Geometry.h:40
Definition: PinholeCameraIntrinsic.cpp:35
LightingProfile
Definition: Open3DScene.h:76
void SetDownsampleThreshold(size_t n_points)
Definition: Open3DScene.h:89
LOD
Definition: Open3DScene.h:129
const geometry::AxisAlignedBoundingBox & GetBoundingBox()
Definition: Open3DScene.h:127
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:202
Open3DScene::LightingProfile profile
Definition: O3DVisualizer.cpp:288