15#ifndef DRACO_COMPRESSION_ATTRIBUTES_SEQUENTIAL_NORMAL_ATTRIBUTE_DECODER_H_
16#define DRACO_COMPRESSION_ATTRIBUTES_SEQUENTIAL_NORMAL_ATTRIBUTE_DECODER_H_
41 const std::vector<PointIndex> &point_ids,
48 std::unique_ptr<PredictionSchemeTypedDecoderInterface<int32_t>>
49 CreateIntPredictionScheme(
52 switch (transform_type) {
53#ifdef DRACO_BACKWARDS_COMPATIBILITY_SUPPORTED
55 typedef PredictionSchemeNormalOctahedronDecodingTransform<int32_t>
65 typedef PredictionSchemeNormalOctahedronCanonicalizedDecodingTransform<
Definition decoder_buffer.h:30
Definition point_cloud_decoder.h:28
int attribute_id() const
Definition sequential_attribute_decoder.h:55
PointCloudDecoder * decoder() const
Definition sequential_attribute_decoder.h:56
SequentialIntegerAttributeDecoder()
Definition sequential_integer_attribute_decoder.cc:23
SequentialNormalAttributeDecoder()
Definition sequential_normal_attribute_decoder.cc:21
int32_t GetNumValueComponents() const override
Definition sequential_normal_attribute_decoder.h:35
bool DecodeDataNeededByPortableTransform(const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer) override
Definition sequential_normal_attribute_decoder.cc:56
bool StoreValues(uint32_t num_points) override
Definition sequential_normal_attribute_decoder.cc:70
bool DecodeIntegerValues(const std::vector< PointIndex > &point_ids, DecoderBuffer *in_buffer) override
Definition sequential_normal_attribute_decoder.cc:39
bool Init(PointCloudDecoder *decoder, int attribute_id) override
Definition sequential_normal_attribute_decoder.cc:23
Definition attribute_octahedron_transform.cc:21
PredictionSchemeTransformType
Definition compression_shared.h:96
@ PREDICTION_TRANSFORM_NORMAL_OCTAHEDRON_CANONICALIZED
Definition compression_shared.h:108
@ PREDICTION_TRANSFORM_NORMAL_OCTAHEDRON
Definition compression_shared.h:105
std::unique_ptr< PredictionSchemeDecoder< DataTypeT, TransformT > > CreatePredictionSchemeForDecoder(PredictionSchemeMethod method, int att_id, const PointCloudDecoder *decoder, const TransformT &transform)
Definition prediction_scheme_decoder_factory.h:153
PredictionSchemeMethod
Definition compression_shared.h:80