GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::SequentialIntegerAttributeDecoder Class Reference

#include <sequential_integer_attribute_decoder.h>

Inheritance diagram for draco::SequentialIntegerAttributeDecoder:
Collaboration diagram for draco::SequentialIntegerAttributeDecoder:

Public Member Functions

 SequentialIntegerAttributeDecoder ()
bool Init (PointCloudDecoder *decoder, int attribute_id) override
bool TransformAttributeToOriginalFormat (const std::vector< PointIndex > &point_ids) override
Public Member Functions inherited from draco::SequentialAttributeDecoder
 SequentialAttributeDecoder ()
virtual ~SequentialAttributeDecoder ()=default
virtual bool InitializeStandalone (PointAttribute *attribute)
virtual bool DecodePortableAttribute (const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer)
virtual bool DecodeDataNeededByPortableTransform (const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer)
const PointAttribute * GetPortableAttribute ()
const PointAttribute * attribute () const
PointAttribute * attribute ()
int attribute_id () const
PointCloudDecoder * decoder () const

Protected Member Functions

bool DecodeValues (const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer) override
virtual bool DecodeIntegerValues (const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer)
virtual std::unique_ptr< PredictionSchemeTypedDecoderInterface< int32_t > > CreateIntPredictionScheme (PredictionSchemeMethod method, PredictionSchemeTransformType transform_type)
virtual int32_t GetNumValueComponents () const
virtual bool StoreValues (uint32_t num_values)
void PreparePortableAttribute (int num_entries, int num_components)
int32_t * GetPortableAttributeData ()
Protected Member Functions inherited from draco::SequentialAttributeDecoder
virtual bool InitPredictionScheme (PredictionSchemeInterface *ps)
void SetPortableAttribute (std::unique_ptr< PointAttribute > att)
PointAttribute * portable_attribute ()

Constructor & Destructor Documentation

◆ SequentialIntegerAttributeDecoder()

draco::SequentialIntegerAttributeDecoder::SequentialIntegerAttributeDecoder ( )

Member Function Documentation

◆ CreateIntPredictionScheme()

std::unique_ptr< PredictionSchemeTypedDecoderInterface< int32_t > > draco::SequentialIntegerAttributeDecoder::CreateIntPredictionScheme ( PredictionSchemeMethod method,
PredictionSchemeTransformType transform_type )
protectedvirtual
Here is the caller graph for this function:

◆ DecodeIntegerValues()

bool draco::SequentialIntegerAttributeDecoder::DecodeIntegerValues ( const std::vector< PointIndex > & point_ids,
DecoderBuffer * in_buffer )
protectedvirtual

Reimplemented in draco::SequentialNormalAttributeDecoder, and draco::SequentialQuantizationAttributeDecoder.

Here is the caller graph for this function:

◆ DecodeValues()

bool draco::SequentialIntegerAttributeDecoder::DecodeValues ( const std::vector< PointIndex > & point_ids,
DecoderBuffer * in_buffer )
overrideprotectedvirtual

Reimplemented from draco::SequentialAttributeDecoder.

◆ GetNumValueComponents()

virtual int32_t draco::SequentialIntegerAttributeDecoder::GetNumValueComponents ( ) const
inlineprotectedvirtual

Reimplemented in draco::SequentialNormalAttributeDecoder.

Here is the caller graph for this function:

◆ GetPortableAttributeData()

int32_t * draco::SequentialIntegerAttributeDecoder::GetPortableAttributeData ( )
inlineprotected
Here is the caller graph for this function:

◆ Init()

bool draco::SequentialIntegerAttributeDecoder::Init ( PointCloudDecoder * decoder,
int attribute_id )
overridevirtual

Reimplemented from draco::SequentialAttributeDecoder.

Reimplemented in draco::SequentialNormalAttributeDecoder, and draco::SequentialQuantizationAttributeDecoder.

Here is the caller graph for this function:

◆ PreparePortableAttribute()

void draco::SequentialIntegerAttributeDecoder::PreparePortableAttribute ( int num_entries,
int num_components )
protected
Here is the caller graph for this function:

◆ StoreValues()

bool draco::SequentialIntegerAttributeDecoder::StoreValues ( uint32_t num_values)
protectedvirtual

Reimplemented in draco::SequentialNormalAttributeDecoder, and draco::SequentialQuantizationAttributeDecoder.

Here is the caller graph for this function:

◆ TransformAttributeToOriginalFormat()

bool draco::SequentialIntegerAttributeDecoder::TransformAttributeToOriginalFormat ( const std::vector< PointIndex > & point_ids)
overridevirtual

Reimplemented from draco::SequentialAttributeDecoder.


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