Open3D (C++ API)  0.12.0
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
 
Mode GetMode () const override
 
void SetMode (Mode mode) override
 
void SetDiscardBuffers (const TargetBuffers &buffers) 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 SetAntiAliasing (bool enabled, bool temporal=false) override
 
void SetShadowing (bool enabled, ShadowType type) override
 
void SetColorGrading (const ColorGradingParams &color_grading) override
 
void ConfigureForColorPicking () override
 
CameraGetCamera () const override
 
void CopySettingsFrom (const FilamentView &other)
 
void SetScene (FilamentScene &scene)
 
filament::ViewGetNativeView () const
 
void PreRender ()
 
void PostRender ()
 
- Public Member Functions inherited from open3d::visualization::rendering::View
virtual ~View ()
 
virtual void SetDiscardBuffers (const TargetBuffers &buffers)=0
 
virtual void SetMode (Mode mode)=0
 

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  TargetBuffers : std::uint8_t {
  TargetBuffers::None = 0u, TargetBuffers::Color = 1u, TargetBuffers::Depth = 2u, TargetBuffers::Stencil = 4u,
  TargetBuffers::ColorAndDepth = Color | Depth, TargetBuffers::ColorAndStencil = Color | Stencil, TargetBuffers::DepthAndStencil = Depth | Stencil, TargetBuffers::All = Color | Depth | Stencil
}
 
enum  Mode : std::uint8_t {
  Mode::Color = 0u, Mode::Depth, Mode::Normals, Mode::ColorMapX,
  Mode::ColorMapY, Mode::ColorMapZ
}
 
enum  ShadowType : std::uint8_t { ShadowType::kPCF, ShadowType::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)

◆ GetCamera()

Camera * open3d::visualization::rendering::FilamentView::GetCamera ( ) const
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

◆ 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

◆ SetColorGrading()

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

◆ SetDiscardBuffers()

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

◆ SetMode()

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

◆ 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

Field Documentation

◆ kAllLayersMask

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

◆ kMainLayer

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

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