Open3D (C++ API)  0.12.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
}
 
enum  ShadowType : std::uint8_t { ShadowType::kPCF, ShadowType::kVSM }
 

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 SetPostProcessing (bool enabled)=0
 
virtual void SetAmbientOcclusion (bool enabled, bool ssct_enabled=false)=0
 
virtual void SetAntiAliasing (bool enabled, bool temporal=false)=0
 
virtual void SetShadowing (bool enabled, ShadowType type)=0
 
virtual void SetColorGrading (const ColorGradingParams &color_grading)=0
 
virtual void ConfigureForColorPicking ()=0
 
virtual CameraGetCamera () const =0
 

Member Enumeration Documentation

◆ Mode

Enumerator
Color 
Depth 
Normals 
ColorMapX 
ColorMapY 
ColorMapZ 

◆ ShadowType

Enumerator
kPCF 
kVSM 

◆ TargetBuffers

Enumerator
None 
Color 
Depth 
Stencil 
ColorAndDepth 
ColorAndStencil 
DepthAndStencil 
All 

Constructor & Destructor Documentation

◆ ~View()

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

Member Function Documentation

◆ ConfigureForColorPicking()

virtual void open3d::visualization::rendering::View::ConfigureForColorPicking ( )
pure virtual

◆ 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

◆ SetAmbientOcclusion()

virtual void open3d::visualization::rendering::View::SetAmbientOcclusion ( bool  enabled,
bool  ssct_enabled = false 
)
pure virtual

◆ SetAntiAliasing()

virtual void open3d::visualization::rendering::View::SetAntiAliasing ( bool  enabled,
bool  temporal = false 
)
pure virtual

◆ SetColorGrading()

virtual void open3d::visualization::rendering::View::SetColorGrading ( const ColorGradingParams color_grading)
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

◆ SetPostProcessing()

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

◆ SetSampleCount()

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

◆ SetShadowing()

virtual void open3d::visualization::rendering::View::SetShadowing ( bool  enabled,
ShadowType  type 
)
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: