50 namespace visualization {
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 void ModifyGeometryMaterial(
const std::string& name,
const Material& mat);
115 void UpdateMaterial(
const Material& mat);
117 void UpdateModelMaterial(
const std::string& name,
119 std::vector<std::string> GetGeometries();
127 void SetLOD(
LOD lod);
130 Scene* GetScene()
const;
131 Camera* GetCamera()
const;
135 struct GeometryData {
137 std::string fast_name;
138 std::string low_name;
141 GeometryData() : visible(
false) {}
142 GeometryData(
const std::string& n,
const std::string& fast)
143 :
name(n), fast_name(fast), visible(
true) {}
146 void SetGeometryToLOD(
const GeometryData&,
LOD lod);
153 Eigen::Vector4f background_color;
154 LOD lod_ = LOD::HIGH_DETAIL;
155 bool use_low_quality_if_available_ =
false;
156 bool axis_dirty_ =
true;
157 std::map<std::string, GeometryData> geometries_;
159 size_t downsample_threshold_ = 6000000;
Definition: Open3DScene.h:57
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:557
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:150
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:398
math::float4 color
Definition: LineSetBuffers.cpp:64
Definition: Renderer.h:74
The base geometry class for 3D geometries.
Definition: Geometry3D.h:46
size_t GetDownsampleThreshold() const
Definition: Open3DScene.h:92
A pointcloud contains a set of 3D points.
Definition: PointCloud.h:95
GroundPlane
Definition: Scene.h:199
ViewHandle GetViewId() const
Definition: Open3DScene.h:63
Definition: Material.h:41
Definition: PinholeCameraIntrinsic.cpp:35
std::string name
Definition: FilePCD.cpp:58
LightingProfile
Definition: Open3DScene.h:76
int height
Definition: FilePCD.cpp:72
void SetDownsampleThreshold(size_t n_points)
Definition: Open3DScene.h:89
LOD
Definition: Open3DScene.h:123
const geometry::AxisAlignedBoundingBox & GetBoundingBox()
Definition: Open3DScene.h:121
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:228
Open3DScene::LightingProfile profile
Definition: O3DVisualizer.cpp:286
int width
Definition: FilePCD.cpp:71