-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrevolucion.h
44 lines (41 loc) · 967 Bytes
/
revolucion.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _REVOLUCION_H
#define _REVOLUCION_H
#include <iostream>
#include "objeto3d.h"
using namespace std;
class Revolucion : public Objeto3D //Hereda de Objeto3D
{
private:
int division;
vector<float> inicial;
vector<int> v_tapa;
vector<int> v_base;
char eje;
public:
Revolucion(){};
Revolucion(vector<float> vertices, int numerodiv, char eje);
// ObjetoDeRevolucion(Objeto3D & otro, int divi, char ej)
// {
// division = divi;
// eje = ej;
// CopiarDatos(otro);
// }
int cubo();
void creaObjeto();
void calculaPuntos(int tam);
void carasLaterales();
// void Tapas();
void base();
void tapa();
bool necesitoTapa();
bool necesitoBase();
void resize(int value);
void conSinTapa(int cond);
void conSinBase(int cond);
// void Redivide(int value, char ej, int division);
//
// ObjetoDeRevolucion & operator = (const ObjetoDeRevolucion & otro);
//
// void CopiarDatos (const Objeto3D & otro);
};
#endif