15#ifndef DRACO_COMPRESSION_ATTRIBUTES_SEQUENTIAL_INTEGER_ATTRIBUTE_DECODER_H_
16#define DRACO_COMPRESSION_ATTRIBUTES_SEQUENTIAL_INTEGER_ATTRIBUTE_DECODER_H_
31 const std::vector<PointIndex> &point_ids)
override;
34 bool DecodeValues(
const std::vector<PointIndex> &point_ids,
41 virtual std::unique_ptr<PredictionSchemeTypedDecoderInterface<int32_t>>
61 return reinterpret_cast<int32_t *
>(
67 template <
typename AttributeTypeT>
68 void StoreTypedValues(uint32_t num_values);
70 std::unique_ptr<PredictionSchemeTypedDecoderInterface<int32_t>>
Definition decoder_buffer.h:30
uint8_t num_components() const
Definition geometry_attribute.h:263
const uint8_t * GetAddress(AttributeValueIndex att_index) const
Definition geometry_attribute.h:122
Definition point_cloud_decoder.h:28
int attribute_id() const
Definition sequential_attribute_decoder.h:55
PointAttribute * portable_attribute()
Definition sequential_attribute_decoder.h:73
PointCloudDecoder * decoder() const
Definition sequential_attribute_decoder.h:56
SequentialAttributeDecoder()
Definition sequential_attribute_decoder.cc:19
const PointAttribute * attribute() const
Definition sequential_attribute_decoder.h:53
virtual std::unique_ptr< PredictionSchemeTypedDecoderInterface< int32_t > > CreateIntPredictionScheme(PredictionSchemeMethod method, PredictionSchemeTransformType transform_type)
Definition sequential_integer_attribute_decoder.cc:90
bool Init(PointCloudDecoder *decoder, int attribute_id) override
Definition sequential_integer_attribute_decoder.cc:25
int32_t * GetPortableAttributeData()
Definition sequential_integer_attribute_decoder.h:57
virtual int32_t GetNumValueComponents() const
Definition sequential_integer_attribute_decoder.h:47
bool DecodeValues(const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer) override
Definition sequential_integer_attribute_decoder.cc:44
bool TransformAttributeToOriginalFormat(const std::vector< PointIndex > &point_ids) override
Definition sequential_integer_attribute_decoder.cc:33
virtual bool DecodeIntegerValues(const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer)
Definition sequential_integer_attribute_decoder.cc:101
SequentialIntegerAttributeDecoder()
Definition sequential_integer_attribute_decoder.cc:23
void PreparePortableAttribute(int num_entries, int num_components)
Definition sequential_integer_attribute_decoder.cc:230
virtual bool StoreValues(uint32_t num_values)
Definition sequential_integer_attribute_decoder.cc:183
n< br > font size
Definition meshpage.php:3536
Definition attribute_octahedron_transform.cc:21
PredictionSchemeTransformType
Definition compression_shared.h:96
PredictionSchemeMethod
Definition compression_shared.h:80