###########
BCompress.h
###########

.. default-domain:: cpp

Macro Definitions
=================

=== ================================
..  :c:macro:`~CS_INVALID`          
..  :c:macro:`~CS_TRIVIAL`          
..  :c:macro:`~CS_TRIVIAL_IMPLICIT` 
..  :c:macro:`~CS_REPULSE`          
..  :c:macro:`~CS_NONE`             
..  :c:macro:`~CS_EDGEBREAKER`      
..  :c:macro:`~CS_LINE_EXTEND`      
..  :c:macro:`~CS_TRIVIAL_POLAR`    
..  :c:macro:`~MAXU10`              
..  :c:macro:`~MAXV10`              
..  :c:macro:`~MAXU8`               
..  :c:macro:`~MAXV8`               
=== ================================

Fields
======

=============== ===============================
float           :cpp:var:`~normal_vectors10`   
unsigned short  :cpp:var:`~closest_points10`   
float           :cpp:var:`~normal_vectors8`    
unsigned char   :cpp:var:`~closest_points8`    
const int       :cpp:var:`~bounding_faces`     
const int       :cpp:var:`~bounding_tristrips` 
const float     :cpp:var:`~color_cube`         
const float     :cpp:var:`~rgba_cube`          
const float     :cpp:var:`~normal_cube`        
const float     :cpp:var:`~polar_bounds`       
=============== ===============================

Functions
=========

============================= ==========================================================================================================================================================================================================================================================================================================================================================================
:cpp:enumerator:`~TK_Status`  :cpp:func:`quantize_and_pack_floats <TK_Status quantize_and_pack_floats(BStreamFileToolkit &tk, int count_in, int size_in, float const *floats_in, float const *bounding_in, unsigned int *exists_in, unsigned int mask_in, unsigned int bits_per_sample_in, float *bounding_out, int *workspace_len_in_out, int *workspace_used_out, unsigned char **workspace_in_out)>` 
:cpp:enumerator:`~TK_Status`  :cpp:func:`quantize_and_pack_floats <TK_Status quantize_and_pack_floats(BStreamFileToolkit &tk, int count_in, int size_in, float const *floats_in, float const *bounding_in, unsigned int bits_per_sample_in, float *bounding_out, int *workspace_len_in_out, int *workspace_used_out, unsigned char **workspace_in_out)>`                                                
:cpp:enumerator:`~TK_Status`  :cpp:func:`unquantize_and_unpack_floats <TK_Status unquantize_and_unpack_floats(BStreamFileToolkit &tk, int count_in, int size_in, unsigned int bits_per_sample_in, float const *bounding_in, unsigned char *buf_in, float **floats_out)>`                                                                                                                                
:cpp:enumerator:`~TK_Status`  :cpp:func:`trivial_compress_points <TK_Status trivial_compress_points(BStreamFileToolkit &tk, int point_count, float const *points, float const *bounding_in, unsigned int *exists, unsigned int mask, int *workspace_len_in_out, int *workspace_used_out, unsigned char **workspace_in_out, float *bounding_out)>`                                                       
:cpp:enumerator:`~TK_Status`  :cpp:func:`trivial_decompress_points <TK_Status trivial_decompress_points(BStreamFileToolkit &tk, int pointcount, void const *buf_in, float **points_out, float const *bounding)>`                                                                                                                                                                                        
============================= ==========================================================================================================================================================================================================================================================================================================================================================================

Detailed Description
====================

.. doxygenfile:: BCompress.h
   :project: 3dgs_stream
   :sections: detaileddescription

Macro Definition
================

.. doxygendefine:: CS_INVALID
   :project: 3dgs_stream

.. doxygendefine:: CS_TRIVIAL
   :project: 3dgs_stream

.. doxygendefine:: CS_TRIVIAL_IMPLICIT
   :project: 3dgs_stream

.. doxygendefine:: CS_REPULSE
   :project: 3dgs_stream

.. doxygendefine:: CS_NONE
   :project: 3dgs_stream

.. doxygendefine:: CS_EDGEBREAKER
   :project: 3dgs_stream

.. doxygendefine:: CS_LINE_EXTEND
   :project: 3dgs_stream

.. doxygendefine:: CS_TRIVIAL_POLAR
   :project: 3dgs_stream

.. doxygendefine:: MAXU10
   :project: 3dgs_stream

.. doxygendefine:: MAXV10
   :project: 3dgs_stream

.. doxygendefine:: MAXU8
   :project: 3dgs_stream

.. doxygendefine:: MAXV8
   :project: 3dgs_stream

Field Documentation
===================

.. doxygenvariable:: normal_vectors10
   :project: 3dgs_stream

.. doxygenvariable:: closest_points10
   :project: 3dgs_stream

.. doxygenvariable:: normal_vectors8
   :project: 3dgs_stream

.. doxygenvariable:: closest_points8
   :project: 3dgs_stream

.. doxygenvariable:: bounding_faces
   :project: 3dgs_stream

.. doxygenvariable:: bounding_tristrips
   :project: 3dgs_stream

.. doxygenvariable:: color_cube
   :project: 3dgs_stream

.. doxygenvariable:: rgba_cube
   :project: 3dgs_stream

.. doxygenvariable:: normal_cube
   :project: 3dgs_stream

.. doxygenvariable:: polar_bounds
   :project: 3dgs_stream

Function Documentation
======================

.. doxygenfunction:: quantize_and_pack_floats
   :project: 3dgs_stream

.. doxygenfunction:: quantize_and_pack_floats
   :project: 3dgs_stream

.. doxygenfunction:: unquantize_and_unpack_floats
   :project: 3dgs_stream

.. doxygenfunction:: trivial_compress_points
   :project: 3dgs_stream

.. doxygenfunction:: trivial_decompress_points
   :project: 3dgs_stream



