Public Member Functions
DispersionThread Class Reference

Brief description of class still missing. More...

#include <DispersionThread.h>

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

List of all members.

Public Member Functions

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

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

DispersionThread::DispersionThread ( QObject *  parent = 0)

Description of constructor still missing

References TRACE.

Referenced by clone().

    : Seismic1DThread(parent)
{
  TRACE;
  _nRayleigh=1;
  _nLove=0;
  _slowness=Mode::Phase;
}

Description of constructor still missing

References TRACE.

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

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

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

Implements ResultsThread.

References DispersionThread().

{return new DispersionThread(*this);}

Reimplemented from CurvesThread.

References CurvesThread::_layer, SciFigs::GraphContentLayer::graph(), QGpCoreTools::tr(), and TRACE.

Referenced by initResultsGraphs().

{
  TRACE;
  CurvesThread::initResultsGraphs(sheet);
  GraphicSheetMenu::setFrequencyTitles(_layer->graph(), tr("Slowness (s/m)"), tr("Velocity (m/s)"), Number::Fixed);
}
virtual void DispersionThread::initResultsGraphs ( const ResultsThread o) [inline, virtual]

Reimplemented from CurvesThread.

References initResultsGraphs().

bool DispersionThread::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=="-L") {
        CoreApplication::checkOptionArg(i, argc, argv);
        _nLove=atoi(argv[i]);
      } else if(arg=="-group") {
        _slowness=Mode::Group;
      } 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