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

#include <FilamentView.h>

Inheritance diagram for open3d::visualization::FilamentView:
open3d::visualization::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
 
void SetClearColor (const Eigen::Vector3f &color) override
 
void SetSSAOEnabled (bool enabled) 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::View
virtual ~View ()
 
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::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
}
 

Constructor & Destructor Documentation

◆ FilamentView() [1/2]

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

◆ FilamentView() [2/2]

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

◆ ~FilamentView()

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

Member Function Documentation

◆ CopySettingsFrom()

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

◆ GetCamera()

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

◆ GetMode()

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

◆ GetNativeView()

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

◆ GetSampleCount()

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

◆ PostRender()

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

◆ PreRender()

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

◆ SetClearColor()

void open3d::visualization::FilamentView::SetClearColor ( const Eigen::Vector3f &  color)
overridevirtual

◆ SetDiscardBuffers()

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

◆ SetMode()

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

◆ SetSampleCount()

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

◆ SetScene()

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

◆ SetSSAOEnabled()

void open3d::visualization::FilamentView::SetSSAOEnabled ( bool  enabled)
overridevirtual

◆ SetViewport()

void open3d::visualization::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::FilamentView::kAllLayersMask
static
Initial value:
=
std::numeric_limits<std::uint8_t>::max()

◆ kMainLayer

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

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