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  

meanvaluefunction.h

00001 /***************************************************************************
00002                           meanvaluefunction.h  -  description
00003                              -------------------
00004     begin                : Sun Dec 29 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 MEANVALUEFUNCTION_H
00019 #define MEANVALUEFUNCTION_H
00020 
00021 #include "mathfunction.h"
00022 
00027 class MeanValueFunction : public MathFunction
00028 {
00029     public: 
00030         MeanValueFunction(BasicGraph *graph,int);
00031         ~MeanValueFunction();
00032 
00033     protected:
00034         void calculate_and_draw(QPainter *);
00035         void draw_stored(QPainter *);
00036 
00037     private:
00038         double point_x, point_y;
00039         int x1, y1, x2, y2;
00040         bool found;
00041 };
00042 
00043 #endif