Open3D (C++ API)  0.11.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

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 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
 

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

◆ SetDownsampleThreshold()

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

Field Documentation

◆ downsample_threshold_

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

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