OpenCV  3.3.0-dev
Open Source Computer Vision
Public Member Functions | List of all members
cv::ogl::Arrays Class Reference

Wrapper for OpenGL Client-Side Vertex arrays. More...

#include "opengl.hpp"

Public Member Functions

 Arrays ()
 Default constructor. More...
 
void bind () const
 Binds all vertex arrays. More...
 
bool empty () const
 
void release ()
 Releases all inner buffers. More...
 
void resetColorArray ()
 Resets vertex colors. More...
 
void resetNormalArray ()
 Resets vertex normals. More...
 
void resetTexCoordArray ()
 Resets vertex texture coordinates. More...
 
void resetVertexArray ()
 Resets vertex coordinates. More...
 
void setAutoRelease (bool flag)
 Sets auto release mode all inner buffers. More...
 
void setColorArray (InputArray color)
 Sets an array of vertex colors. More...
 
void setNormalArray (InputArray normal)
 Sets an array of vertex normals. More...
 
void setTexCoordArray (InputArray texCoord)
 Sets an array of vertex texture coordinates. More...
 
void setVertexArray (InputArray vertex)
 Sets an array of vertex coordinates. More...
 
int size () const
 Returns the vertex count. More...
 

Detailed Description

Wrapper for OpenGL Client-Side Vertex arrays.

ogl::Arrays stores vertex data in ogl::Buffer objects.


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