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  

definiteintegralfunction.h

00001 /***************************************************************************
00002                           definiteintegralfunction.h  -  description
00003                              -------------------
00004     begin                : Mon Nov 11 2002
00005     copyright            : (C) 2002 by Fungmeista
00006     email                : mizunoami44@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 DEFINITEINTEGRALFUNCTION_H
00019 #define DEFINITEINTEGRALFUNCTION_H
00020 
00021 #include "mathfunction.h"
00022 
00023 class QPainter;
00024 class QPointArray;
00025 class BasicGraph;
00026 
00033 class DefiniteIntegralFunction : public MathFunction
00034 {
00035     public:
00036         DefiniteIntegralFunction(BasicGraph * = 0, int expression_count = 0, double precision=0.5);
00037         ~DefiniteIntegralFunction();
00038 
00039     protected:
00040         void calculate_and_draw(QPainter *);
00041         void draw_stored(QPainter *);
00042 
00043     private:
00044         double precision;
00045         QPointArray *pointsStorage;
00046 };
00047 
00048 #endif //DEFINITEINTEGRALFUNCTION_H