Open3D (C++ API)  0.12.0
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes
open3d::visualization::rendering::GeometryBuffersBuilder Class Referenceabstract

#include <FilamentGeometryBuffersBuilder.h>

Inheritance diagram for open3d::visualization::rendering::GeometryBuffersBuilder:
open3d::visualization::rendering::LineSetBuffersBuilder open3d::visualization::rendering::PointCloudBuffersBuilder open3d::visualization::rendering::TPointCloudBuffersBuilder open3d::visualization::rendering::TriangleMeshBuffersBuilder open3d::visualization::rendering::TemporaryLineSetBuilder

Public Types

using Buffers = std::tuple< VertexBufferHandle, IndexBufferHandle, IndexBufferHandle >
 
using IndexType = std::uint32_t
 

Public Member Functions

virtual ~GeometryBuffersBuilder ()=default
 
virtual filament::RenderableManager::PrimitiveType GetPrimitiveType () const =0
 
virtual void SetDownsampleThreshold (size_t min_points)
 
virtual void SetWideLines ()
 
virtual void SetAdjustColorsForSRGBToneMapping (bool adjust)
 
virtual Buffers ConstructBuffers ()=0
 
virtual filament::Box ComputeAABB ()=0
 

Static Public Member Functions

static std::unique_ptr< GeometryBuffersBuilderGetBuilder (const geometry::Geometry3D &geometry)
 
static std::unique_ptr< GeometryBuffersBuilderGetBuilder (const t::geometry::PointCloud &geometry)
 

Static Protected Member Functions

static void DeallocateBuffer (void *buffer, size_t size, void *user_ptr)
 
static IndexBufferHandle CreateIndexBuffer (size_t max_index, size_t n_subsamples=SIZE_MAX)
 

Protected Attributes

size_t downsample_threshold_ = SIZE_MAX
 
bool wide_lines_ = false
 
bool adjust_colors_for_srgb_tonemapping_ = true
 

Member Typedef Documentation

◆ Buffers

◆ IndexType

Constructor & Destructor Documentation

◆ ~GeometryBuffersBuilder()

virtual open3d::visualization::rendering::GeometryBuffersBuilder::~GeometryBuffersBuilder ( )
virtualdefault

Member Function Documentation

◆ ComputeAABB()

virtual filament::Box open3d::visualization::rendering::GeometryBuffersBuilder::ComputeAABB ( )
pure virtual

◆ ConstructBuffers()

virtual Buffers open3d::visualization::rendering::GeometryBuffersBuilder::ConstructBuffers ( )
pure virtual

◆ CreateIndexBuffer()

IndexBufferHandle open3d::visualization::rendering::GeometryBuffersBuilder::CreateIndexBuffer ( size_t  max_index,
size_t  n_subsamples = SIZE_MAX 
)
staticprotected

◆ DeallocateBuffer()

void open3d::visualization::rendering::GeometryBuffersBuilder::DeallocateBuffer ( void *  buffer,
size_t  size,
void *  user_ptr 
)
staticprotected

◆ GetBuilder() [1/2]

std::unique_ptr< GeometryBuffersBuilder > open3d::visualization::rendering::GeometryBuffersBuilder::GetBuilder ( const geometry::Geometry3D geometry)
static

◆ GetBuilder() [2/2]

std::unique_ptr< GeometryBuffersBuilder > open3d::visualization::rendering::GeometryBuffersBuilder::GetBuilder ( const t::geometry::PointCloud geometry)
static

◆ GetPrimitiveType()

virtual filament::RenderableManager::PrimitiveType open3d::visualization::rendering::GeometryBuffersBuilder::GetPrimitiveType ( ) const
pure virtual

◆ SetAdjustColorsForSRGBToneMapping()

virtual void open3d::visualization::rendering::GeometryBuffersBuilder::SetAdjustColorsForSRGBToneMapping ( bool  adjust)
inlinevirtual

◆ SetDownsampleThreshold()

virtual void open3d::visualization::rendering::GeometryBuffersBuilder::SetDownsampleThreshold ( size_t  min_points)
inlinevirtual

◆ SetWideLines()

virtual void open3d::visualization::rendering::GeometryBuffersBuilder::SetWideLines ( )
inlinevirtual

Field Documentation

◆ adjust_colors_for_srgb_tonemapping_

bool open3d::visualization::rendering::GeometryBuffersBuilder::adjust_colors_for_srgb_tonemapping_ = true
protected

◆ downsample_threshold_

size_t open3d::visualization::rendering::GeometryBuffersBuilder::downsample_threshold_ = SIZE_MAX
protected

◆ wide_lines_

bool open3d::visualization::rendering::GeometryBuffersBuilder::wide_lines_ = false
protected

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