My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
psdiagram.h
Go to the documentation of this file.
1 /***************************************************************************
2  psdiagram.h
3  -------------
4  begin : Sat Nov 6 2004
5  copyright : (C) 2004 by Michael Margraf
6  email : michael.margraf@alumni.tu-berlin.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef PSDIAGRAM_H
19 #define PSDIAGRAM_H
20 
21 #include "diagram.h"
22 
23 
24 // mixed polar and smith diagram
25 class PSDiagram : public Diagram {
26 public:
27  PSDiagram(int _cx=0, int _cy=0, bool _polarUp=true);
28  ~PSDiagram();
29 
30 
31  Diagram* newOne();
32  static Element* info(QString&, char* &, bool getNewOne=false);
33  static Element* info_sp(QString&, char* &, bool getNewOne=false);
34  int calcDiagram();
35  void calcLimits();
36  void calcCoordinate(double* &, double* &, double* &, float*, float*, Axis*);
37 };
38 
39 #endif