Qucs-GUI  0.0.19
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Rect3DDiagram Class Reference

The Rect3DDiagram class implements the 3D-Cartesian diagram. More...

#include <rect3ddiagram.h>

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

Public Member Functions

 Rect3DDiagram (int _cx=0, int _cy=0)
 ~Rect3DDiagram ()
DiagramnewOne ()
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 Elementinfo (QString &, char *&, bool getNewOne=false)

Data Fields

tPoint3DMem
tPoint3DpMem

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

Detailed Description

The Rect3DDiagram class implements the 3D-Cartesian diagram.

Definition at line 39 of file rect3ddiagram.h.


Constructor & Destructor Documentation

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

Definition at line 40 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

Definition at line 57 of file rect3ddiagram.cpp.


Member Function Documentation

int Rect3DDiagram::calcAxis ( Axis Axis,
int  x,
int  y,
double  xD,
double  phi,
bool  Right 
) [private]

Definition at line 638 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Rect3DDiagram::calcCoefficients ( ) [private]

Definition at line 63 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

void Rect3DDiagram::calcCoordinate3D ( double  x,
double  y,
double  zr,
double  zi,
tPoint3D p,
tPointZ pz 
) [private]

Definition at line 199 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int Rect3DDiagram::calcCross ( int *  Xses,
int *  Yses 
) [private]

Definition at line 102 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Rect3DDiagram::calcData ( Graph g) [protected, virtual]

Reimplemented from Diagram.

Definition at line 950 of file rect3ddiagram.cpp.

Here is the call graph for this function:

int Rect3DDiagram::calcDiagram ( ) [virtual]

Reimplemented from Diagram.

Definition at line 798 of file rect3ddiagram.cpp.

Here is the call graph for this function:

void Rect3DDiagram::calcLimits ( ) [virtual]

Reimplemented from Diagram.

Definition at line 601 of file rect3ddiagram.cpp.

Here is the call graph for this function:

void Rect3DDiagram::calcLine ( tPoint3D *&  p,
tPoint3D *&  MemEnd,
tBound Bounds,
char *  zBuffer 
) [private]

Definition at line 273 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double Rect3DDiagram::calcX_2D ( double  x,
double  y,
double  z 
) const [private]

Definition at line 81 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

double Rect3DDiagram::calcY_2D ( double  x,
double  y,
double  z 
) const [private]

Definition at line 87 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

double Rect3DDiagram::calcZ_2D ( double  x,
double  y,
double  z 
) const [private]

Definition at line 93 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

int Rect3DDiagram::comparePoint3D ( const void *  Point1,
const void *  Point2 
) [static, private]

Definition at line 354 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

int Rect3DDiagram::comparePointZ ( const void *  Point1,
const void *  Point2 
) [static, private]

Definition at line 358 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

void Rect3DDiagram::createAxis ( Axis Axis,
bool  Right,
int  x1_,
int  y1_,
int  x2_,
int  y2_ 
) [private]

Definition at line 731 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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]

Definition at line 255 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

void Rect3DDiagram::finishMarkerCoordinates ( float &  fCX,
float &  fCY 
) const [virtual]

Reimplemented from Diagram.

Definition at line 191 of file rect3ddiagram.cpp.

Here is the call graph for this function:

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

Definition at line 1046 of file rect3ddiagram.cpp.

Here is the call graph for this function:

bool Rect3DDiagram::insideDiagram ( float  x,
float  y 
) const [virtual]

Reimplemented from Diagram.

Definition at line 1034 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Rect3DDiagram::isHidden ( int  x,
int  y,
tBound Bounds,
char *  zBuffer 
) [private]

Definition at line 243 of file rect3ddiagram.cpp.

Here is the caller graph for this function:

Diagram * Rect3DDiagram::newOne ( ) [virtual]

Reimplemented from Diagram.

Definition at line 1040 of file rect3ddiagram.cpp.

Here is the call graph for this function:

void Rect3DDiagram::removeHiddenCross ( int  x1_,
int  y1_,
int  x2_,
int  y2_,
char *  zBuffer,
tBound Bounds 
) [private]

Definition at line 571 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Rect3DDiagram::removeHiddenLines ( char *  zBuffer,
tBound Bounds 
) [private]

Definition at line 367 of file rect3ddiagram.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

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.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines