Open3D (C++ API)  0.18.0+252c867
Public Member Functions | Static Public Attributes
open3d::visualization::rendering::FilamentView Class Reference

#include <FilamentView.h>

Inheritance diagram for open3d::visualization::rendering::FilamentView:
open3d::visualization::rendering::View

Public Member Functions

 FilamentView (filament::Engine &engine, FilamentResourceManager &resource_mgr)
 
 FilamentView (filament::Engine &engine, FilamentScene &scene, FilamentResourceManager &resource_mgr)
 
 ~FilamentView () override
 
void SetDiscardBuffers (const TargetBuffers &buffers) override
 
Mode GetMode () const override
 
void SetMode (Mode mode) override
 
void SetWireframe (bool enable) override
 
void SetSampleCount (int n) override
 
int GetSampleCount () const override
 
void SetViewport (std::int32_t x, std::int32_t y, std::uint32_t w, std::uint32_t h) override
 
std::array< int, 4 > GetViewport () const override
 
void SetPostProcessing (bool enabled) override
 
void SetAmbientOcclusion (bool enabled, bool ssct_enabled=false) override
 
void SetBloom (bool enabled, float strength=0.5f, int spread=6) override
 
void SetAntiAliasing (bool enabled, bool temporal=false) override
 
void SetShadowing (bool enabled, ShadowType type) override
 
void SetColorGrading (const ColorGradingParams &color_grading) override
 
void ConfigureForColorPicking () override
 
void EnableViewCaching (bool enable) override
 
bool IsCached () const override
 
TextureHandle GetColorBuffer () override
 
CameraGetCamera () const override
 
void CopySettingsFrom (const FilamentView &other)
 
void SetScene (FilamentScene &scene)
 
filament::View * GetNativeView () const
 
void PreRender ()
 
void PostRender ()
 
- Public Member Functions inherited from open3d::visualization::rendering::View
virtual ~View ()
 

Static Public Attributes

static constexpr std::uint8_t kAllLayersMask
 
static constexpr std::uint8_t kMainLayer = 1
 

Additional Inherited Members

- Public Types inherited from open3d::visualization::rendering::View
enum class  TargetBuffers : std::uint8_t {
  None = 0u , Color = 1u , Depth = 2u , Stencil = 4u ,
  ColorAndDepth = Color | Depth , ColorAndStencil = Color | Stencil , DepthAndStencil = Depth | Stencil , All = Color | Depth | Stencil
}
 
enum class  Mode : std::uint8_t {
  Color = 0u , Depth , Normals , ColorMapX ,
  ColorMapY , ColorMapZ
}
 
enum class  ShadowType : std::uint8_t { kPCF , kVSM }
 

Constructor & Destructor Documentation

◆ FilamentView() [1/2]

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

◆ FilamentView() [2/2]

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

◆ ~FilamentView()

open3d::visualization::rendering::FilamentView::~FilamentView ( )
override

Member Function Documentation

◆ ConfigureForColorPicking()

void open3d::visualization::rendering::FilamentView::ConfigureForColorPicking ( )
overridevirtual

◆ CopySettingsFrom()

void open3d::visualization::rendering::FilamentView::CopySettingsFrom ( const FilamentView other)

◆ EnableViewCaching()

void open3d::visualization::rendering::FilamentView::EnableViewCaching ( bool  enable)
overridevirtual

◆ GetCamera()

Camera * open3d::visualization::rendering::FilamentView::GetCamera ( ) const
overridevirtual

◆ GetColorBuffer()

TextureHandle open3d::visualization::rendering::FilamentView::GetColorBuffer ( )
overridevirtual

◆ GetMode()

View::Mode open3d::visualization::rendering::FilamentView::GetMode ( ) const
overridevirtual

◆ GetNativeView()

filament::View* open3d::visualization::rendering::FilamentView::GetNativeView ( ) const
inline

◆ GetSampleCount()

int open3d::visualization::rendering::FilamentView::GetSampleCount ( ) const
overridevirtual

◆ GetViewport()

std::array< int, 4 > open3d::visualization::rendering::FilamentView::GetViewport ( ) const
overridevirtual

◆ IsCached()

bool open3d::visualization::rendering::FilamentView::IsCached ( ) const
overridevirtual

◆ PostRender()

void open3d::visualization::rendering::FilamentView::PostRender ( )

◆ PreRender()

void open3d::visualization::rendering::FilamentView::PreRender ( )

◆ SetAmbientOcclusion()

void open3d::visualization::rendering::FilamentView::SetAmbientOcclusion ( bool  enabled,
bool  ssct_enabled = false 
)
overridevirtual

◆ SetAntiAliasing()

void open3d::visualization::rendering::FilamentView::SetAntiAliasing ( bool  enabled,
bool  temporal = false 
)
overridevirtual

◆ SetBloom()

void open3d::visualization::rendering::FilamentView::SetBloom ( bool  enabled,
float  strength = 0.5f,
int  spread = 6 
)
overridevirtual

◆ SetColorGrading()

void open3d::visualization::rendering::FilamentView::SetColorGrading ( const ColorGradingParams color_grading)
overridevirtual

◆ SetDiscardBuffers()

void open3d::visualization::rendering::FilamentView::SetDiscardBuffers ( const TargetBuffers buffers)
overridevirtual

◆ SetMode()

void open3d::visualization::rendering::FilamentView::SetMode ( Mode  mode)
overridevirtual

◆ SetPostProcessing()

void open3d::visualization::rendering::FilamentView::SetPostProcessing ( bool  enabled)
overridevirtual

◆ SetSampleCount()

void open3d::visualization::rendering::FilamentView::SetSampleCount ( int  n)
overridevirtual

◆ SetScene()

void open3d::visualization::rendering::FilamentView::SetScene ( FilamentScene scene)

◆ SetShadowing()

void open3d::visualization::rendering::FilamentView::SetShadowing ( bool  enabled,
ShadowType  type 
)
overridevirtual

◆ SetViewport()

void open3d::visualization::rendering::FilamentView::SetViewport ( std::int32_t  x,
std::int32_t  y,
std::uint32_t  w,
std::uint32_t  h 
)
overridevirtual

◆ SetWireframe()

void open3d::visualization::rendering::FilamentView::SetWireframe ( bool  enable)
overridevirtual

Field Documentation

◆ kAllLayersMask

constexpr std::uint8_t open3d::visualization::rendering::FilamentView::kAllLayersMask
staticconstexpr
Initial value:
=
std::numeric_limits<std::uint8_t>::max()

◆ kMainLayer

constexpr std::uint8_t open3d::visualization::rendering::FilamentView::kMainLayer = 1
staticconstexpr

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