Public Types | Public Member Functions | Public Attributes | List of all members
snCurve Class Reference

snCurve is the base class for all curves that can be used with snPlots More...

#include <snCurve.h>

Inheritance diagram for snCurve:
snCurve3D snCurveComplex snCurveReal

Public Types

enum  CurveType { CURVEI, CURVEQ, CURVESM, CURVESA }
 

Public Member Functions

 snCurve (int pn, QColor pcolor)
 
 ~snCurve ()
 
void setData ()
 
void setData (CurveType ct)
 
void setCurveStyle (CurveType ct, QwtPlotCurve::CurveStyle style)
 
void setCurveSymbol (CurveType ct, QwtSymbol sym)
 
void setPointsToPlot (CurveType ct, int p)
 

Public Attributes

int nx
 
QColor color
 
std::vector< double > X
 holds x axis component More...
 
double * xI
 
double * yI
 
double * xQ
 
double * yQ
 
double * xSM
 
double * ySM
 
double * xSA
 
double * ySA
 
QwtPlotCurve * CurveI
 
QwtPlotCurve * CurveQ
 
QwtPlotCurve * CurveSM
 
QwtPlotCurve * CurveSA
 

Detailed Description

snCurve is the base class for all curves that can be used with snPlots

Member Enumeration Documentation

Enumerator
CURVEI 
CURVEQ 
CURVESM 
CURVESA 

Constructor & Destructor Documentation

snCurve::snCurve ( int  pn,
QColor  pcolor 
)
snCurve::~snCurve ( )

Member Function Documentation

void snCurve::setCurveStyle ( CurveType  ct,
QwtPlotCurve::CurveStyle  style 
)
void snCurve::setCurveSymbol ( CurveType  ct,
QwtSymbol  sym 
)
void snCurve::setData ( )
void snCurve::setData ( CurveType  ct)
void snCurve::setPointsToPlot ( CurveType  ct,
int  p 
)

Member Data Documentation

QColor snCurve::color
QwtPlotCurve* snCurve::CurveI
QwtPlotCurve * snCurve::CurveQ
QwtPlotCurve * snCurve::CurveSA
QwtPlotCurve * snCurve::CurveSM
int snCurve::nx
std::vector<double> snCurve::X

holds x axis component

double* snCurve::xI
double* snCurve::xQ
double* snCurve::xSA
double* snCurve::xSM
double * snCurve::yI
double * snCurve::yQ
double * snCurve::ySA
double * snCurve::ySM

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