MorphoGraphX  2.0-1-227
Namespaces | Typedefs | Functions
CudaExport.hpp File Reference
#include <Config.hpp>
#include <cuda/CudaGlobal.hpp>
#include <Geometry.hpp>
#include <thrust/host_vector.h>

Go to the source code of this file.

Namespaces

 mgx
 Distributed matrix library.
 

Typedefs

typedef thrust::host_vector< uintmgx::HVecU
 
typedef thrust::host_vector< ushortmgx::HVecUS
 
typedef thrust::host_vector< float > mgx::HVecF
 
typedef thrust::host_vector< Point3u > mgx::HVec3U
 
typedef thrust::host_vector< Point3f > mgx::HVec3F
 
typedef thrust::host_vector< Point4f > mgx::HVec4F
 

Functions

cuda_EXPORT int mgx::initGPU ()
 
cuda_EXPORT int mgx::setHoldMemGPU (uint holdmem)
 
void mgx::freeMem ()
 
void mgx::holdMem ()
 
cuda_EXPORT void mgx::memAvail ()
 
cuda_EXPORT int mgx::averageGPU (const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::medianGPU (const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::medianOfMediansGPU (const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::dilateGPU (const Point3i &imgSize, const Point3i &radius, bool roundNhbd, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::erodeGPU (const Point3i &imgSize, const Point3i &radius, bool byLabel, bool roundNhbd, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::gaussianBlurGPU (const Point3i &imgSize, const Point3f &imgStep, const Point3f &sigma, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::sharpenGPU (const Point3i &imgSize, const Point3f &imgStep, const Point3f &sigma, const float amount, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::applyKernelGPU (const Point3i &imgSize, const HVecF &kernelX, const HVecF &kernelY, const HVecF &kernelZ, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::colorGradGPU (const Point3i &imgSize, float div, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::edgeDetectGPU (const Point3i &imgSize, ushort lowthresh, ushort highthresh, float mult, ushort fillval, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::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 mgx::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 mgx::clipStackGPU (const Point3i &imgSize, const Point3f &step, const Point3f &shift, const Point3u &clipDo, HVec4F &pn, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int mgx::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)