Home

Download

Features

Screenshots

Handbook

Browse Source

Authors

SourceForge.net Logo
Hosted by SourceForge.net

OSI Certified


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Search  

graph.h

00001 /***************************************************************************
00002                           graph.h  -  description
00003                              -------------------
00004     begin                : Thu May 16 2002
00005     copyright            : (C) 2002 by Fungmeista
00006     email                : mizunoami44@users.sourceforge.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef GRAPH_H
00019 #define GRAPH_H
00020 
00021 #include "icons.h"
00022 
00023 #include "commongraphmain.h"
00024 
00025 #include "functiongraphmain.h"
00026 #include "parametricgraphmain.h"
00027 #include "polargraphmain.h"
00028 #include "statplotgraphmain.h"
00029 #include "densityplotmain.h"
00030 
00031 #ifdef GLGRAPH
00032 #include "glfunctiongraphmain.h"
00033 #include "glpolargraphmain.h"
00034 #include "glcylindricalgraphmain.h"
00035 #endif //GLGRAPH
00036 
00037 class QWidget;
00038 
00043 class Graph
00044 {
00045     public: 
00046         Graph(){}
00047         ~Graph();
00048         static CommonGraphMain* createGraph(int,QWidget*);
00049 
00050         static const int FUNCTIONGRAPH = 0;
00051         static const int POLARGRAPH = 1;
00052         static const int PARAMETRICGRAPH = 2;
00053         static const int STATGRAPH = 3;
00054         static const int DENSITYPLOT = 4;
00055         #ifdef GLGRAPH
00056         static const int GLFUNCTIONGRAPH = 5;
00057         static const int GLPOLARGRAPH = 6;
00058         static const int GLCYLINDRICALGRAPH = 7;
00059         static const int GLPARAMETRICGRAPH = 8;
00060         #endif //GLGRAPH
00061 };
00062 
00063 #endif