15#ifndef DRACO_COMPRESSION_ATTRIBUTES_PREDICTION_SCHEMES_PREDICTION_SCHEME_DECODER_H_
16#define DRACO_COMPRESSION_ATTRIBUTES_PREDICTION_SCHEMES_PREDICTION_SCHEME_DECODER_H_
32template <
typename DataTypeT,
36 DataTypeT, typename TransformT::CorrType> {
49 if (!transform_.DecodeTransformData(buffer)) {
71 return transform_.AreCorrectionsPositive();
75 return transform_.GetType();
Definition decoder_buffer.h:30
Type
Definition geometry_attribute.h:46
@ INVALID
Definition geometry_attribute.h:47
Definition point_attribute.h:33
Transform::CorrType CorrType
Definition prediction_scheme_decoder.h:41
PredictionSchemeTransformType GetTransformType() const override
Definition prediction_scheme_decoder.h:74
const Transform & transform() const
Definition prediction_scheme_decoder.h:80
bool SetParentAttribute(const PointAttribute *) override
Definition prediction_scheme_decoder.h:66
PredictionSchemeDecoder(const PointAttribute *attribute)
Definition prediction_scheme_decoder.h:42
bool DecodePredictionData(DecoderBuffer *buffer) override
Definition prediction_scheme_decoder.h:48
bool AreCorrectionsPositive() override
Definition prediction_scheme_decoder.h:70
DataTypeT DataType
Definition prediction_scheme_decoder.h:38
TransformT Transform
Definition prediction_scheme_decoder.h:39
const PointAttribute * attribute() const
Definition prediction_scheme_decoder.h:79
Transform & transform()
Definition prediction_scheme_decoder.h:81
const PointAttribute * GetAttribute() const override
Definition prediction_scheme_decoder.h:55
GeometryAttribute::Type GetParentAttributeType(int) const override
Definition prediction_scheme_decoder.h:61
PredictionSchemeDecoder(const PointAttribute *attribute, const Transform &transform)
Definition prediction_scheme_decoder.h:44
int GetNumParentAttributes() const override
Definition prediction_scheme_decoder.h:58
Definition prediction_scheme_decoder_interface.h:43
Definition attribute_octahedron_transform.cc:21
PredictionSchemeTransformType
Definition compression_shared.h:96