Public Member Functions
EllipticityThread Class Reference

Brief description of class still missing. More...

#include <EllipticityThread.h>

Inheritance diagram for EllipticityThread:
Seismic1DThread CurvesThread ResultsThread QGpCoreTools::Thread

List of all members.

Public Member Functions

virtual ResultsThreadclone () const
 EllipticityThread (QObject *parent=0)
 EllipticityThread (const EllipticityThread &o)
virtual void initResultsGraphs (GraphicSheet *sheet)
virtual void initResultsGraphs (const ResultsThread &o)
virtual bool setParameters (int &argc, char **argv)
 ~EllipticityThread ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

EllipticityThread::EllipticityThread ( QObject *  parent = 0)

Description of constructor still missing

References TRACE.

Referenced by clone().

    : Seismic1DThread(parent)
{
  TRACE;
  _nRayleigh=1;
  _signed=false;
}

Description of constructor still missing

References TRACE.

    : Seismic1DThread(o)
{
  TRACE;
  _nRayleigh=o._nRayleigh;
}

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

virtual ResultsThread* EllipticityThread::clone ( ) const [inline, virtual]

Implements ResultsThread.

References EllipticityThread().

{return new EllipticityThread(*this);}

Reimplemented from CurvesThread.

References CurvesThread::_layer, SciFigs::GraphContentLayer::graph(), SciFigs::Axis::setAutoTicks(), SciFigs::Axis::setMajorTicks(), SciFigs::Axis::setMinorTicks(), SciFigs::Axis::setScaleType(), QGpCoreTools::tr(), TRACE, w, and SciFigs::AxisWindow::yAxis().

Referenced by initResultsGraphs().

{
  TRACE;
  CurvesThread::initResultsGraphs(sheet);
  AxisWindow * w=_layer->graph();
  GraphicSheetMenu::setFrequencyTitles(w, tr("Ellitpticity (H/V)"), tr("Ellitpticity (V/H)"), Number::Fixed);
  if(!_signed) {
    w->yAxis()->setScaleType(Scale::Log);
    w->yAxis()->setAutoTicks(false);
    w->yAxis()->setMajorTicks(2.0);
    w->yAxis()->setMinorTicks(0.5);
  }
}
virtual void EllipticityThread::initResultsGraphs ( const ResultsThread o) [inline, virtual]

Reimplemented from CurvesThread.

References initResultsGraphs().

bool EllipticityThread::setParameters ( int &  argc,
char **  argv 
) [virtual]

Reimplemented from Seismic1DThread.

References TRACE.

{
  TRACE;
  int i, j=1;
  for(i=1; i<argc; i++) {
    QByteArray arg=argv[i];
    if(arg[0]=='-') {
      if(arg=="-R") {
        CoreApplication::checkOptionArg(i, argc, argv);
        _nRayleigh=atoi(argv[i]);
      } else if(arg=="-signed") {
          _signed=true;
      } else {
        argv[j++]=argv[i];
      }
    } else {
      argv[j++]=argv[i];
    }
  }
  if(j < argc) {
    argv[j]=0;
    argc=j;
  }
  return CurvesThread::setParameters(argc, argv);
}

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