Open3D (C++ API)  0.11.0
Public Types | Public Member Functions
open3d::visualization::rendering::View Class Referenceabstract

#include <View.h>

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

Public Types

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
}
 

Public Member Functions

virtual ~View ()
 
virtual void SetDiscardBuffers (const TargetBuffers &buffers)=0
 
virtual Mode GetMode () const =0
 
virtual void SetMode (Mode mode)=0
 
virtual void SetSampleCount (int n)=0
 
virtual int GetSampleCount () const =0
 
virtual void SetViewport (std::int32_t x, std::int32_t y, std::uint32_t w, std::uint32_t h)=0
 
virtual std::array< int, 4 > GetViewport () const =0
 
virtual void SetSSAOEnabled (bool enabled)=0
 
virtual CameraGetCamera () const =0
 

Member Enumeration Documentation

◆ Mode

Enumerator
Color 
Depth 
Normals 
ColorMapX 
ColorMapY 
ColorMapZ 

◆ TargetBuffers

Enumerator
None 
Color 
Depth 
Stencil 
ColorAndDepth 
ColorAndStencil 
DepthAndStencil 
All 

Constructor & Destructor Documentation

◆ ~View()

virtual open3d::visualization::rendering::View::~View ( )
inlinevirtual

Member Function Documentation

◆ GetCamera()

virtual Camera* open3d::visualization::rendering::View::GetCamera ( ) const
pure virtual

◆ GetMode()

virtual Mode open3d::visualization::rendering::View::GetMode ( ) const
pure virtual

◆ GetSampleCount()

virtual int open3d::visualization::rendering::View::GetSampleCount ( ) const
pure virtual

◆ GetViewport()

virtual std::array<int, 4> open3d::visualization::rendering::View::GetViewport ( ) const
pure virtual

◆ SetDiscardBuffers()

virtual void open3d::visualization::rendering::View::SetDiscardBuffers ( const TargetBuffers buffers)
pure virtual

◆ SetMode()

virtual void open3d::visualization::rendering::View::SetMode ( Mode  mode)
pure virtual

◆ SetSampleCount()

virtual void open3d::visualization::rendering::View::SetSampleCount ( int  n)
pure virtual

◆ SetSSAOEnabled()

virtual void open3d::visualization::rendering::View::SetSSAOEnabled ( bool  enabled)
pure virtual

◆ SetViewport()

virtual void open3d::visualization::rendering::View::SetViewport ( std::int32_t  x,
std::int32_t  y,
std::uint32_t  w,
std::uint32_t  h 
)
pure virtual

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