You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
682 B
26 lines
682 B
//
|
|
// Created by dtouch on 23-5-23.
|
|
//
|
|
|
|
#ifndef RENDERSDF_ROD_GENERATE_CUH
|
|
#define RENDERSDF_ROD_GENERATE_CUH
|
|
|
|
#include "cuda_runtime.h"
|
|
#include "rod.h"
|
|
#include "Eigen/Eigen"
|
|
#include "unsupported/Eigen/CXX11/Tensor"
|
|
|
|
__global__
|
|
void g_rod_generate(const RodCrystal *rodCrystal, cudaPitchedPtr sdf, const cudaExtent* extent, const Eigen::Vector3f *sampleMin,
|
|
const Eigen::Vector3f *sampleMax, int radius);
|
|
|
|
__host__ void
|
|
h_rod_generate(const RodCrystal &rodCrystal, const Eigen::Vector3i &sampleCnt, const Eigen::Vector3f &sampleMin,
|
|
const Eigen::Vector3f &sampleMax, int radius);
|
|
|
|
class rod_generate {
|
|
|
|
};
|
|
|
|
|
|
#endif //RENDERSDF_ROD_GENERATE_CUH
|
|
|