|
Qucs-GUI
0.0.19
|
The Rect3DDiagram class implements the 3D-Cartesian diagram. More...
#include <rect3ddiagram.h>


Public Member Functions | |
| Rect3DDiagram (int _cx=0, int _cy=0) | |
| ~Rect3DDiagram () | |
| Diagram * | newOne () |
| int | calcDiagram () |
| void | calcLimits () |
| void | calcCoordinate (const double *, const double *, const double *, float *, float *, Axis const *) const |
| void | finishMarkerCoordinates (float &, float &) const |
| void | createAxisLabels () |
| Put axis labels into the text list. | |
| bool | insideDiagram (float, float) const |
Static Public Member Functions | |
| static Element * | info (QString &, char *&, bool getNewOne=false) |
Data Fields | |
| tPoint3D * | Mem |
| tPoint3D * | pMem |
Protected Member Functions | |
| void | calcData (Graph *) |
Private Member Functions | |
| int | calcAxis (Axis *, int, int, double, double, bool) |
| void | createAxis (Axis *, bool, int, int, int, int) |
| void | calcCoefficients () |
| int | calcCross (int *, int *) |
| double | calcX_2D (double, double, double) const |
| double | calcY_2D (double, double, double) const |
| double | calcZ_2D (double, double, double) const |
| bool | isHidden (int, int, tBound *, char *) |
| void | enlargeMemoryBlock (tPoint3D *&) |
| void | calcLine (tPoint3D *&, tPoint3D *&, tBound *, char *) |
| void | calcCoordinate3D (double, double, double, double, tPoint3D *, tPointZ *) |
| void | removeHiddenLines (char *, tBound *) |
| void | removeHiddenCross (int, int, int, int, char *, tBound *) |
Static Private Member Functions | |
| static int | comparePoint3D (const void *, const void *) |
| static int | comparePointZ (const void *, const void *) |
Private Attributes | |
| float | xorig |
| float | yorig |
| double | cxx |
| double | cxy |
| double | cxz |
| double | cyx |
| double | cyy |
| double | cyz |
| double | czx |
| double | czy |
| double | czz |
| double | scaleX |
| double | scaleY |
The Rect3DDiagram class implements the 3D-Cartesian diagram.
Definition at line 39 of file rect3ddiagram.h.
| Rect3DDiagram::Rect3DDiagram | ( | int | _cx = 0, |
| int | _cy = 0 |
||
| ) |
Definition at line 57 of file rect3ddiagram.cpp.
| int Rect3DDiagram::calcAxis | ( | Axis * | Axis, |
| int | x, | ||
| int | y, | ||
| double | xD, | ||
| double | phi, | ||
| bool | Right | ||
| ) | [private] |
Definition at line 638 of file rect3ddiagram.cpp.


| void Rect3DDiagram::calcCoefficients | ( | ) | [private] |
| void Rect3DDiagram::calcCoordinate | ( | const double * | xD, |
| const double * | zD, | ||
| const double * | yD, | ||
| float * | px, | ||
| float * | py, | ||
| Axis const * | |||
| ) | const [virtual] |
Reimplemented from Diagram.
Definition at line 139 of file rect3ddiagram.cpp.

| void Rect3DDiagram::calcCoordinate3D | ( | double | x, |
| double | y, | ||
| double | zr, | ||
| double | zi, | ||
| tPoint3D * | p, | ||
| tPointZ * | pz | ||
| ) | [private] |
Definition at line 199 of file rect3ddiagram.cpp.


| int Rect3DDiagram::calcCross | ( | int * | Xses, |
| int * | Yses | ||
| ) | [private] |
Definition at line 102 of file rect3ddiagram.cpp.


| void Rect3DDiagram::calcData | ( | Graph * | g | ) | [protected, virtual] |
Reimplemented from Diagram.
Definition at line 950 of file rect3ddiagram.cpp.

| int Rect3DDiagram::calcDiagram | ( | ) | [virtual] |
Reimplemented from Diagram.
Definition at line 798 of file rect3ddiagram.cpp.

| void Rect3DDiagram::calcLimits | ( | ) | [virtual] |
Reimplemented from Diagram.
Definition at line 601 of file rect3ddiagram.cpp.

| void Rect3DDiagram::calcLine | ( | tPoint3D *& | p, |
| tPoint3D *& | MemEnd, | ||
| tBound * | Bounds, | ||
| char * | zBuffer | ||
| ) | [private] |
Definition at line 273 of file rect3ddiagram.cpp.


| double Rect3DDiagram::calcX_2D | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) | const [private] |
| double Rect3DDiagram::calcY_2D | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) | const [private] |
| double Rect3DDiagram::calcZ_2D | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) | const [private] |
| int Rect3DDiagram::comparePoint3D | ( | const void * | Point1, |
| const void * | Point2 | ||
| ) | [static, private] |
| int Rect3DDiagram::comparePointZ | ( | const void * | Point1, |
| const void * | Point2 | ||
| ) | [static, private] |
| void Rect3DDiagram::createAxis | ( | Axis * | Axis, |
| bool | Right, | ||
| int | x1_, | ||
| int | y1_, | ||
| int | x2_, | ||
| int | y2_ | ||
| ) | [private] |
Definition at line 731 of file rect3ddiagram.cpp.


| void Rect3DDiagram::createAxisLabels | ( | ) | [virtual] |
Put axis labels into the text list.
Reimplemented from Diagram.
Definition at line 1026 of file rect3ddiagram.cpp.
| void Rect3DDiagram::enlargeMemoryBlock | ( | tPoint3D *& | MemEnd | ) | [private] |
| void Rect3DDiagram::finishMarkerCoordinates | ( | float & | fCX, |
| float & | fCY | ||
| ) | const [virtual] |
Reimplemented from Diagram.
Definition at line 191 of file rect3ddiagram.cpp.

| Element * Rect3DDiagram::info | ( | QString & | Name, |
| char *& | BitmapFile, | ||
| bool | getNewOne = false |
||
| ) | [static] |
| bool Rect3DDiagram::insideDiagram | ( | float | x, |
| float | y | ||
| ) | const [virtual] |
Reimplemented from Diagram.
Definition at line 1034 of file rect3ddiagram.cpp.


| bool Rect3DDiagram::isHidden | ( | int | x, |
| int | y, | ||
| tBound * | Bounds, | ||
| char * | zBuffer | ||
| ) | [private] |
| Diagram * Rect3DDiagram::newOne | ( | ) | [virtual] |
Reimplemented from Diagram.
Definition at line 1040 of file rect3ddiagram.cpp.

| void Rect3DDiagram::removeHiddenCross | ( | int | x1_, |
| int | y1_, | ||
| int | x2_, | ||
| int | y2_, | ||
| char * | zBuffer, | ||
| tBound * | Bounds | ||
| ) | [private] |
Definition at line 571 of file rect3ddiagram.cpp.


| void Rect3DDiagram::removeHiddenLines | ( | char * | zBuffer, |
| tBound * | Bounds | ||
| ) | [private] |
Definition at line 367 of file rect3ddiagram.cpp.


double Rect3DDiagram::cxx [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::cxy [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::cxz [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::cyx [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::cyy [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::cyz [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::czx [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::czy [private] |
Definition at line 82 of file rect3ddiagram.h.
double Rect3DDiagram::czz [private] |
Definition at line 82 of file rect3ddiagram.h.
Definition at line 55 of file rect3ddiagram.h.
Definition at line 56 of file rect3ddiagram.h.
double Rect3DDiagram::scaleX [private] |
Definition at line 83 of file rect3ddiagram.h.
double Rect3DDiagram::scaleY [private] |
Definition at line 83 of file rect3ddiagram.h.
float Rect3DDiagram::xorig [private] |
Definition at line 81 of file rect3ddiagram.h.
float Rect3DDiagram::yorig [private] |
Definition at line 81 of file rect3ddiagram.h.
1.7.6.1