QGIS API Documentation  3.17.0-Master (ca637cfeb2)
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.


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


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


#define GZIP_CHUNK_SIZE   32 * 1024

Definition at line 26 of file quantizedmeshgeometry.cpp.


#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.

inputThe buffer to be decompressed
outputThe result of the decompression
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.