GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::PointCloudDecoder Class Referenceabstract

#include <point_cloud_decoder.h>

Inheritance diagram for draco::PointCloudDecoder:

Public Member Functions

 PointCloudDecoder ()
virtual ~PointCloudDecoder ()=default
virtual EncodedGeometryType GetGeometryType () const
Status Decode (const DecoderOptions &options, DecoderBuffer *in_buffer, PointCloud *out_point_cloud)
bool SetAttributesDecoder (int att_decoder_id, std::unique_ptr< AttributesDecoderInterface > decoder)
const PointAttribute * GetPortableAttribute (int32_t point_attribute_id)
uint16_t bitstream_version () const
const AttributesDecoderInterface * attributes_decoder (int dec_id)
int32_t num_attributes_decoders () const
PointCloud * point_cloud ()
const PointCloud * point_cloud () const
DecoderBuffer * buffer ()
const DecoderOptions * options () const

Static Public Member Functions

static Status DecodeHeader (DecoderBuffer *buffer, DracoHeader *out_header)

Protected Member Functions

virtual bool InitializeDecoder ()
virtual bool CreateAttributesDecoder (int32_t att_decoder_id)=0
virtual bool DecodeGeometryData ()
virtual bool DecodePointAttributes ()
virtual bool DecodeAllAttributes ()
virtual bool OnAttributesDecoded ()
Status DecodeMetadata ()

Constructor & Destructor Documentation

◆ PointCloudDecoder()

draco::PointCloudDecoder::PointCloudDecoder ( )

◆ ~PointCloudDecoder()

virtual draco::PointCloudDecoder::~PointCloudDecoder ( )
virtualdefault

Member Function Documentation

◆ attributes_decoder()

const AttributesDecoderInterface * draco::PointCloudDecoder::attributes_decoder ( int dec_id)
inline

◆ bitstream_version()

uint16_t draco::PointCloudDecoder::bitstream_version ( ) const
inline
Here is the caller graph for this function:

◆ buffer()

DecoderBuffer * draco::PointCloudDecoder::buffer ( )
inline
Here is the caller graph for this function:

◆ CreateAttributesDecoder()

virtual bool draco::PointCloudDecoder::CreateAttributesDecoder ( int32_t att_decoder_id)
protectedpure virtual

◆ Decode()

Status draco::PointCloudDecoder::Decode ( const DecoderOptions & options,
DecoderBuffer * in_buffer,
PointCloud * out_point_cloud )
Here is the caller graph for this function:

◆ DecodeAllAttributes()

bool draco::PointCloudDecoder::DecodeAllAttributes ( )
protectedvirtual
Here is the caller graph for this function:

◆ DecodeGeometryData()

virtual bool draco::PointCloudDecoder::DecodeGeometryData ( )
inlineprotectedvirtual

Reimplemented in draco::MeshDecoder, draco::PointCloudKdTreeDecoder, and draco::PointCloudSequentialDecoder.

Here is the caller graph for this function:

◆ DecodeHeader()

Status draco::PointCloudDecoder::DecodeHeader ( DecoderBuffer * buffer,
DracoHeader * out_header )
static
Here is the caller graph for this function:

◆ DecodeMetadata()

Status draco::PointCloudDecoder::DecodeMetadata ( )
protected
Here is the caller graph for this function:

◆ DecodePointAttributes()

bool draco::PointCloudDecoder::DecodePointAttributes ( )
protectedvirtual
Here is the caller graph for this function:

◆ GetGeometryType()

virtual EncodedGeometryType draco::PointCloudDecoder::GetGeometryType ( ) const
inlinevirtual

Reimplemented in draco::MeshDecoder.

Here is the caller graph for this function:

◆ GetPortableAttribute()

const PointAttribute * draco::PointCloudDecoder::GetPortableAttribute ( int32_t point_attribute_id)

◆ InitializeDecoder()

virtual bool draco::PointCloudDecoder::InitializeDecoder ( )
inlineprotectedvirtual

Reimplemented in draco::MeshEdgebreakerDecoder.

Here is the caller graph for this function:

◆ num_attributes_decoders()

int32_t draco::PointCloudDecoder::num_attributes_decoders ( ) const
inline
Here is the caller graph for this function:

◆ OnAttributesDecoded()

virtual bool draco::PointCloudDecoder::OnAttributesDecoded ( )
inlineprotectedvirtual

Reimplemented in draco::MeshEdgebreakerDecoder.

Here is the caller graph for this function:

◆ options()

const DecoderOptions * draco::PointCloudDecoder::options ( ) const
inline
Here is the caller graph for this function:

◆ point_cloud() [1/2]

PointCloud * draco::PointCloudDecoder::point_cloud ( )
inline
Here is the caller graph for this function:

◆ point_cloud() [2/2]

const PointCloud * draco::PointCloudDecoder::point_cloud ( ) const
inline

◆ SetAttributesDecoder()

bool draco::PointCloudDecoder::SetAttributesDecoder ( int att_decoder_id,
std::unique_ptr< AttributesDecoderInterface > decoder )
inline
Here is the caller graph for this function:

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