COPASI API  4.16.103
qwt3dBars.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/barChart/qwt3dBars.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/09/16 18:04:44 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 #ifndef BARS_H
19 #define BARS_H
20 
21 #include "qwt3d_plot.h"
22 
23 class Bar : public Qwt3D::VertexEnrichment
24 {
25 public:
26  Bar();
27  Bar(double rad, double showColumn = -1, double showRow = -1);
28  virtual ~Bar();
29 
30  Qwt3D::Enrichment* clone() const {return new Bar(*this);}
31 
32  void configure(double rad, double showColumn, double showRow);
33  void drawBegin();
34  void drawEnd();
35  void draw(Qwt3D::Triple const&);
36  void drawZero();
37  double mShowColumn;
38  double mShowRow;
39 private:
40  double level_, radius_;
41  double diag_;
42 };
43 
44 class Label3D
45 {
46 public:
47  void draw(Qwt3D::Triple const&, double w, double h);
48 };
49 
50 #endif // BARS_H
void drawBegin()
Definition: qwt3dBars.cpp:44
double diag_
Definition: qwt3dBars.h:41
void configure(double rad, double showColumn, double showRow)
Definition: qwt3dBars.cpp:36
double mShowColumn
Definition: qwt3dBars.h:37
Definition: qwt3dBars.h:23
Qwt3D::Enrichment * clone() const
Definition: qwt3dBars.h:30
double mShowRow
Definition: qwt3dBars.h:38
virtual ~Bar()
Definition: qwt3dBars.cpp:33
void draw(Qwt3D::Triple const &, double w, double h)
Definition: qwt3dBars.cpp:156
void drawZero()
Definition: qwt3dBars.cpp:145
double level_
Definition: qwt3dBars.h:40
Bar()
Definition: qwt3dBars.cpp:22
double radius_
Definition: qwt3dBars.h:40
void drawEnd()
Definition: qwt3dBars.cpp:53
void draw(Qwt3D::Triple const &)
Definition: qwt3dBars.cpp:56