Open3D (C++ API)
0.18.0+252c867
|
#include <FilamentScene.h>
Public Types | |
using | Transform = Eigen::Transform< float, 3, Eigen::Affine > |
Public Types inherited from open3d::visualization::rendering::Scene | |
enum class | GroundPlane { XZ , XY , YZ } |
using | Transform = Eigen::Transform< float, 3, Eigen::Affine > |
Public Member Functions | |
FilamentScene (filament::Engine &engine, FilamentResourceManager &resource_mgr, Renderer &renderer) | |
~FilamentScene () | |
Scene * | Copy () override |
ViewHandle | AddView (std::int32_t x, std::int32_t y, std::uint32_t w, std::uint32_t h) override |
View * | GetView (const ViewHandle &view_id) const override |
void | SetViewActive (const ViewHandle &view_id, bool is_active) override |
void | SetRenderOnce (const ViewHandle &view_id) override |
void | RemoveView (const ViewHandle &view_id) override |
void | AddCamera (const std::string &camera_name, std::shared_ptr< Camera > cam) override |
void | RemoveCamera (const std::string &camera_name) override |
void | SetActiveCamera (const std::string &camera_name) override |
bool | AddGeometry (const std::string &object_name, const geometry::Geometry3D &geometry, const MaterialRecord &material, const std::string &downsampled_name="", size_t downsample_threshold=SIZE_MAX) override |
bool | AddGeometry (const std::string &object_name, const t::geometry::Geometry &geometry, const MaterialRecord &material, const std::string &downsampled_name="", size_t downsample_threshold=SIZE_MAX) override |
bool | AddGeometry (const std::string &object_name, const TriangleMeshModel &model) override |
bool | HasGeometry (const std::string &object_name) const override |
void | UpdateGeometry (const std::string &object_name, const t::geometry::PointCloud &point_cloud, uint32_t update_flags) override |
void | RemoveGeometry (const std::string &object_name) override |
void | ShowGeometry (const std::string &object_name, bool show) override |
bool | GeometryIsVisible (const std::string &object_name) override |
void | SetGeometryTransform (const std::string &object_name, const Transform &transform) override |
Transform | GetGeometryTransform (const std::string &object_name) override |
geometry::AxisAlignedBoundingBox | GetGeometryBoundingBox (const std::string &object_name) override |
void | GeometryShadows (const std::string &object_name, bool cast_shadows, bool receive_shadows) override |
void | SetGeometryCulling (const std::string &object_name, bool enable) override |
void | SetGeometryPriority (const std::string &object_name, uint8_t priority) override |
void | OverrideMaterial (const std::string &object_name, const MaterialRecord &material) override |
void | QueryGeometry (std::vector< std::string > &geometry) override |
void | OverrideMaterialAll (const MaterialRecord &material, bool shader_only=true) override |
bool | AddPointLight (const std::string &light_name, const Eigen::Vector3f &color, const Eigen::Vector3f &position, float intensity, float falloff, bool cast_shadows) override |
bool | AddSpotLight (const std::string &light_name, const Eigen::Vector3f &color, const Eigen::Vector3f &position, const Eigen::Vector3f &direction, float intensity, float falloff, float inner_cone_angle, float outer_cone_angle, bool cast_shadows) override |
bool | AddDirectionalLight (const std::string &light_name, const Eigen::Vector3f &color, const Eigen::Vector3f &direction, float intensity, bool cast_shadows) override |
Light & | GetLight (const std::string &light_name) override |
void | RemoveLight (const std::string &light_name) override |
void | UpdateLight (const std::string &light_name, const Light &light) override |
void | UpdateLightColor (const std::string &light_name, const Eigen::Vector3f &color) override |
void | UpdateLightPosition (const std::string &light_name, const Eigen::Vector3f &position) override |
void | UpdateLightDirection (const std::string &light_name, const Eigen::Vector3f &direction) override |
void | UpdateLightIntensity (const std::string &light_name, float intensity) override |
void | UpdateLightFalloff (const std::string &light_name, float falloff) override |
void | UpdateLightConeAngles (const std::string &light_name, float inner_cone_angle, float outer_cone_angle) override |
void | EnableLightShadow (const std::string &light_name, bool cast_shadows) override |
void | SetSunLight (const Eigen::Vector3f &direction, const Eigen::Vector3f &color, float intensity) override |
void | EnableSunLight (bool enable) override |
void | EnableSunLightShadows (bool enable) override |
void | SetSunLightColor (const Eigen::Vector3f &color) override |
Eigen::Vector3f | GetSunLightColor () override |
void | SetSunLightIntensity (float intensity) override |
float | GetSunLightIntensity () override |
void | SetSunLightDirection (const Eigen::Vector3f &direction) override |
Eigen::Vector3f | GetSunLightDirection () override |
void | SetSunAngularRadius (float radius) override |
void | SetSunHaloSize (float size) override |
void | SetSunHaloFalloff (float falloff) override |
bool | SetIndirectLight (const std::string &ibl_name) override |
const std::string & | GetIndirectLight () override |
void | EnableIndirectLight (bool enable) override |
void | SetIndirectLightIntensity (float intensity) override |
float | GetIndirectLightIntensity () override |
void | SetIndirectLightRotation (const Transform &rotation) override |
Transform | GetIndirectLightRotation () override |
void | ShowSkybox (bool show) override |
bool | GetSkyboxVisible () const override |
void | SetBackground (const Eigen::Vector4f &color, const std::shared_ptr< geometry::Image > image=nullptr) override |
void | SetBackground (TextureHandle image) override |
void | EnableGroundPlane (bool enable, GroundPlane plane) override |
void | SetGroundPlaneColor (const Eigen::Vector4f &color) override |
void | RenderToImage (std::function< void(std::shared_ptr< geometry::Image >)> callback) override |
Size of image is the size of the window. More... | |
void | RenderToDepthImage (std::function< void(std::shared_ptr< geometry::Image >)> callback) override |
Size of image is the size of the window. More... | |
void | Draw (filament::Renderer &renderer) |
void | HideRefractedMaterials (bool hide=true) |
filament::Scene * | GetNativeScene () const |
Public Member Functions inherited from open3d::visualization::rendering::Scene | |
Scene (Renderer &renderer) | |
virtual | ~Scene ()=default |
Additional Inherited Members | |
Static Public Attributes inherited from open3d::visualization::rendering::Scene | |
static const uint32_t | kUpdatePointsFlag = (1 << 0) |
static const uint32_t | kUpdateNormalsFlag = (1 << 1) |
static const uint32_t | kUpdateColorsFlag = (1 << 2) |
static const uint32_t | kUpdateUv0Flag = (1 << 3) |
Protected Attributes inherited from open3d::visualization::rendering::Scene | |
Renderer & | renderer_ |
using open3d::visualization::rendering::FilamentScene::Transform = Eigen::Transform<float, 3, Eigen::Affine> |
open3d::visualization::rendering::FilamentScene::FilamentScene | ( | filament::Engine & | engine, |
FilamentResourceManager & | resource_mgr, | ||
Renderer & | renderer | ||
) |
open3d::visualization::rendering::FilamentScene::~FilamentScene | ( | ) |
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
void open3d::visualization::rendering::FilamentScene::Draw | ( | filament::Renderer & | renderer | ) |
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
inline |
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
void open3d::visualization::rendering::FilamentScene::HideRefractedMaterials | ( | bool | hide = true | ) |
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Size of image is the size of the window.
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Size of image is the size of the window.
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.
|
overridevirtual |
Implements open3d::visualization::rendering::Scene.