Go to the documentation of this file.
11 #ifndef CUDA_EXPORT_HPP
12 #define CUDA_EXPORT_HPP
17 #include <thrust/host_vector.h>
22 typedef thrust::host_vector<uint>
HVecU;
23 typedef thrust::host_vector<ushort>
HVecUS;
24 typedef thrust::host_vector<float>
HVecF;
25 typedef thrust::host_vector<Point3u>
HVec3U;
26 typedef thrust::host_vector<Point3f>
HVec3F;
27 typedef thrust::host_vector<Point4f>
HVec4F;
61 const HVec3F &nrmls,
float minDist,
float maxDist,
HVecUS &dstdata);
cuda_EXPORT int averageGPU(const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
thrust::host_vector< uint > HVecU
cuda_EXPORT int medianGPU(const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
cuda_EXPORT int applyKernelGPU(const Point3i &imgSize, const HVecF &kernelX, const HVecF &kernelY, const HVecF &kernelZ, const HVecUS &srcdata, HVecUS &dstdata)
cuda_EXPORT int sharpenGPU(const Point3i &imgSize, const Point3f &imgStep, const Point3f &sigma, const float amount, const HVecUS &srcdata, HVecUS &dstdata)
thrust::host_vector< ushort > HVecUS
unsigned short ushort
Simpler names for the various containers and iterators.
cuda_EXPORT int edgeDetectGPU(const Point3i &imgSize, ushort lowthresh, ushort highthresh, float mult, ushort fillval, const HVecUS &srcdata, HVecUS &dstdata)
thrust::host_vector< float > HVecF
cuda_EXPORT int erodeGPU(const Point3i &imgSize, const Point3i &radius, bool byLabel, bool roundNhbd, const HVecUS &srcdata, HVecUS &dstdata)
thrust::host_vector< Point3f > HVec3F
cuda_EXPORT int setHoldMemGPU(uint holdmem)
Distributed matrix library.
cuda_EXPORT int nearMeshGPU(const Point3i &base, const Point3i &size, const Point3f &step, const Point3f &shift, const HVec3F &pts, const HVec3F &nrmls, float minDist, float maxDist, HVecUS &dstdata)
cuda_EXPORT int dilateGPU(const Point3i &imgSize, const Point3i &radius, bool roundNhbd, const HVecUS &srcdata, HVecUS &dstdata)
cuda_EXPORT int initGPU()
cuda_EXPORT int voxelEditGPU(const Point3i &base, const Point3i &size, const Point3i &imgSize, const Point3f &step, const Point3f &shift, const Point3f &p, const Point3f &pz, float radius, ushort color, const Point3u &clipDo, const HVec4F &pn, HVecUS &data)
cuda_EXPORT int colorGradGPU(const Point3i &imgSize, float div, const HVecUS &srcdata, HVecUS &dstdata)
cuda_EXPORT int gaussianBlurGPU(const Point3i &imgSize, const Point3f &imgStep, const Point3f &sigma, const HVecUS &srcdata, HVecUS &dstdata)
cuda_EXPORT void memAvail()
thrust::host_vector< Point4f > HVec4F
cuda_EXPORT int insideMeshGPU(const Point3i &base, const Point3i &size, const Point3f &step, const Point3f &shift, const HVec3F &pts, const HVec3U &tris, const HVec3F &nrmls, HVecUS &dstdata)
cuda_EXPORT int medianOfMediansGPU(const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
thrust::host_vector< Point3u > HVec3U
cuda_EXPORT int clipStackGPU(const Point3i &imgSize, const Point3f &step, const Point3f &shift, const Point3u &clipDo, HVec4F &pn, const HVecUS &srcdata, HVecUS &dstdata)