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 void ModifyGeometryMaterial(
const std::string& name,
118 void UpdateModelMaterial(
const std::string& name,
120 std::vector<std::string> GetGeometries();
128 void SetLOD(
LOD lod);
131 Scene* GetScene()
const;
132 Camera* GetCamera()
const;
136 struct GeometryData {
138 std::string fast_name;
139 std::string low_name;
142 GeometryData() : visible(
false) {}
143 GeometryData(
const std::string& n,
const std::string& fast)
144 :
name(n), fast_name(fast), visible(
true) {}
147 void SetGeometryToLOD(
const GeometryData&,
LOD lod);
154 Eigen::Vector4f background_color;
155 LOD lod_ = LOD::HIGH_DETAIL;
156 bool use_low_quality_if_available_ =
false;
157 bool axis_dirty_ =
true;
158 std::map<std::string, GeometryData> geometries_;
160 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: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: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:38
Definition: PinholeCameraIntrinsic.cpp:35
LightingProfile
Definition: Open3DScene.h:76
void SetDownsampleThreshold(size_t n_points)
Definition: Open3DScene.h:89
LOD
Definition: Open3DScene.h:124
const geometry::AxisAlignedBoundingBox & GetBoundingBox()
Definition: Open3DScene.h:122
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:228
Open3DScene::LightingProfile profile
Definition: O3DVisualizer.cpp:288