MEPP2 Project
Public Member Functions | Private Attributes | List of all members
FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector > Class Template Reference

#include <Binary_batch_decoder.h>

Collaboration diagram for FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >:
Collaboration graph

Public Member Functions

 Binary_batch_decoder ()
 
 ~Binary_batch_decoder ()
 
 Binary_batch_decoder (draco::DecoderBuffer &buffer, int bit_quantization)
 
void decode_bitmask (std::list< bool > &bitmask)
 Decodes a bit mask encoded with draco's non-adaptive RAns
coder (RAnsBitDecoder). Only one bitmask of the current draco buffer is decoded if several bitmasks are present. More...
 
void decode_residuals (std::list< std::vector< Vector >> &residuals, int nb_residuals)
 Decodes a set of residuals encoded with draco's entropy
coder (SymbolBitDecoder). More...
 

Private Attributes

draco::DecoderBuffer & _buffer
 
int _bit_quantization
 

Detailed Description

template<typename HalfedgeGraph, typename PointMap, typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
class FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >

Class used to decode binary data from draco: bitsmasks, geometric and attribute info.

Definition at line 40 of file Binary_batch_decoder.h.

Constructor & Destructor Documentation

◆ Binary_batch_decoder() [1/2]

template<typename HalfedgeGraph , typename PointMap , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >::Binary_batch_decoder ( )
inline

Definition at line 43 of file Binary_batch_decoder.h.

◆ ~Binary_batch_decoder()

template<typename HalfedgeGraph , typename PointMap , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >::~Binary_batch_decoder ( )
inline

Definition at line 44 of file Binary_batch_decoder.h.

◆ Binary_batch_decoder() [2/2]

template<typename HalfedgeGraph , typename PointMap , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >::Binary_batch_decoder ( draco::DecoderBuffer &  buffer,
int  bit_quantization 
)
inline

Definition at line 45 of file Binary_batch_decoder.h.

Member Function Documentation

◆ decode_bitmask()

template<typename HalfedgeGraph , typename PointMap , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
void FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >::decode_bitmask ( std::list< bool > &  bitmask)
inline

Decodes a bit mask encoded with draco's non-adaptive RAns
coder (RAnsBitDecoder). Only one bitmask of the current draco buffer is decoded if several bitmasks are present.

Definition at line 56 of file Binary_batch_decoder.h.

Here is the call graph for this function:

◆ decode_residuals()

template<typename HalfedgeGraph , typename PointMap , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
void FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >::decode_residuals ( std::list< std::vector< Vector >> &  residuals,
int  nb_residuals 
)
inline

Decodes a set of residuals encoded with draco's entropy
coder (SymbolBitDecoder).

Definition at line 73 of file Binary_batch_decoder.h.

Member Data Documentation

◆ _bit_quantization

template<typename HalfedgeGraph , typename PointMap , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
int FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >::_bit_quantization
private

Definition at line 114 of file Binary_batch_decoder.h.

◆ _buffer

template<typename HalfedgeGraph , typename PointMap , typename Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector>
draco::DecoderBuffer& FEVV::Filters::Binary_batch_decoder< HalfedgeGraph, PointMap, Vector >::_buffer
private

Definition at line 113 of file Binary_batch_decoder.h.


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