libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::OpenGLMapData Class Reference

#include <OpenGLMapData.h>

Public Member Functions

void AddAttrib (std::string attribName, GLint length, GLuint type, size_t positionOffset)
 
void AddNewElement (GLuint element)
 
void AddNewVertex (GLfloat vertex)
 
void AddUniform (std::string uniformName, float value)
 
void BindBuffers ()
 
void clearData ()
 
void Draw ()
 
int GetNumOfVertices ()
 
GLuint getShaderProgram ()
 
GLuint getVAO ()
 
int GetVerticesNumber ()
 
int GetVerticesSize ()
 
float GetZoom ()
 
bool InitContext ()
 
void LoadFragmentShader (std::string fileName)
 
void LoadProgram ()
 
void LoadVertexShader (std::string fileName)
 
void LoadVertices ()
 
void SetModel ()
 
void SetProjection (float width, float height)
 
void SetVerticesSize (int size)
 
void SetView (float lookX, float lookY)
 
void SetZoom (float zoom)
 
 ~OpenGLMapData ()
 

Constructor & Destructor Documentation

osmscout::OpenGLMapData::~OpenGLMapData ( )
inline

Member Function Documentation

void osmscout::OpenGLMapData::AddAttrib ( std::string  attribName,
GLint  length,
GLuint  type,
size_t  positionOffset 
)
inline
void osmscout::OpenGLMapData::AddNewElement ( GLuint  element)
inline
void osmscout::OpenGLMapData::AddNewVertex ( GLfloat  vertex)
inline
void osmscout::OpenGLMapData::AddUniform ( std::string  uniformName,
float  value 
)
inline
void osmscout::OpenGLMapData::BindBuffers ( )
inline
void osmscout::OpenGLMapData::clearData ( )
inline
void osmscout::OpenGLMapData::Draw ( )
inline
int osmscout::OpenGLMapData::GetNumOfVertices ( )
inline
GLuint osmscout::OpenGLMapData::getShaderProgram ( )
inline
GLuint osmscout::OpenGLMapData::getVAO ( )
inline
int osmscout::OpenGLMapData::GetVerticesNumber ( )
inline
int osmscout::OpenGLMapData::GetVerticesSize ( )
inline
float osmscout::OpenGLMapData::GetZoom ( )
inline
bool osmscout::OpenGLMapData::InitContext ( )
inline
void osmscout::OpenGLMapData::LoadFragmentShader ( std::string  fileName)
inline
void osmscout::OpenGLMapData::LoadProgram ( )
inline
void osmscout::OpenGLMapData::LoadVertexShader ( std::string  fileName)
inline
void osmscout::OpenGLMapData::LoadVertices ( )
inline
void osmscout::OpenGLMapData::SetModel ( )
inline
void osmscout::OpenGLMapData::SetProjection ( float  width,
float  height 
)
inline
void osmscout::OpenGLMapData::SetVerticesSize ( int  size)
inline
void osmscout::OpenGLMapData::SetView ( float  lookX,
float  lookY 
)
inline
void osmscout::OpenGLMapData::SetZoom ( float  zoom)
inline

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