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

#include <View.h>

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

Member Enumeration Documentation

◆ Mode

enum open3d::visualization::View::Mode : std::uint8_t
strong
Enumerator
Color 
Depth 
Normals 
ColorMapX 
ColorMapY 
ColorMapZ 

◆ TargetBuffers

enum open3d::visualization::View::TargetBuffers : std::uint8_t
strong
Enumerator
None 
Color 
Depth 
Stencil 
ColorAndDepth 
ColorAndStencil 
DepthAndStencil 
All 

Constructor & Destructor Documentation

◆ ~View()

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

Member Function Documentation

◆ GetCamera()

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

◆ GetMode()

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

◆ GetSampleCount()

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

◆ SetClearColor()

virtual void open3d::visualization::View::SetClearColor ( const Eigen::Vector3f &  color)
pure virtual

◆ SetDiscardBuffers()

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

◆ SetMode()

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

◆ SetSampleCount()

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

◆ SetSSAOEnabled()

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

◆ SetViewport()

virtual void open3d::visualization::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: