Open3D (C++ API)
Public Types | Public Member Functions
open3d::visualization::Scene Class Referenceabstract

#include <Scene.h>

Inheritance diagram for open3d::visualization::Scene:
open3d::visualization::FilamentScene

Public Types

using Transform = Eigen::Transform< float, 3, Eigen::Affine >
 

Public Member Functions

virtual ~Scene ()=default
 
virtual ViewHandle AddView (std::int32_t x, std::int32_t y, std::uint32_t w, std::uint32_t h)=0
 
virtual ViewGetView (const ViewHandle &view_id) const =0
 
virtual void SetViewActive (const ViewHandle &view_id, bool is_active)=0
 
virtual void RemoveView (const ViewHandle &view_id)=0
 
virtual GeometryHandle AddGeometry (const geometry::Geometry3D &geometry)=0
 
virtual GeometryHandle AddGeometry (const geometry::Geometry3D &geometry, const MaterialInstanceHandle &material_id)=0
 
virtual GeometryHandle AddGeometry (const geometry::Geometry3D &geometry, const MaterialInstanceHandle &material_id, const std::string &name)=0
 
virtual void AssignMaterial (const GeometryHandle &geometry_id, const MaterialInstanceHandle &material_id)=0
 
virtual MaterialInstanceHandle GetMaterial (const GeometryHandle &geometry_id) const =0
 
virtual void SetGeometryShadows (const GeometryHandle &geometry_id, bool casts_shadows, bool receives_shadows)=0
 
virtual std::vector< GeometryHandleFindGeometryByName (const std::string &name)=0
 
virtual void RemoveGeometry (const GeometryHandle &geometry_id)=0
 
virtual LightHandle AddLight (const LightDescription &descr)=0
 
virtual void SetLightIntensity (const LightHandle &id, float intensity)=0
 
virtual void SetLightColor (const LightHandle &id, const Eigen::Vector3f &color)=0
 
virtual Eigen::Vector3f GetLightDirection (const LightHandle &id) const =0
 
virtual void SetLightDirection (const LightHandle &id, const Eigen::Vector3f &dir)=0
 
virtual void SetLightPosition (const LightHandle &id, const Eigen::Vector3f &pos)=0
 
virtual void SetLightFalloff (const LightHandle &id, float falloff)=0
 
virtual void RemoveLight (const LightHandle &id)=0
 
virtual void SetIndirectLight (const IndirectLightHandle &id)=0
 
virtual void SetIndirectLightIntensity (float intensity)=0
 
virtual float GetIndirectLightIntensity () const =0
 
virtual void SetIndirectLightRotation (const Transform &rotation)=0
 
virtual Transform GetIndirectLightRotation () const =0
 
virtual void SetSkybox (const SkyboxHandle &id)=0
 
virtual void SetEntityEnabled (const REHandle_abstract &entity_id, bool enabled)=0
 
virtual bool GetEntityEnabled (const REHandle_abstract &entity_id)=0
 
virtual void SetEntityTransform (const REHandle_abstract &entity_id, const Transform &transform)=0
 
virtual Transform GetEntityTransform (const REHandle_abstract &entity_id)=0
 
virtual geometry::AxisAlignedBoundingBox GetEntityBoundingBox (const REHandle_abstract &entity_id)=0
 

Member Typedef Documentation

◆ Transform

using open3d::visualization::Scene::Transform = Eigen::Transform<float, 3, Eigen::Affine>

Constructor & Destructor Documentation

◆ ~Scene()

virtual open3d::visualization::Scene::~Scene ( )
virtualdefault

Member Function Documentation

◆ AddGeometry() [1/3]

virtual GeometryHandle open3d::visualization::Scene::AddGeometry ( const geometry::Geometry3D geometry)
pure virtual

◆ AddGeometry() [2/3]

virtual GeometryHandle open3d::visualization::Scene::AddGeometry ( const geometry::Geometry3D geometry,
const MaterialInstanceHandle material_id 
)
pure virtual

◆ AddGeometry() [3/3]

virtual GeometryHandle open3d::visualization::Scene::AddGeometry ( const geometry::Geometry3D geometry,
const MaterialInstanceHandle material_id,
const std::string &  name 
)
pure virtual

◆ AddLight()

virtual LightHandle open3d::visualization::Scene::AddLight ( const LightDescription descr)
pure virtual

◆ AddView()

virtual ViewHandle open3d::visualization::Scene::AddView ( std::int32_t  x,
std::int32_t  y,
std::uint32_t  w,
std::uint32_t  h 
)
pure virtual

◆ AssignMaterial()

virtual void open3d::visualization::Scene::AssignMaterial ( const GeometryHandle geometry_id,
const MaterialInstanceHandle material_id 
)
pure virtual

◆ FindGeometryByName()

virtual std::vector<GeometryHandle> open3d::visualization::Scene::FindGeometryByName ( const std::string &  name)
pure virtual

◆ GetEntityBoundingBox()

virtual geometry::AxisAlignedBoundingBox open3d::visualization::Scene::GetEntityBoundingBox ( const REHandle_abstract entity_id)
pure virtual

◆ GetEntityEnabled()

virtual bool open3d::visualization::Scene::GetEntityEnabled ( const REHandle_abstract entity_id)
pure virtual

◆ GetEntityTransform()

virtual Transform open3d::visualization::Scene::GetEntityTransform ( const REHandle_abstract entity_id)
pure virtual

◆ GetIndirectLightIntensity()

virtual float open3d::visualization::Scene::GetIndirectLightIntensity ( ) const
pure virtual

◆ GetIndirectLightRotation()

virtual Transform open3d::visualization::Scene::GetIndirectLightRotation ( ) const
pure virtual

◆ GetLightDirection()

virtual Eigen::Vector3f open3d::visualization::Scene::GetLightDirection ( const LightHandle id) const
pure virtual

◆ GetMaterial()

virtual MaterialInstanceHandle open3d::visualization::Scene::GetMaterial ( const GeometryHandle geometry_id) const
pure virtual

◆ GetView()

virtual View* open3d::visualization::Scene::GetView ( const ViewHandle view_id) const
pure virtual

◆ RemoveGeometry()

virtual void open3d::visualization::Scene::RemoveGeometry ( const GeometryHandle geometry_id)
pure virtual

◆ RemoveLight()

virtual void open3d::visualization::Scene::RemoveLight ( const LightHandle id)
pure virtual

◆ RemoveView()

virtual void open3d::visualization::Scene::RemoveView ( const ViewHandle view_id)
pure virtual

◆ SetEntityEnabled()

virtual void open3d::visualization::Scene::SetEntityEnabled ( const REHandle_abstract entity_id,
bool  enabled 
)
pure virtual

◆ SetEntityTransform()

virtual void open3d::visualization::Scene::SetEntityTransform ( const REHandle_abstract entity_id,
const Transform transform 
)
pure virtual

◆ SetGeometryShadows()

virtual void open3d::visualization::Scene::SetGeometryShadows ( const GeometryHandle geometry_id,
bool  casts_shadows,
bool  receives_shadows 
)
pure virtual

◆ SetIndirectLight()

virtual void open3d::visualization::Scene::SetIndirectLight ( const IndirectLightHandle id)
pure virtual

◆ SetIndirectLightIntensity()

virtual void open3d::visualization::Scene::SetIndirectLightIntensity ( float  intensity)
pure virtual

◆ SetIndirectLightRotation()

virtual void open3d::visualization::Scene::SetIndirectLightRotation ( const Transform rotation)
pure virtual

◆ SetLightColor()

virtual void open3d::visualization::Scene::SetLightColor ( const LightHandle id,
const Eigen::Vector3f &  color 
)
pure virtual

◆ SetLightDirection()

virtual void open3d::visualization::Scene::SetLightDirection ( const LightHandle id,
const Eigen::Vector3f &  dir 
)
pure virtual

◆ SetLightFalloff()

virtual void open3d::visualization::Scene::SetLightFalloff ( const LightHandle id,
float  falloff 
)
pure virtual

◆ SetLightIntensity()

virtual void open3d::visualization::Scene::SetLightIntensity ( const LightHandle id,
float  intensity 
)
pure virtual

◆ SetLightPosition()

virtual void open3d::visualization::Scene::SetLightPosition ( const LightHandle id,
const Eigen::Vector3f &  pos 
)
pure virtual

◆ SetSkybox()

virtual void open3d::visualization::Scene::SetSkybox ( const SkyboxHandle id)
pure virtual

◆ SetViewActive()

virtual void open3d::visualization::Scene::SetViewActive ( const ViewHandle view_id,
bool  is_active 
)
pure virtual

The documentation for this class was generated from the following file: