MorphoGraphX  2.0-1-227
Public Member Functions | Public Attributes | List of all members
mgx::MaskKernel< T > Struct Template Reference

#include <ImageCuda.hpp>

Public Member Functions

 MaskKernel (const float *_mask)
 
__device__ __host__ void init ()
 
__device__ __host__ void data (T val, int pos)
 
__device__ __host__ T result ()
 

Public Attributes

float acc
 
const float * mask
 

Detailed Description

template<typename T>
struct mgx::MaskKernel< T >

Definition at line 323 of file ImageCuda.hpp.

Constructor & Destructor Documentation

◆ MaskKernel()

template<typename T >
mgx::MaskKernel< T >::MaskKernel ( const float *  _mask)
inline

Definition at line 328 of file ImageCuda.hpp.

Member Function Documentation

◆ data()

template<typename T >
__device__ __host__ void mgx::MaskKernel< T >::data ( val,
int  pos 
)
inline

Definition at line 332 of file ImageCuda.hpp.

◆ init()

template<typename T >
__device__ __host__ void mgx::MaskKernel< T >::init ( )
inline

Definition at line 330 of file ImageCuda.hpp.

◆ result()

template<typename T >
__device__ __host__ T mgx::MaskKernel< T >::result ( )
inline

Definition at line 334 of file ImageCuda.hpp.

Member Data Documentation

◆ acc

template<typename T >
float mgx::MaskKernel< T >::acc

Definition at line 325 of file ImageCuda.hpp.

◆ mask

template<typename T >
const float* mgx::MaskKernel< T >::mask

Definition at line 326 of file ImageCuda.hpp.


The documentation for this struct was generated from the following file: