48 namespace visualization {
53 struct TriangleMeshModel;
60 View* GetView()
const;
63 void ShowSkybox(
bool enable);
64 void ShowAxes(
bool enable);
65 void SetBackground(
const Eigen::Vector4f&
color,
66 std::shared_ptr<geometry::Image> image =
nullptr);
82 downsample_threshold_ = n_points;
88 void AddGeometry(
const std::string&
name,
91 bool add_downsampled_copy_for_fast_rendering =
true);
95 void AddGeometry(
const std::string& name,
98 bool add_downsampled_copy_for_fast_rendering =
true);
99 bool HasGeometry(
const std::string& name)
const;
100 void RemoveGeometry(
const std::string& name);
102 void ShowGeometry(
const std::string& name,
bool show);
103 void ModifyGeometryMaterial(
const std::string& name,
const Material& mat);
107 void UpdateMaterial(
const Material& mat);
109 void UpdateModelMaterial(
const std::string& name,
111 std::vector<std::string> GetGeometries();
119 void SetLOD(
LOD lod);
122 Scene* GetScene()
const;
123 Camera* GetCamera()
const;
127 struct GeometryData {
129 std::string fast_name;
130 std::string low_name;
133 GeometryData() : visible(
false) {}
134 GeometryData(
const std::string& n,
const std::string& fast)
135 :
name(n), fast_name(fast), visible(
true) {}
138 void SetGeometryToLOD(
const GeometryData&,
LOD lod);
145 LOD lod_ = LOD::HIGH_DETAIL;
146 bool use_low_quality_if_available_ =
false;
147 bool axis_dirty_ =
true;
148 std::map<std::string, GeometryData> geometries_;
150 size_t downsample_threshold_ = 6000000;
Definition: Open3DScene.h:55
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:149
math::float4 color
Definition: LineSetBuffers.cpp:64
Definition: Renderer.h:64
The base geometry class for 3D geometries.
Definition: Geometry3D.h:46
size_t GetDownsampleThreshold() const
Definition: Open3DScene.h:84
A pointcloud contains a set of 3D points.
Definition: PointCloud.h:94
ViewHandle GetViewId() const
Definition: Open3DScene.h:61
Definition: Material.h:41
Definition: PinholeCameraIntrinsic.cpp:35
std::string name
Definition: FilePCD.cpp:58
LightingProfile
Definition: Open3DScene.h:68
void SetDownsampleThreshold(size_t n_points)
Definition: Open3DScene.h:81
LOD
Definition: Open3DScene.h:115
const geometry::AxisAlignedBoundingBox & GetBoundingBox()
Definition: Open3DScene.h:113
Open3DScene::LightingProfile profile
Definition: O3DVisualizer.cpp:278