QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Macros | Functions
quantizedmeshgeometry.cpp File Reference
#include "quantizedmeshgeometry.h"
#include <zlib.h>
#include <QFile>
#include <QByteArray>
#include <QGuiApplication>
#include <QNetworkRequest>
#include <QNetworkReply>
#include "qgsnetworkaccessmanager.h"
#include "qgscoordinatetransform.h"
#include "qgsmaptopixel.h"
#include "map3d.h"
Include dependency graph for quantizedmeshgeometry.cpp:

Go to the source code of this file.

Macros

#define GZIP_CHUNK_SIZE   32 * 1024
 
#define GZIP_WINDOWS_BIT   15 + 16
 

Functions

bool gzipDecompress (QByteArray input, QByteArray &output)
 Decompresses the given buffer using the standard GZIP algorithm. More...
 
const char * read_zigzag_encoded_int16_array (const char *dataPtr, int count, qint16 *out)
 

Macro Definition Documentation

◆ GZIP_CHUNK_SIZE

#define GZIP_CHUNK_SIZE   32 * 1024

Definition at line 26 of file quantizedmeshgeometry.cpp.

◆ GZIP_WINDOWS_BIT

#define GZIP_WINDOWS_BIT   15 + 16

Definition at line 25 of file quantizedmeshgeometry.cpp.

Function Documentation

◆ gzipDecompress()

bool gzipDecompress ( QByteArray  input,
QByteArray &  output 
)

Decompresses the given buffer using the standard GZIP algorithm.

Parameters
inputThe buffer to be decompressed
outputThe result of the decompression
Returns
true if the decompression was successful, false otherwise

Definition at line 34 of file quantizedmeshgeometry.cpp.

◆ read_zigzag_encoded_int16_array()

const char* read_zigzag_encoded_int16_array ( const char *  dataPtr,
int  count,
qint16 *  out 
)

Definition at line 128 of file quantizedmeshgeometry.cpp.