Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
CurveDiagram Class Reference

#include <curvediagram.h>

Inheritance diagram for CurveDiagram:
Diagram Element

Public Member Functions

 CurveDiagram (int _cx=0, int _cy=0)
 
 ~CurveDiagram ()
 
DiagramnewOne ()
 
int calcDiagram ()
 
void calcLimits ()
 
void calcCoordinate (double *&, double *&, double *&, float *, float *, Axis *)
 
bool insideDiagram (float, float)
 
- 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 (Schematic *)
 
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)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Static Public Member Functions

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

Protected Member Functions

void clip (float *&)
 
- 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)
 
void rectClip (float *&)
 
virtual void calcData (Graph *)
 

Additional Inherited Members

- Data Fields inherited from Diagram
QString Name
 
QPen GridPen
 
Q3PtrList< GraphGraphs
 
Q3PtrList< struct ArcArcs
 
Q3PtrList< LineLines
 
Q3PtrList< TextTexts
 
int x3
 
int y3
 
Axis xAxis
 
Axis yAxis
 
Axis zAxis
 
int State
 
bool hideLines
 
int rotX
 
int rotY
 
int rotZ
 
- Data Fields inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

Definition at line 24 of file curvediagram.h.

Constructor & Destructor Documentation

CurveDiagram::CurveDiagram ( int  _cx = 0,
int  _cy = 0 
)

Definition at line 35 of file curvediagram.cpp.

CurveDiagram::~CurveDiagram ( )

Definition at line 46 of file curvediagram.cpp.

Member Function Documentation

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

Reimplemented from Diagram.

Definition at line 51 of file curvediagram.cpp.

int CurveDiagram::calcDiagram ( )
virtual

Reimplemented from Diagram.

Definition at line 111 of file curvediagram.cpp.

void CurveDiagram::calcLimits ( )
virtual

Reimplemented from Diagram.

Definition at line 74 of file curvediagram.cpp.

void CurveDiagram::clip ( float *&  p)
protectedvirtual

Reimplemented from Diagram.

Definition at line 231 of file curvediagram.cpp.

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

Definition at line 243 of file curvediagram.cpp.

bool CurveDiagram::insideDiagram ( float  x,
float  y 
)
virtual

Reimplemented from Diagram.

Definition at line 225 of file curvediagram.cpp.

Diagram * CurveDiagram::newOne ( )
virtual

Reimplemented from Diagram.

Definition at line 237 of file curvediagram.cpp.


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