EstervQrCode 1.1.1
Library for qr code manipulation
Namespaces | Classes | Enumerations | Functions
cv::ogl Namespace Reference

Namespaces

 ocl
 

Classes

class  Buffer
 Smart pointer for OpenGL buffer object with reference counting. More...
 
class  Texture2D
 Smart pointer for OpenGL 2D texture memory with reference counting. More...
 
class  Arrays
 Wrapper for OpenGL Client-Side Vertex arrays. More...
 

Enumerations

enum  RenderModes {
  POINTS = 0x0000 , LINES = 0x0001 , LINE_LOOP = 0x0002 , LINE_STRIP = 0x0003 ,
  TRIANGLES = 0x0004 , TRIANGLE_STRIP = 0x0005 , TRIANGLE_FAN = 0x0006 , QUADS = 0x0007 ,
  QUAD_STRIP = 0x0008 , POLYGON = 0x0009
}
 render mode More...
 

Functions

CV_EXPORTS void render (const Texture2D &tex, Rect_< double > wndRect=Rect_< double >(0.0, 0.0, 1.0, 1.0), Rect_< double > texRect=Rect_< double >(0.0, 0.0, 1.0, 1.0))
 Render OpenGL texture or primitives. More...
 
CV_EXPORTS void render (const Arrays &arr, int mode=POINTS, Scalar color=Scalar::all(255))
 
CV_EXPORTS void render (const Arrays &arr, InputArray indices, int mode=POINTS, Scalar color=Scalar::all(255))
 
CV_EXPORTS void convertToGLTexture2D (InputArray src, Texture2D &texture)
 Converts InputArray to Texture2D object. More...
 
CV_EXPORTS void convertFromGLTexture2D (const Texture2D &texture, OutputArray dst)
 Converts Texture2D object to OutputArray. More...
 
CV_EXPORTS UMat mapGLBuffer (const Buffer &buffer, AccessFlag accessFlags=ACCESS_READ|ACCESS_WRITE)
 Maps Buffer object to process on CL side (convert to UMat). More...
 
CV_EXPORTS void unmapGLBuffer (UMat &u)
 Unmaps Buffer object (releases UMat, previously mapped from Buffer). More...