All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Slots | Public Member Functions
QGpGuiWave::DispersionLimitLayer Class Reference

Brief description of class still missing. More...

#include <DispersionLimitLayer.h>

Inheritance diagram for QGpGuiWave::DispersionLimitLayer:
SciFigs::LineLayer SciFigs::GraphContentLayer QGpGuiTools::PropertyItem QGpCoreTools::XMLClass

List of all members.

Public Slots

void setArrayKmax (double k)
void setArrayKmin (double k)

Public Member Functions

void addArrayLimits ()
 DispersionLimitLayer (AxisWindow *parent)
void setConstantWaveNumber (int curveIndex, double k)
void setFrequencySampling (const SamplingParameters &fparam)
 ~DispersionLimitLayer ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

Description of constructor still missing

References SciFigs::AbstractLine::setPen(), SciFigs::LineLayer::setReferenceLine(), SciFigs::AbstractLine::setSymbol(), and TRACE.

    : LineLayer(parent)
{
  TRACE;
  PlotLine * l=new PlotLine;
  l->setPen(Pen( Qt::black, 0.3, Qt::SolidLine) );
  l->setSymbol(Symbol());
  setReferenceLine(l);
}

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

References SciFigs::LineLayer::addLine().

Referenced by ArrayGui::ArrayResponse::createObjects().

{
  addLine();
  addLine(Pen(Qt::black, 0.3, Qt::DotLine), Symbol());
  addLine(Pen(Qt::black, 0.3, Qt::DotLine), Symbol());
  addLine(Pen(Qt::black, 0.3, Qt::DashLine), Symbol());
}
void QGpGuiWave::DispersionLimitLayer::setConstantWaveNumber ( int  curveIndex,
double  k 
)

References QGpCoreTools::Curve< pointType >::count(), SciFigs::GraphContentLayer::deepUpdate(), and TRACE.

Referenced by setArrayKmax(), and setArrayKmin().

{
  TRACE;
  LayerLocker ll(this);
  Curve<Point>& c=curve(curveIndex);
  double invWavelength=k/(2*M_PI);
  for(int i=0; i<c.count(); i++) {
    c[i].setY(invWavelength/c[i].x());
  }
  deepUpdate();
}

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