#include <Layer.h>
LayerSceneGraph::Layer::Layer |
( |
GLfloat |
r, |
|
|
GLubyte |
m, |
|
|
GLubyte |
p |
|
) |
| |
Constructor. Computes vertices position coordinates, texture coordinates and indices for drawing this layer.
Modificar isso, ter maior controle sobre ponto inicial e final dos polos
LayerSceneGraph::Layer::Layer |
( |
GLfloat |
r, |
|
|
GLubyte |
m, |
|
|
GLubyte |
p, |
|
|
Texture * |
texture |
|
) |
| |
LayerSceneGraph::Layer::~Layer |
( |
| ) |
|
|
virtual |
Destructor. Deletes it's mesh.
void LayerSceneGraph::Layer::draw |
( |
| ) |
|
|
virtual |
GLfloat LayerSceneGraph::Layer::getRadius |
( |
| ) |
|
Returns layer radius value
Texture * LayerSceneGraph::Layer::getTexture |
( |
| ) |
|
int LayerSceneGraph::Layer::operator<= |
( |
Layer |
l | ) |
|
Defines a order relation on the layer's set. Compares this layer with a given layer and returns which one is lesser
void LayerSceneGraph::Layer::setTexture |
( |
Texture * |
texture | ) |
|
Sets a new texture for this layer
void LayerSceneGraph::Layer::setTexture |
( |
string |
filename | ) |
|
Loads a image file and sets a new texture for this layer based on this file.
GLubyte LayerSceneGraph::Layer::meridianos |
|
private |
Mesh* LayerSceneGraph::Layer::mesh |
|
private |
GLubyte LayerSceneGraph::Layer::paralelos |
|
private |
GLfloat LayerSceneGraph::Layer::radius |
|
private |
The documentation for this class was generated from the following files: