OpenCV  3.2.0-dev
Open Source Computer Vision
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

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<typename T >
int cv::cudev::Texture< T >::cols
template<typename T >
int cv::cudev::Texture< T >::rows
template<typename T>
cudaTextureObject_t cv::cudev::TexturePtr< T >::texObj
inherited

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