Classes | Typedefs | Functions
kfusion::cuda Namespace Reference

Classes

class  CyclicalBuffer
 CyclicalBuffer implements a cyclical TSDF buffer. The class offers a simple interface, by handling shifts and maintaining the world autonomously. More...
 
class  DeviceArray
 DeviceArray class More...
 
class  DeviceArray2D
 DeviceArray2D class More...
 
class  DeviceMemory
 DeviceMemory class More...
 
class  DeviceMemory2D
 DeviceMemory2D class More...
 
struct  DevPtr
 
struct  Frame
 
class  ProjectiveICP
 
struct  PtrStep
 
struct  PtrStepSz
 
struct  PtrSz
 
class  TextureBinder
 
class  TsdfVolume
 

Typedefs

typedef cuda::DeviceArray2D< PointCloud
 
typedef cuda::DeviceMemory CudaData
 
typedef cuda::DeviceArray2D< unsigned short > Depth
 
typedef cuda::DeviceArray2D< unsigned short > Dists
 
typedef cuda::DeviceArray2D< RGBImage
 
typedef cuda::DeviceArray2D< NormalNormals
 

Functions

static void ___cudaSafeCall (cudaError_t err, const char *file, const int line, const char *func="")
 
KF_EXPORTS bool checkIfPreFermiGPU (int device)
 
KF_EXPORTS void computeDists (const Depth &depth, Dists &dists, const Intr &intr)
 
KF_EXPORTS void computeNormalsAndMaskDepth (const Intr &intr, Depth &depth, Normals &normals)
 
KF_EXPORTS void computePointNormals (const Intr &intr, const Depth &depth, Cloud &points, Normals &normals)
 
KF_EXPORTS void depthBilateralFilter (const Depth &in, Depth &out, int ksz, float sigma_spatial, float sigma_depth)
 
KF_EXPORTS void depthBuildPyramid (const Depth &depth, Depth &pyramid, float sigma_depth)
 
KF_EXPORTS void depthTruncation (Depth &depth, float threshold)
 
static int divUp (int total, int grain)
 
KF_EXPORTS void error (const char *error_string, const char *file, const int line, const char *func="")
 Error handler. All GPU functions from this subsystem call the function to report an error. For internal use only. More...
 
KF_EXPORTS int getCudaEnabledDeviceCount ()
 
KF_EXPORTS std::string getDeviceName (int device)
 
KF_EXPORTS void printCudaDeviceInfo (int device)
 
KF_EXPORTS void printShortCudaDeviceInfo (int device)
 
KF_EXPORTS void renderImage (const Depth &depth, const Normals &normals, const Intr &intr, const Vec3f &light_pose, Image &image)
 
KF_EXPORTS void renderImage (const Cloud &points, const Normals &normals, const Intr &intr, const Vec3f &light_pose, Image &image)
 
KF_EXPORTS void renderTangentColors (const Normals &normals, Image &image)
 
KF_EXPORTS void resizeDepthNormals (const Depth &depth, const Normals &normals, Depth &depth_out, Normals &normals_out)
 
KF_EXPORTS void resizePointsNormals (const Cloud &points, const Normals &normals, Cloud &points_out, Normals &normals_out)
 
KF_EXPORTS void setDevice (int device)
 
KF_EXPORTS void waitAllDefaultStream ()
 

Typedef Documentation

◆ Cloud

Definition at line 89 of file types.hpp.

◆ CudaData

Definition at line 84 of file types.hpp.

◆ Depth

typedef cuda::DeviceArray2D<unsigned short> kfusion::cuda::Depth

Definition at line 85 of file types.hpp.

◆ Dists

typedef cuda::DeviceArray2D<unsigned short> kfusion::cuda::Dists

Definition at line 86 of file types.hpp.

◆ Image

Definition at line 87 of file types.hpp.

◆ Normals

Definition at line 88 of file types.hpp.

Function Documentation

◆ ___cudaSafeCall()

static void kfusion::cuda::___cudaSafeCall ( cudaError_t  err,
const char *  file,
const int  line,
const char *  func = "" 
)
inlinestatic

Definition at line 23 of file safe_call.hpp.

◆ checkIfPreFermiGPU()

KF_EXPORTS bool kfusion::cuda::checkIfPreFermiGPU ( int  device)

◆ computeDists()

void kfusion::cuda::computeDists ( const Depth depth,
Dists dists,
const Intr intr 
)

Definition at line 44 of file imgproc.cpp.

◆ computeNormalsAndMaskDepth()

void kfusion::cuda::computeNormalsAndMaskDepth ( const Intr intr,
Depth depth,
Normals normals 
)

Definition at line 21 of file imgproc.cpp.

◆ computePointNormals()

void kfusion::cuda::computePointNormals ( const Intr intr,
const Depth depth,
Cloud points,
Normals normals 
)

Definition at line 31 of file imgproc.cpp.

◆ depthBilateralFilter()

void kfusion::cuda::depthBilateralFilter ( const Depth in,
Depth out,
int  ksz,
float  sigma_spatial,
float  sigma_depth 
)

Definition at line 3 of file imgproc.cpp.

◆ depthBuildPyramid()

void kfusion::cuda::depthBuildPyramid ( const Depth depth,
Depth pyramid,
float  sigma_depth 
)

Definition at line 12 of file imgproc.cpp.

◆ depthTruncation()

void kfusion::cuda::depthTruncation ( Depth depth,
float  threshold 
)

Definition at line 9 of file imgproc.cpp.

◆ divUp()

static int kfusion::cuda::divUp ( int  total,
int  grain 
)
inlinestatic

Definition at line 29 of file safe_call.hpp.

◆ error()

void kfusion::cuda::error ( const char *  error_string,
const char *  file,
const int  line,
const char *  func = "" 
)

Error handler. All GPU functions from this subsystem call the function to report an error. For internal use only.

Definition at line 7 of file device_memory.cpp.

◆ getCudaEnabledDeviceCount()

KF_EXPORTS int kfusion::cuda::getCudaEnabledDeviceCount ( )

◆ getDeviceName()

KF_EXPORTS std::string kfusion::cuda::getDeviceName ( int  device)

◆ printCudaDeviceInfo()

KF_EXPORTS void kfusion::cuda::printCudaDeviceInfo ( int  device)

◆ printShortCudaDeviceInfo()

KF_EXPORTS void kfusion::cuda::printShortCudaDeviceInfo ( int  device)

◆ renderImage() [1/2]

void kfusion::cuda::renderImage ( const Depth depth,
const Normals normals,
const Intr intr,
const Vec3f light_pose,
Image image 
)

Definition at line 76 of file imgproc.cpp.

◆ renderImage() [2/2]

void kfusion::cuda::renderImage ( const Cloud points,
const Normals normals,
const Intr intr,
const Vec3f light_pose,
Image image 
)

Definition at line 90 of file imgproc.cpp.

◆ renderTangentColors()

void kfusion::cuda::renderTangentColors ( const Normals normals,
Image image 
)

Definition at line 104 of file imgproc.cpp.

◆ resizeDepthNormals()

void kfusion::cuda::resizeDepthNormals ( const Depth depth,
const Normals normals,
Depth depth_out,
Normals normals_out 
)

Definition at line 50 of file imgproc.cpp.

◆ resizePointsNormals()

void kfusion::cuda::resizePointsNormals ( const Cloud points,
const Normals normals,
Cloud points_out,
Normals normals_out 
)

Definition at line 61 of file imgproc.cpp.

◆ setDevice()

KF_EXPORTS void kfusion::cuda::setDevice ( int  device)

◆ waitAllDefaultStream()

void kfusion::cuda::waitAllDefaultStream ( )

Definition at line 18 of file imgproc.cpp.



lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:11