#include <Open3DScene.h>
|
| Open3DScene (Renderer &renderer) |
|
| ~Open3DScene () |
|
View * | GetView () const |
|
ViewHandle | GetViewId () const |
|
void | ShowSkybox (bool enable) |
|
void | ShowAxes (bool enable) |
|
void | SetBackground (const Eigen::Vector4f &color, std::shared_ptr< geometry::Image > image=nullptr) |
|
void | SetLighting (LightingProfile profile, const Eigen::Vector3f &sun_dir) |
|
void | SetDownsampleThreshold (size_t n_points) |
|
size_t | GetDownsampleThreshold () const |
|
void | ClearGeometry () |
|
void | AddGeometry (const std::string &name, const geometry::Geometry3D *geom, const Material &mat, bool add_downsampled_copy_for_fast_rendering=true) |
| Adds a geometry with the specified name. Default visible is true. More...
|
|
void | AddGeometry (const std::string &name, const t::geometry::PointCloud *geom, const Material &mat, bool add_downsampled_copy_for_fast_rendering=true) |
|
bool | HasGeometry (const std::string &name) const |
|
void | RemoveGeometry (const std::string &name) |
|
void | ShowGeometry (const std::string &name, bool show) |
| Shows or hides the geometry with the specified name. More...
|
|
void | ModifyGeometryMaterial (const std::string &name, const Material &mat) |
|
void | AddModel (const std::string &name, const TriangleMeshModel &model) |
|
void | UpdateMaterial (const Material &mat) |
| Updates all geometries to use this material. More...
|
|
void | UpdateModelMaterial (const std::string &name, const TriangleMeshModel &model) |
| Updates the named model to use this material. More...
|
|
std::vector< std::string > | GetGeometries () |
|
const geometry::AxisAlignedBoundingBox & | GetBoundingBox () |
|
void | SetLOD (LOD lod) |
|
LOD | GetLOD () const |
|
Scene * | GetScene () const |
|
Camera * | GetCamera () const |
|
Renderer & | GetRenderer () const |
|
◆ LightingProfile
Enumerator |
---|
HARD_SHADOWS | |
DARK_SHADOWS | |
MED_SHADOWS | |
SOFT_SHADOWS | |
NO_SHADOWS | |
◆ LOD
Enumerator |
---|
HIGH_DETAIL | |
FAST | |
◆ Open3DScene()
open3d::visualization::rendering::Open3DScene::Open3DScene |
( |
Renderer & |
renderer | ) |
|
◆ ~Open3DScene()
open3d::visualization::rendering::Open3DScene::~Open3DScene |
( |
| ) |
|
◆ AddGeometry() [1/2]
void open3d::visualization::rendering::Open3DScene::AddGeometry |
( |
const std::string & |
name, |
|
|
const geometry::Geometry3D * |
geom, |
|
|
const Material & |
mat, |
|
|
bool |
add_downsampled_copy_for_fast_rendering = true |
|
) |
| |
Adds a geometry with the specified name. Default visible is true.
◆ AddGeometry() [2/2]
void open3d::visualization::rendering::Open3DScene::AddGeometry |
( |
const std::string & |
name, |
|
|
const t::geometry::PointCloud * |
geom, |
|
|
const Material & |
mat, |
|
|
bool |
add_downsampled_copy_for_fast_rendering = true |
|
) |
| |
◆ AddModel()
void open3d::visualization::rendering::Open3DScene::AddModel |
( |
const std::string & |
name, |
|
|
const TriangleMeshModel & |
model |
|
) |
| |
◆ ClearGeometry()
void open3d::visualization::rendering::Open3DScene::ClearGeometry |
( |
| ) |
|
◆ GetBoundingBox()
◆ GetCamera()
Camera * open3d::visualization::rendering::Open3DScene::GetCamera |
( |
| ) |
const |
◆ GetDownsampleThreshold()
size_t open3d::visualization::rendering::Open3DScene::GetDownsampleThreshold |
( |
| ) |
const |
|
inline |
◆ GetGeometries()
std::vector< std::string > open3d::visualization::rendering::Open3DScene::GetGeometries |
( |
| ) |
|
◆ GetLOD()
Open3DScene::LOD open3d::visualization::rendering::Open3DScene::GetLOD |
( |
| ) |
const |
◆ GetRenderer()
Renderer & open3d::visualization::rendering::Open3DScene::GetRenderer |
( |
| ) |
const |
◆ GetScene()
Scene * open3d::visualization::rendering::Open3DScene::GetScene |
( |
| ) |
const |
◆ GetView()
View * open3d::visualization::rendering::Open3DScene::GetView |
( |
| ) |
const |
◆ GetViewId()
ViewHandle open3d::visualization::rendering::Open3DScene::GetViewId |
( |
| ) |
const |
|
inline |
◆ HasGeometry()
bool open3d::visualization::rendering::Open3DScene::HasGeometry |
( |
const std::string & |
name | ) |
const |
◆ ModifyGeometryMaterial()
void open3d::visualization::rendering::Open3DScene::ModifyGeometryMaterial |
( |
const std::string & |
name, |
|
|
const Material & |
mat |
|
) |
| |
◆ RemoveGeometry()
void open3d::visualization::rendering::Open3DScene::RemoveGeometry |
( |
const std::string & |
name | ) |
|
◆ SetBackground()
void open3d::visualization::rendering::Open3DScene::SetBackground |
( |
const Eigen::Vector4f & |
color, |
|
|
std::shared_ptr< geometry::Image > |
image = nullptr |
|
) |
| |
◆ SetDownsampleThreshold()
void open3d::visualization::rendering::Open3DScene::SetDownsampleThreshold |
( |
size_t |
n_points | ) |
|
|
inline |
Sets the maximum number of points before AddGeometry also adds a downsampled point cloud with number of points, used when rendering speed is important.
◆ SetLighting()
void open3d::visualization::rendering::Open3DScene::SetLighting |
( |
LightingProfile |
profile, |
|
|
const Eigen::Vector3f & |
sun_dir |
|
) |
| |
◆ SetLOD()
void open3d::visualization::rendering::Open3DScene::SetLOD |
( |
LOD |
lod | ) |
|
◆ ShowAxes()
void open3d::visualization::rendering::Open3DScene::ShowAxes |
( |
bool |
enable | ) |
|
◆ ShowGeometry()
void open3d::visualization::rendering::Open3DScene::ShowGeometry |
( |
const std::string & |
name, |
|
|
bool |
show |
|
) |
| |
Shows or hides the geometry with the specified name.
◆ ShowSkybox()
void open3d::visualization::rendering::Open3DScene::ShowSkybox |
( |
bool |
enable | ) |
|
◆ UpdateMaterial()
void open3d::visualization::rendering::Open3DScene::UpdateMaterial |
( |
const Material & |
mat | ) |
|
Updates all geometries to use this material.
◆ UpdateModelMaterial()
void open3d::visualization::rendering::Open3DScene::UpdateModelMaterial |
( |
const std::string & |
name, |
|
|
const TriangleMeshModel & |
model |
|
) |
| |
Updates the named model to use this material.
The documentation for this class was generated from the following files: