#include <cmath>
#include <chrono>
#include <fstream>
#include <nanovdb/NanoVDB.h>
#include "ComputePrimitives.h"
Go to the source code of this file.
|
__hostdev__ uint32_t | CompactBy1 (uint32_t x) |
|
__hostdev__ uint32_t | SeparateBy1 (uint32_t x) |
|
__hostdev__ void | mortonDecode (uint32_t code, uint32_t &x, uint32_t &y) |
|
__hostdev__ void | mortonEncode (uint32_t &code, uint32_t x, uint32_t y) |
|
template<typename RenderFn, typename GridT> |
float | renderImage (bool useCuda, const RenderFn renderOp, int width, int height, float *image, const GridT *grid) |
|
void | saveImage (const std::string &filename, int width, int height, const float *image) |
|
◆ _USE_MATH_DEFINES
#define _USE_MATH_DEFINES |
◆ CompactBy1()
◆ mortonDecode()
__hostdev__ void mortonDecode |
( |
uint32_t | code, |
|
|
uint32_t & | x, |
|
|
uint32_t & | y ) |
|
inline |
◆ mortonEncode()
__hostdev__ void mortonEncode |
( |
uint32_t & | code, |
|
|
uint32_t | x, |
|
|
uint32_t | y ) |
|
inline |
◆ renderImage()
template<typename RenderFn, typename GridT>
float renderImage |
( |
bool | useCuda, |
|
|
const RenderFn | renderOp, |
|
|
int | width, |
|
|
int | height, |
|
|
float * | image, |
|
|
const GridT * | grid ) |
|
inline |
◆ saveImage()
void saveImage |
( |
const std::string & | filename, |
|
|
int | width, |
|
|
int | height, |
|
|
const float * | image ) |
|
inline |
◆ SeparateBy1()