OpenCV: cv::cudev::PtrTraitsBase< Ptr2DSz, Ptr2D > Struct Template Reference

| OpenCV 3.4.2 Open Source Computer Vision

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

`#include "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 | ) |
| inlinestatic

## ◆ getRows()

template<class Ptr2DSz, class Ptr2D>

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

## ◆ shrinkPtr()

template<class Ptr2DSz, class Ptr2D>

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

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

- cudev/include/opencv2/cudev/ptr2d/traits.hpp