Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Protected Attributes | List of all members
Rectangle Class Reference

A rectangle that's drawn on top of the video bitmap. More...

#include <openglobject.h>

Inheritance diagram for Rectangle:
Inheritance graph
[legend]
Collaboration diagram for Rectangle:
Collaboration graph
[legend]

Public Member Functions

virtual void draw ()
 
void setCoordinates (float left, float right, float top, float bottom)
 

Protected Attributes

std::array< GLfloat, 12 > vertices
 data of the vertex buffer object
 
- Protected Attributes inherited from OverlayObject
GLuint VAO
 id of the vertex array object
 
GLuint VBO
 id of the vertex buffer object
 
bool is_set
 have coordinates been given?
 

Detailed Description

A rectangle that's drawn on top of the video bitmap.

Useful for object detection.


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