| OpenCV 4.3.0 Open Source Computer Vision

Public Types | Static Public Member Functions | List of all members
cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D > Struct Template Reference
CUDA-accelerated Computer Vision » Device layer

`#include <opencv2/cudev/ptr2d/traits.hpp>`

## Public Types
typedef Ptr2D::index_type | index_type
typedef Ptr2DSz | ptr_sz_type
typedef Ptr2D | ptr_type
typedef Ptr2D::value_type | value_type

## Static Public Member Functions
static __host__ int | getCols (const Ptr2DSz &ptr)
static __host__ int | getRows (const Ptr2DSz &ptr)
static __host__ Ptr2D | shrinkPtr (const Ptr2DSz &ptr)

## Member Typedef Documentation

## ◆ index_type

template<class Ptr2DSz, class Ptr2D>

typedef Ptr2D::index_type cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D >::index_type

## ◆ ptr_sz_type

template<class Ptr2DSz, class Ptr2D>

typedef Ptr2DSz cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D >::ptr_sz_type

## ◆ ptr_type

template<class Ptr2DSz, class Ptr2D>

typedef Ptr2D cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D >::ptr_type

## ◆ value_type

template<class Ptr2DSz, class Ptr2D>

typedef Ptr2D::value_type cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D >::value_type

## Member Function Documentation

## ◆ getCols()

template<class Ptr2DSz, class Ptr2D>

static __host__ int cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D >::getCols | ( | const Ptr2DSz & | ptr | ) |
| inline static

## ◆ getRows()

template<class Ptr2DSz, class Ptr2D>

static __host__ int cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D >::getRows | ( | const Ptr2DSz & | ptr | ) |
| inline static

## ◆ shrinkPtr()

template<class Ptr2DSz, class Ptr2D>

static __host__ Ptr2D cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D >::shrinkPtr | ( | const Ptr2DSz & | ptr | ) |
| inline static

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

- opencv2/cudev/ptr2d/traits.hpp