~ubuntu-branches/ubuntu/saucy/pyqwt3d/saucy-proposed

« back to all changes in this revision

Viewing changes to qwtplot3d-0.2.7/examples/enrichments/src/enrichments.h

  • Committer: Bazaar Package Importer
  • Author(s): Gudjon I. Gudjonsson
  • Date: 2009-11-07 12:54:42 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091107125442-92kgp0l7lessmiwo
Tags: 0.1.7~cvs20090625-2
* Change sip4 dependencies to >=4.9
* Add binary dependency on python-sip4 >=4.9
* Bump standards version to 3.8.3, no changes needed
* Add README.source file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef enrichments_h__2004_02_25_13_58_begin_guarded_code
2
 
#define enrichments_h__2004_02_25_13_58_begin_guarded_code
3
 
 
4
 
#include "qwt3d_plot.h"
5
 
 
6
 
 
7
 
class Bar : public Qwt3D::VertexEnrichment
8
 
{
9
 
public:
10
 
  Bar();
11
 
  Bar(double rad, double level);
12
 
 
13
 
  Qwt3D::Enrichment* clone() const {return new Bar(*this);}
14
 
  
15
 
  void configure(double rad, double level);
16
 
  void drawBegin();
17
 
  void drawEnd();
18
 
  void draw(Qwt3D::Triple const&);
19
 
 
20
 
private:
21
 
  double level_, radius_;
22
 
  double diag_;
23
 
};
24
 
 
25
 
class  Label3D
26
 
{
27
 
public:
28
 
  void draw(Qwt3D::Triple const&, double w, double h);
29
 
};
30
 
 
31
 
#endif