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  

densityplot.h

00001 /***************************************************************************
00002                           densityplot.h  -  description
00003                              -------------------
00004     begin                : Sat May 25 2002
00005     copyright            : (C) 2002 by Fungmeista
00006     email                : mizunoami442@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 DENSITYPLOT_H
00019 #define DENSITYPLOT_H
00020 
00021 #include "expressiongraph.h"
00022 
00023 class FungParser;
00024 
00029 class DensityPlot : public ExpressionGraph
00030 {
00031     Q_OBJECT
00032 
00033     public:
00034         DensityPlot ( QWidget *parent=0, const char *name=0 );
00035         ~DensityPlot();
00036 
00037         virtual inline int getGraphType() const{return DENSITYPLOT;}
00038 
00039     protected:
00040         virtual const char * independent_vars(){return "x,y";}
00041         virtual const char * dependent_var(int=0){return "z";}
00042         virtual void drawExpression(QPainter *painter, Expression &);
00043         virtual int setXYForTrace(const double, const double, double *, double *, Expression &);
00044                 virtual void updateCoords();
00045 };
00046 
00047 #endif //DensityPlot_H