My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
PSDiagram Class Reference

#include <psdiagram.h>

Inheritance diagram for PSDiagram:
Inheritance graph
[legend]
Collaboration diagram for PSDiagram:
Collaboration graph
[legend]

Public Member Functions

 PSDiagram (int _cx=0, int _cy=0, bool _polarUp=true)
 
 ~PSDiagram ()
 
DiagramnewOne ()
 
int calcDiagram ()
 
void calcLimits ()
 
void calcCoordinate (double *&, double *&, double *&, float *, float *, Axis *)
 
- Public Member Functions inherited from Diagram
 Diagram (int _cx=0, int _cy=0)
 
virtual ~Diagram ()
 
virtual void paint (ViewPainter *)
 
void setCenter (int, int, bool relative=false)
 
void getCenter (int &, int &)
 
void paintScheme (QPainter *)
 
void Bounding (int &, int &, int &, int &)
 
bool getSelected (int, int)
 
bool resizeTouched (float, float, float)
 
QString save ()
 
bool load (const QString &, QTextStream *)
 
void getAxisLimits (Graph *)
 
void updateGraphData ()
 
void loadGraphData (const QString &)
 
void recalcGraphData ()
 
int loadVarData (const QString &, Graph *)
 
int loadIndepVarData (const QString &, char *, Axis *, Graph *)
 
bool sameDependencies (Graph *, Graph *)
 
int checkColumnWidth (const QString &, const QFontMetrics &, int, int, int)
 
virtual bool insideDiagram (float, float)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Static Public Member Functions

static Elementinfo (QString &, char *&, bool getNewOne=false)
 
static Elementinfo_sp (QString &, char *&, bool getNewOne=false)
 

Additional Inherited Members

- Public Attributes inherited from Diagram
QString Name
 
QPen GridPen
 
QPtrList< GraphGraphs
 
QPtrList< struct ArcArcs
 
QPtrList< LineLines
 
QPtrList< TextTexts
 
int x3
 
int y3
 
Axis xAxis
 
Axis yAxis
 
Axis zAxis
 
int State
 
bool hideLines
 
int rotX
 
int rotY
 
int rotZ
 
- Protected Member Functions inherited from Diagram
void calcSmithAxisScale (Axis *, int &, int &)
 
void createSmithChart (Axis *, int Mode=7)
 
void calcPolarAxisScale (Axis *, double &, double &, double &)
 
void createPolarDiagram (Axis *, int Mode=3)
 
bool calcAxisScale (Axis *, double &, double &, double &, double &, double)
 
bool calcAxisLogScale (Axis *, int &, double &, double &, double &, int)
 
bool calcYAxis (Axis *, int)
 
virtual void createAxisLabels ()
 
int regionCode (float, float)
 
virtual void clip (float *&)
 
void rectClip (float *&)
 
virtual void calcData (Graph *)
 

Detailed Description

Definition at line 25 of file psdiagram.h.

Constructor & Destructor Documentation

PSDiagram::PSDiagram ( int  _cx = 0,
int  _cy = 0,
bool  _polarUp = true 
)

Definition at line 35 of file psdiagram.cpp.

Here is the caller graph for this function:

PSDiagram::~PSDiagram ( )

Definition at line 50 of file psdiagram.cpp.

Member Function Documentation

void PSDiagram::calcCoordinate ( double *&  ,
double *&  yD,
double *&  ,
float *  px,
float *  py,
Axis pa 
)
virtual

Reimplemented from Diagram.

Definition at line 55 of file psdiagram.cpp.

int PSDiagram::calcDiagram ( )
virtual

Reimplemented from Diagram.

Definition at line 98 of file psdiagram.cpp.

Here is the call graph for this function:

void PSDiagram::calcLimits ( )
virtual

Reimplemented from Diagram.

Definition at line 71 of file psdiagram.cpp.

Here is the call graph for this function:

Element * PSDiagram::info ( QString &  Name,
char *&  BitmapFile,
bool  getNewOne = false 
)
static

Definition at line 126 of file psdiagram.cpp.

Here is the call graph for this function:

Element * PSDiagram::info_sp ( QString &  Name,
char *&  BitmapFile,
bool  getNewOne = false 
)
static

Definition at line 136 of file psdiagram.cpp.

Here is the call graph for this function:

Diagram * PSDiagram::newOne ( )
virtual

Reimplemented from Diagram.

Definition at line 120 of file psdiagram.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files: