Qucs-GUI  0.0.19
/home/travis/build/Qucs/qucs/qucs/qucs/diagrams/psdiagram.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                                 psdiagram.h
00003                                -------------
00004     begin                : Sat Nov 6 2004
00005     copyright            : (C) 2004 by Michael Margraf
00006     email                : michael.margraf@alumni.tu-berlin.de
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 PSDIAGRAM_H
00019 #define PSDIAGRAM_H
00020 
00021 #include "diagram.h"
00022 
00023 
00024 // mixed polar and smith diagram
00025 class PSDiagram : public Diagram  {
00026 public:
00027   PSDiagram(int _cx=0, int _cy=0, bool _polarUp=true);
00028   ~PSDiagram();
00029 
00030 
00031   Diagram* newOne();
00032   static Element* info(QString&, char* &, bool getNewOne=false);
00033   static Element* info_sp(QString&, char* &, bool getNewOne=false);
00034   int  calcDiagram();
00035   void calcLimits();
00036   void calcCoordinate(const double*, const double*, const double*, float*, float*, Axis const*) const;
00037 };
00038 
00039 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines