OpenCV: NCVMatrix< T > Class Template Reference

| OpenCV 3.4.2 Open Source Computer Vision

Public Member Functions | Protected Attributes | List of all members
NCVMatrix< T > Class Template Reference
Core functionality » OpenGL interoperability » CUDA-accelerated Computer Vision » Legacy support

`#include "NCV.hpp"`

Inheritance diagram for NCVMatrix< T >:

## Public Member Functions
| NCVMatrix ()
virtual | ~NCVMatrix ()
T & | at (Ncv32u x, Ncv32u y) const
void | clear ()
NCVStatus | copy2D (NCVMatrix< T > &dst, NcvSize32u roi, cudaStream_t cuStream) const
NCVStatus | copySolid (NCVMatrix< T > &dst, cudaStream_t cuStream, size_t howMuch=0) const
Ncv32u | height () const
NCVMemoryType | memType () const
Ncv32u | pitch () const
T * | ptr () const
NcvSize32u | size () const
Ncv32u | stride () const
Ncv32u | width () const

## Protected Attributes
Ncv32u | _height
NCVMemoryType | _memtype
Ncv32u | _pitch
T * | _ptr
Ncv32u | _width

## Detailed Description

### template<class T>
class NCVMatrix< T >

NCVMatrix (2D)

## Constructor & Destructor Documentation

## ◆ NCVMatrix()

template<class T>

NCVMatrix< T >::NCVMatrix | ( |  | ) |
| inline

## ◆ ~NCVMatrix()

template<class T>

virtual NCVMatrix< T >::~NCVMatrix | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ at()

template<class T>

T& NCVMatrix< T >::at | ( | Ncv32u | x,
|  | Ncv32u | y
| ) |  | const
| inline

## ◆ clear()

template<class T>

void NCVMatrix< T >::clear | ( |  | ) |
| inline

## ◆ copy2D()

template<class T>

NCVStatus NCVMatrix< T >::copy2D | ( | NCVMatrix< T > & | dst,
|  | NcvSize32u | roi,
|  | cudaStream_t | cuStream
| ) |  | const
| inline

## ◆ copySolid()

template<class T>

NCVStatus NCVMatrix< T >::copySolid | ( | NCVMatrix< T > & | dst,
|  | cudaStream_t | cuStream,
|  | size_t | howMuch = `0`
| ) |  | const
| inline

## ◆ height()

template<class T>

Ncv32u NCVMatrix< T >::height | ( |  | ) | const
| inline

## ◆ memType()

template<class T>

NCVMemoryType NCVMatrix< T >::memType | ( | void |  | ) | const
| inline

## ◆ pitch()

template<class T>

Ncv32u NCVMatrix< T >::pitch | ( |  | ) | const
| inline

## ◆ ptr()

template<class T>

T* NCVMatrix< T >::ptr | ( |  | ) | const
| inline

## ◆ size()

template<class T>

NcvSize32u NCVMatrix< T >::size | ( |  | ) | const
| inline

## ◆ stride()

template<class T>

Ncv32u NCVMatrix< T >::stride | ( |  | ) | const
| inline

## ◆ width()

template<class T>

Ncv32u NCVMatrix< T >::width | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ _height

template<class T>

Ncv32u NCVMatrix< T >::_height
| protected

## ◆ _memtype

template<class T>

NCVMemoryType NCVMatrix< T >::_memtype
| protected

## ◆ _pitch

template<class T>

Ncv32u NCVMatrix< T >::_pitch
| protected

## ◆ _ptr

template<class T>

T* NCVMatrix< T >::_ptr
| protected

## ◆ _width

template<class T>

Ncv32u NCVMatrix< T >::_width
| protected

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

- cudalegacy/include/opencv2/cudalegacy/NCV.hpp