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
RectDiagram Class Reference

#include <rectdiagram.h>

Inheritance diagram for RectDiagram:
Diagram Element

Public Member Functions

 RectDiagram (int _cx=0, int _cy=0)
 
 ~RectDiagram ()
 
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 rectdiagram.h.

Constructor & Destructor Documentation

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

Definition at line 36 of file rectdiagram.cpp.

RectDiagram::~RectDiagram ( )

Definition at line 48 of file rectdiagram.cpp.

Member Function Documentation

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

Reimplemented from Diagram.

Definition at line 53 of file rectdiagram.cpp.

int RectDiagram::calcDiagram ( )
virtual

Reimplemented from Diagram.

Definition at line 120 of file rectdiagram.cpp.

void RectDiagram::calcLimits ( )
virtual

Reimplemented from Diagram.

Definition at line 83 of file rectdiagram.cpp.

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

Reimplemented from Diagram.

Definition at line 229 of file rectdiagram.cpp.

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

Definition at line 241 of file rectdiagram.cpp.

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

Reimplemented from Diagram.

Definition at line 223 of file rectdiagram.cpp.

Diagram * RectDiagram::newOne ( )
virtual

Reimplemented from Diagram.

Definition at line 235 of file rectdiagram.cpp.


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