15#ifndef DRACO_COMPRESSION_ATTRIBUTES_SEQUENTIAL_ATTRIBUTE_DECODER_H_
16#define DRACO_COMPRESSION_ATTRIBUTES_SEQUENTIAL_ATTRIBUTE_DECODER_H_
44 const std::vector<PointIndex> &point_ids,
DecoderBuffer *in_buffer);
49 const std::vector<PointIndex> &point_ids);
66 virtual bool DecodeValues(
const std::vector<PointIndex> &point_ids,
70 portable_attribute_ = std::move(att);
81 std::unique_ptr<PointAttribute> portable_attribute_;
Definition decoder_buffer.h:30
Definition point_attribute.h:33
Definition point_cloud_decoder.h:28
Definition prediction_scheme_interface.h:27
void SetPortableAttribute(std::unique_ptr< PointAttribute > att)
Definition sequential_attribute_decoder.h:69
virtual bool DecodeDataNeededByPortableTransform(const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer)
Definition sequential_attribute_decoder.cc:49
int attribute_id() const
Definition sequential_attribute_decoder.h:55
virtual bool InitializeStandalone(PointAttribute *attribute)
Definition sequential_attribute_decoder.cc:30
PointAttribute * portable_attribute()
Definition sequential_attribute_decoder.h:73
PointCloudDecoder * decoder() const
Definition sequential_attribute_decoder.h:56
const PointAttribute * GetPortableAttribute()
Definition sequential_attribute_decoder.cc:61
virtual bool Init(PointCloudDecoder *decoder, int attribute_id)
Definition sequential_attribute_decoder.cc:22
virtual bool DecodeValues(const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer)
Definition sequential_attribute_decoder.cc:100
virtual bool DecodePortableAttribute(const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer)
Definition sequential_attribute_decoder.cc:37
PointAttribute * attribute()
Definition sequential_attribute_decoder.h:54
virtual bool TransformAttributeToOriginalFormat(const std::vector< PointIndex > &point_ids)
Definition sequential_attribute_decoder.cc:55
virtual ~SequentialAttributeDecoder()=default
virtual bool InitPredictionScheme(PredictionSchemeInterface *ps)
Definition sequential_attribute_decoder.cc:75
SequentialAttributeDecoder()
Definition sequential_attribute_decoder.cc:19
const PointAttribute * attribute() const
Definition sequential_attribute_decoder.h:53
Definition attribute_octahedron_transform.cc:21