Open3D (C++ API)
Data Structures | Public Member Functions | Friends
open3d::visualization::FilamentScene Class Reference

#include <FilamentScene.h>

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

Public Member Functions

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

Friends

class FilamentView
 

Additional Inherited Members

- Public Types inherited from open3d::visualization::Scene
using Transform = Eigen::Transform< float, 3, Eigen::Affine >
 

Constructor & Destructor Documentation

◆ FilamentScene()

open3d::visualization::FilamentScene::FilamentScene ( filament::Engine &  engine,
FilamentResourceManager resource_mgr 
)

◆ ~FilamentScene()

open3d::visualization::FilamentScene::~FilamentScene ( )
override

Member Function Documentation

◆ AddGeometry() [1/3]

GeometryHandle open3d::visualization::FilamentScene::AddGeometry ( const geometry::Geometry3D geometry)
overridevirtual

◆ AddGeometry() [2/3]

GeometryHandle open3d::visualization::FilamentScene::AddGeometry ( const geometry::Geometry3D geometry,
const MaterialInstanceHandle material_id 
)
overridevirtual

◆ AddGeometry() [3/3]

GeometryHandle open3d::visualization::FilamentScene::AddGeometry ( const geometry::Geometry3D geometry,
const MaterialInstanceHandle material_id,
const std::string &  name 
)
overridevirtual

◆ AddLight()

LightHandle open3d::visualization::FilamentScene::AddLight ( const LightDescription descr)
overridevirtual

◆ AddView()

ViewHandle open3d::visualization::FilamentScene::AddView ( std::int32_t  x,
std::int32_t  y,
std::uint32_t  w,
std::uint32_t  h 
)
overridevirtual

◆ AssignMaterial()

void open3d::visualization::FilamentScene::AssignMaterial ( const GeometryHandle geometry_id,
const MaterialInstanceHandle material_id 
)
overridevirtual

◆ Draw()

void open3d::visualization::FilamentScene::Draw ( filament::Renderer &  renderer)

◆ FindGeometryByName()

std::vector< GeometryHandle > open3d::visualization::FilamentScene::FindGeometryByName ( const std::string &  name)
overridevirtual

◆ GetEntityBoundingBox()

geometry::AxisAlignedBoundingBox open3d::visualization::FilamentScene::GetEntityBoundingBox ( const REHandle_abstract entity_id)
overridevirtual

◆ GetEntityEnabled()

bool open3d::visualization::FilamentScene::GetEntityEnabled ( const REHandle_abstract entity_id)
overridevirtual

◆ GetEntityTransform()

FilamentScene::Transform open3d::visualization::FilamentScene::GetEntityTransform ( const REHandle_abstract entity_id)
overridevirtual

◆ GetIndirectLightIntensity()

float open3d::visualization::FilamentScene::GetIndirectLightIntensity ( ) const
overridevirtual

◆ GetIndirectLightRotation()

FilamentScene::Transform open3d::visualization::FilamentScene::GetIndirectLightRotation ( ) const
overridevirtual

◆ GetLightDirection()

Eigen::Vector3f open3d::visualization::FilamentScene::GetLightDirection ( const LightHandle id) const
overridevirtual

◆ GetMaterial()

MaterialInstanceHandle open3d::visualization::FilamentScene::GetMaterial ( const GeometryHandle geometry_id) const
overridevirtual

◆ GetNativeScene()

filament::Scene* open3d::visualization::FilamentScene::GetNativeScene ( ) const
inline

◆ GetView()

View * open3d::visualization::FilamentScene::GetView ( const ViewHandle view_id) const
overridevirtual

◆ RemoveGeometry()

void open3d::visualization::FilamentScene::RemoveGeometry ( const GeometryHandle geometry_id)
overridevirtual

◆ RemoveLight()

void open3d::visualization::FilamentScene::RemoveLight ( const LightHandle id)
overridevirtual

◆ RemoveView()

void open3d::visualization::FilamentScene::RemoveView ( const ViewHandle view_id)
overridevirtual

◆ SetEntityEnabled()

void open3d::visualization::FilamentScene::SetEntityEnabled ( const REHandle_abstract entity_id,
bool  enabled 
)
overridevirtual

◆ SetEntityTransform()

void open3d::visualization::FilamentScene::SetEntityTransform ( const REHandle_abstract entity_id,
const Transform transform 
)
overridevirtual

◆ SetGeometryShadows()

void open3d::visualization::FilamentScene::SetGeometryShadows ( const GeometryHandle geometry_id,
bool  casts_shadows,
bool  receives_shadows 
)
overridevirtual

◆ SetIndirectLight()

void open3d::visualization::FilamentScene::SetIndirectLight ( const IndirectLightHandle id)
overridevirtual

◆ SetIndirectLightIntensity()

void open3d::visualization::FilamentScene::SetIndirectLightIntensity ( float  intensity)
overridevirtual

◆ SetIndirectLightRotation()

void open3d::visualization::FilamentScene::SetIndirectLightRotation ( const Transform rotation)
overridevirtual

◆ SetLightColor()

void open3d::visualization::FilamentScene::SetLightColor ( const LightHandle id,
const Eigen::Vector3f &  color 
)
overridevirtual

◆ SetLightDirection()

void open3d::visualization::FilamentScene::SetLightDirection ( const LightHandle id,
const Eigen::Vector3f &  dir 
)
overridevirtual

◆ SetLightFalloff()

void open3d::visualization::FilamentScene::SetLightFalloff ( const LightHandle id,
float  falloff 
)
overridevirtual

◆ SetLightIntensity()

void open3d::visualization::FilamentScene::SetLightIntensity ( const LightHandle id,
float  intensity 
)
overridevirtual

◆ SetLightPosition()

void open3d::visualization::FilamentScene::SetLightPosition ( const LightHandle id,
const Eigen::Vector3f &  pos 
)
overridevirtual

◆ SetSkybox()

void open3d::visualization::FilamentScene::SetSkybox ( const SkyboxHandle id)
overridevirtual

◆ SetViewActive()

void open3d::visualization::FilamentScene::SetViewActive ( const ViewHandle view_id,
bool  is_active 
)
overridevirtual

Friends And Related Function Documentation

◆ FilamentView

friend class FilamentView
friend

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