Gl Graph
Gl Graph Source of drawableset.h
#ifndef DrawableSet_H
#define DrawableSet_H
#include <vector>
#include <drawabledata.h>
#include "glscene.h"
class DrawableSet {
private:
std::vector<DrawableData * > data;
public:
DrawableSet();
~DrawableSet();
void add(DrawableData * obj);
void draw();
void init(GlScene * glScene);
void waitUntilLoad();
int getElementNb();
int getTotalElementNb();
int getWidth();
int getHeight();
float getMinX();
float getMaxX();
float getMinY();
float getMaxY();
float getMinZ();
float getMaxZ();
Vec3f getCenter();
float getMaxSize();
bool isChanged();
void consummeChanged();
void onClick(Vec3f &point,Vec3f &xvect,Vec3f &yvect,Vec3f &zvect);
void onButtonUp();
void onButtonDown();
void onButtonRight();
void onButtonLeft();
};
#endif