OpenCV  4.0.0-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::cudev::Texture< T > Struct Template Reference

#include "texture.hpp"

Inheritance diagram for cv::cudev::Texture< T >:
Collaboration diagram for cv::cudev::Texture< T >:

Public Types

typedef float index_type
 
typedef T value_type
 

Public Member Functions

__host__ Texture (const GlobPtrSz< T > &mat, bool normalizedCoords=false, cudaTextureFilterMode filterMode=cudaFilterModePoint, cudaTextureAddressMode addressMode=cudaAddressModeClamp)
 
__host__ ~Texture ()
 
__device__ __forceinline__ T operator() (float y, float x) const
 

Public Attributes

int cols
 
int rows
 
cudaTextureObject_t texObj
 

Member Typedef Documentation

◆ index_type

template<typename T >
typedef float cv::cudev::TexturePtr< T >::index_type
inherited

◆ value_type

template<typename T >
typedef T cv::cudev::TexturePtr< T >::value_type
inherited

Constructor & Destructor Documentation

◆ Texture()

template<typename T >
__host__ cv::cudev::Texture< T >::Texture ( const GlobPtrSz< T > &  mat,
bool  normalizedCoords = false,
cudaTextureFilterMode  filterMode = cudaFilterModePoint,
cudaTextureAddressMode  addressMode = cudaAddressModeClamp 
)
inlineexplicit

◆ ~Texture()

template<typename T >
__host__ cv::cudev::Texture< T >::~Texture ( )
inline

Member Function Documentation

◆ operator()()

template<typename T >
__device__ __forceinline__ T cv::cudev::TexturePtr< T >::operator() ( float  y,
float  x 
) const
inlineinherited

Member Data Documentation

◆ cols

template<typename T >
int cv::cudev::Texture< T >::cols

◆ rows

template<typename T >
int cv::cudev::Texture< T >::rows

◆ texObj

template<typename T >
cudaTextureObject_t cv::cudev::TexturePtr< T >::texObj
inherited

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