WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WXP::XSectionPlot Class Reference

This class plots cross section grid. More...

#include "../include/XSectionPlot.h"

Inheritance diagram for WXP::XSectionPlot:
WXP::Drawing

Public Member Functions

 XSectionPlot (const char *str)
 
int init ()
 
int getDomain (Domain &domain)
 
int setParam (const char *str)
 
int setFile ()
 
int setInput (const char *str)
 
int setNameConv (const char *name)
 
int setFilename ()
 
int setFilename (const char *name)
 
int setFilename (Date &date)
 
int setFilename (Date &date, const char *param)
 
int setForeTime (const char *fore)
 
int getDate (Date &date)
 
int getInitDate (Date &date)
 
int getDateOffset ()
 
int getLoopType ()
 
int getNumFrames ()
 
int getSync ()
 
int setVertAxis (float rmin, float rmax, float rinc)
 
int setHorAxis (float rmin, float rmax)
 
int setLabels (Strings &labs)
 
int setHorDist (int i, float val)
 
float pcoord (float p)
 
float getX (float x)
 
float getX (int ind)
 
float getY (float y)
 
int draw (Plot &plot)
 
int print ()
 
virtual int init ()=0
 
virtual int getDomain (Domain &domain)=0
 
virtual int setFile ()=0
 
virtual int setInput (const char *type)=0
 
virtual int setNameConv (const char *name)=0
 
virtual int setFilename ()=0
 
virtual int setFilename (const char *file)=0
 
virtual int setFilename (Date &date)=0
 
virtual int setFilename (Date &date, const char *param)=0
 
virtual int setForeTime (const char *fore)=0
 
virtual int setParam (const char *str)=0
 
virtual int getDate (Date &date)=0
 
virtual int getLoopType ()=0
 
virtual int getInitDate (Date &date)=0
 
virtual int getDateOffset ()=0
 
virtual int getNumFrames ()=0
 
virtual int getSync ()=0
 
virtual int draw (Plot &plot)=0
 
virtual int print ()=0
 

Additional Inherited Members

- Static Public Attributes inherited from WXP::Drawing
static const int LOOP_NONE = 0
 
static const int LOOP_DATE = 1
 
static const int LOOP_FORE = 2
 

Detailed Description

This class plots cross section grid.

Author
Dan Vietor

Member Function Documentation

◆ draw()

int XSectionPlot::draw ( Plot plot)
virtual

◆ getDate()

int XSectionPlot::getDate ( Date date)
virtual

Gets the file date (unused)

  • Return values
    dateThe file date

Implements WXP::Drawing.

◆ getDateOffset()

int XSectionPlot::getDateOffset ( )
virtual

Returns the date offset (unused)

Implements WXP::Drawing.

◆ getDomain()

int XSectionPlot::getDomain ( Domain domain)
virtual

A method for getting a default domain from the data. This is handy for data types that are for a specific domain like NIDS data.

Return values
domainDefault domain

Implements WXP::Drawing.

References WXP::DomainVal::clat, WXP::DomainVal::clon, WXP::DomainVal::dx, WXP::DomainVal::dy, WXP::DomainVal::nx, WXP::DomainVal::ny, WXP::Domain::print(), WXP::DomainVal::proj, WXP::Domain::set(), and WXP::Domain::XLOGP.

◆ getInitDate()

int XSectionPlot::getInitDate ( Date date)
virtual

Gets the initial date (unused)

  • Return values
    dateThe date

Implements WXP::Drawing.

References WXP::Date::init().

◆ getLoopType()

int XSectionPlot::getLoopType ( )
virtual

Returns the loop type (none)

Implements WXP::Drawing.

References WXP::Drawing::LOOP_NONE.

◆ getNumFrames()

int XSectionPlot::getNumFrames ( )
virtual

Gets the number of frames (unused)

Implements WXP::Drawing.

◆ getSync()

int WXP::XSectionPlot::getSync ( )
inlinevirtual

Returns whether object is time sync (unused)

Implements WXP::Drawing.

◆ init()

int XSectionPlot::init ( )
virtual

Initializes object

Implements WXP::Drawing.

References WXP::Const::MISS.

◆ print()

int XSectionPlot::print ( )
virtual

Method for printing class info

Implements WXP::Drawing.

◆ setFile()

int XSectionPlot::setFile ( )
virtual

Sets the file name (unused)

Implements WXP::Drawing.

◆ setFilename() [1/4]

int XSectionPlot::setFilename ( )
virtual

Sets the file name (unused)

Implements WXP::Drawing.

◆ setFilename() [2/4]

int XSectionPlot::setFilename ( const char *  name)
virtual

Sets the file name (unused)

  • Parameters
    nameThe file name

Implements WXP::Drawing.

◆ setFilename() [3/4]

int XSectionPlot::setFilename ( Date date)
virtual

Sets the file name (unused)

  • Parameters
    dateThe file date

Implements WXP::Drawing.

◆ setFilename() [4/4]

int XSectionPlot::setFilename ( Date date,
const char *  param 
)
virtual

Sets the file name (unused)

  • Parameters
    dateThe date
    paramThe parameters

Implements WXP::Drawing.

◆ setForeTime()

int WXP::XSectionPlot::setForeTime ( const char *  fore)
inlinevirtual

Sets forecast time (ignored)

Implements WXP::Drawing.

◆ setInput()

int XSectionPlot::setInput ( const char *  type)
virtual

A method for setting input file type

Parameters
nameName convention to use

Implements WXP::Drawing.

◆ setNameConv()

int XSectionPlot::setNameConv ( const char *  name)
virtual

Sets the file name (unused)

  • Parameters
    nameName convention

Implements WXP::Drawing.

◆ setParam()

int XSectionPlot::setParam ( const char *  str)
virtual

Sets specific parameters for the plot given a string

Parameters
strString specifying parameters

Implements WXP::Drawing.

References WXP::Strings::getNum().


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