template struct cv::cudev::Texture

#include <texture.hpp>

template <typename T>
struct Texture: public cv::cudev::TexturePtr
{
    // fields

    int cols;
    int rows;

    // construction

    Texture(
        const GlobPtrSz<T>& mat,
        bool normalizedCoords = false,
        cudaTextureFilterMode filterMode = cudaFilterModePoint,
        cudaTextureAddressMode addressMode = cudaAddressModeClamp
        );
};

Inherited Members

public:
    // typedefs

    typedef float index_type;
    typedef T value_type;

    // fields

    cudaTextureObject_t texObj;

    // methods

    __device__ __forceinline__ T
    operator()(
        float y,
        float x
        ) const;