copasi API  0.1
copasi/barChart/qwt3dBars.h
Go to the documentation of this file.
00001 // Begin CVS Header
00002 //   $Source: /fs/turing/cvs/copasi_dev/copasi/barChart/qwt3dBars.h,v $
00003 //   $Revision: 1.1 $
00004 //   $Name: Build-33 $
00005 //   $Author: akoenig $
00006 //   $Date: 2007/11/12 17:01:06 $
00007 // End CVS Header
00008 
00009 // Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual
00010 // Properties, Inc. and EML Research, gGmbH.
00011 // All rights reserved.
00012 
00013 #ifndef BARS_H
00014 #define BARS_H
00015 
00016 #include "qwt3d_plot.h"
00017 
00018 class Bar : public Qwt3D::VertexEnrichment
00019   {
00020   public:
00021     Bar();
00022     Bar(double rad, double showColumn = -1, double showRow = -1);
00023 
00024     Qwt3D::Enrichment* clone() const {return new Bar(*this);}
00025 
00026     void configure(double rad, double showColumn, double showRow);
00027     void drawBegin();
00028     void drawEnd();
00029     void draw(Qwt3D::Triple const&);
00030     void drawZero();
00031     double mShowColumn;
00032     double mShowRow;
00033   private:
00034     double level_, radius_;
00035     double diag_;
00036   };
00037 
00038 class Label3D
00039   {
00040   public:
00041     void draw(Qwt3D::Triple const&, double w, double h);
00042   };
00043 
00044 #endif // BARS_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines