Open3D (C++ API)  0.17.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 class  TargetBuffers : std::uint8_t {
  None = 0u , Color = 1u , Depth = 2u , Stencil = 4u ,
  ColorAndDepth = Color | Depth , ColorAndStencil = Color | Stencil , DepthAndStencil = Depth | Stencil , All = Color | Depth | Stencil
}
 
enum class  Mode : std::uint8_t {
  Color = 0u , Depth , Normals , ColorMapX ,
  ColorMapY , ColorMapZ
}
 
enum class  ShadowType : std::uint8_t { kPCF , 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 SetWireframe (bool enable)=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 SetBloom (bool enabled, float strength=0.5f, int spread=6)=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 void EnableViewCaching (bool enable)=0
 
virtual bool IsCached () const =0
 
virtual TextureHandle GetColorBuffer ()=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

◆ EnableViewCaching()

virtual void open3d::visualization::rendering::View::EnableViewCaching ( bool  enable)
pure virtual

◆ GetCamera()

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

◆ GetColorBuffer()

virtual TextureHandle open3d::visualization::rendering::View::GetColorBuffer ( )
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

◆ IsCached()

virtual bool open3d::visualization::rendering::View::IsCached ( ) 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

◆ SetBloom()

virtual void open3d::visualization::rendering::View::SetBloom ( bool  enabled,
float  strength = 0.5f,
int  spread = 6 
)
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

◆ SetWireframe()

virtual void open3d::visualization::rendering::View::SetWireframe ( bool  enable)
pure virtual

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