Rise
The Vieneo Province
Loading...
Searching...
No Matches
CloudWeather Namespace Reference

Classes

class  Assembler
struct  Frame
struct  Header
struct  Map
struct  Mip
class  Receiver

Typedefs

using MapPtr = std::shared_ptr<const Map>

Functions

uint16_t U16 (const uint8_t *p)
uint32_t U32 (const uint8_t *p)
uint64_t U64 (const uint8_t *p)
uint32_t Crc32 (const std::vector< uint8_t > &bytes)
bool Parse (const uint8_t *p, size_t length, Header &h)
void BuildMips (Map &map)
void UV (float x, float y, float z, float &u, float &v)
float Sample (const MapPtr &map, float u, float v)
float Sample (const Frame &frame, float x, float y, float z)

Variables

constexpr unsigned MessageOffset = 11
constexpr unsigned HeaderBytes = 48
constexpr unsigned ChunkBytes = 16384
constexpr unsigned MaxDecodedBytes = 4096 * 2048

Typedef Documentation

◆ MapPtr

using CloudWeather::MapPtr = std::shared_ptr<const Map>

Definition at line 20 of file CloudWeatherMap.h.

Function Documentation

◆ BuildMips()

void CloudWeather::BuildMips ( Map & map)
inline

Definition at line 26 of file CloudWeatherMap.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Crc32()

uint32_t CloudWeather::Crc32 ( const std::vector< uint8_t > & bytes)
inline

Definition at line 14 of file CloudWeatherProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Parse()

bool CloudWeather::Parse ( const uint8_t * p,
size_t length,
Header & h )
inline

Definition at line 34 of file CloudWeatherProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Sample() [1/2]

float CloudWeather::Sample ( const Frame & frame,
float x,
float y,
float z )
inline

Definition at line 69 of file CloudWeatherMap.h.

Here is the call graph for this function:

◆ Sample() [2/2]

float CloudWeather::Sample ( const MapPtr & map,
float u,
float v )
inline

Definition at line 53 of file CloudWeatherMap.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U16()

uint16_t CloudWeather::U16 ( const uint8_t * p)
inline

Definition at line 11 of file CloudWeatherProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U32()

uint32_t CloudWeather::U32 ( const uint8_t * p)
inline

Definition at line 12 of file CloudWeatherProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U64()

uint64_t CloudWeather::U64 ( const uint8_t * p)
inline

Definition at line 13 of file CloudWeatherProtocol.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UV()

void CloudWeather::UV ( float x,
float y,
float z,
float & u,
float & v )
inline

Definition at line 46 of file CloudWeatherMap.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ChunkBytes

unsigned CloudWeather::ChunkBytes = 16384

Definition at line 9 of file CloudWeatherProtocol.h.

◆ HeaderBytes

unsigned CloudWeather::HeaderBytes = 48

Definition at line 9 of file CloudWeatherProtocol.h.

◆ MaxDecodedBytes

unsigned CloudWeather::MaxDecodedBytes = 4096 * 2048
constexpr

Definition at line 10 of file CloudWeatherProtocol.h.

◆ MessageOffset

unsigned CloudWeather::MessageOffset = 11
constexpr

Definition at line 9 of file CloudWeatherProtocol.h.