PanoramaViewer
 All Classes Namespaces Files Functions Variables Macros Pages
Esfera Class Reference

#include <Esfera.h>

Public Member Functions

 Esfera (GLfloat r, GLubyte m, GLubyte p)
 
 Esfera (const Esfera *copiada)
 
virtual ~Esfera ()
 
GLfloat getRaio ()
 
GLubyte getMeridianos ()
 
GLubyte getParalelos ()
 
GLfloat * getCores ()
 
GLfloat * getVertices ()
 
GLuint * getIndices ()
 
GLuint getNumIndices ()
 
GLuint getNumVertices ()
 
GLubyte * getTexture ()
 
GLfloat * getTextureCoordinates ()
 
void setTexture (GLubyte *texture)
 
void draw ()
 

Private Attributes

GLfloat raio
 
GLubyte meridianos
 
GLubyte paralelos
 
GLfloat * cores
 
GLfloat * vertices
 
GLfloat * textureCoordinates
 
GLuint * indices
 
GLuint numIndices
 
GLuint numVertices
 
GLubyte * texture
 

Constructor & Destructor Documentation

Esfera::Esfera ( GLfloat  r,
GLubyte  m,
GLubyte  p 
)

Modificar isso, ter maior controle sobre ponto inicial e final dos polos

Esfera::Esfera ( const Esfera copiada)
Esfera::~Esfera ( )
virtual

Member Function Documentation

void Esfera::draw ( )
GLfloat * Esfera::getCores ( )
GLuint * Esfera::getIndices ( )
GLubyte Esfera::getMeridianos ( )
GLuint Esfera::getNumIndices ( )
GLuint Esfera::getNumVertices ( )
GLubyte Esfera::getParalelos ( )
GLfloat Esfera::getRaio ( )
GLubyte * Esfera::getTexture ( )
GLfloat * Esfera::getTextureCoordinates ( )
GLfloat * Esfera::getVertices ( )
void Esfera::setTexture ( GLubyte *  texture)

Member Data Documentation

GLfloat* Esfera::cores
private
GLuint* Esfera::indices
private
GLubyte Esfera::meridianos
private
GLuint Esfera::numIndices
private
GLuint Esfera::numVertices
private
GLubyte Esfera::paralelos
private
GLfloat Esfera::raio
private
GLubyte* Esfera::texture
private
GLfloat* Esfera::textureCoordinates
private
GLfloat* Esfera::vertices
private

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