WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
XSectionPlot.h
1#ifndef _WINC_XSECTIONPLOT
2#define _WINC_XSECTIONPLOT
3
4#include <WXP/Drawing.h>
5#include <WXP/Plot.h>
6#include <WXP/Rect.h>
7#include <WXP/Strings.h>
8
9namespace WXP {
10 class XSectionPlot : public Drawing {
11 Rect view;
12 float xmin, xmax, xinc;
13 float pmin, pmax, pinc;
14 Strings labels;
15 float dist[50];
16
17 public:
19 XSectionPlot( const char *str );
20 int init();
21 int getDomain( Domain &domain );
22 int setParam( const char *str );
23 int setFile();
24 int setInput( const char *str );
25 int setNameConv( const char *name );
26 int setFilename();
27 int setFilename( const char *name );
28 int setFilename( Date &date );
29 int setFilename( Date &date, const char *param );
31 inline int setForeTime( const char *fore ){ return 1; };
32 int getDate( Date &date );
33 int getInitDate( Date &date );
34 int getDateOffset();
35 int getLoopType();
36 int getNumFrames();
38 inline int getSync(){ return 0; };
39
40 int setVertAxis( float rmin, float rmax, float rinc );
41 int setHorAxis( float rmin, float rmax );
42 int setLabels( Strings &labs );
43 int setHorDist( int i, float val );
44 float pcoord( float p );
45 float getX( float x );
46 float getX( int ind );
47 float getY( float y );
48
49 int draw( Plot &plot );
50 int print();
51 };
52}
53#endif
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
This is a virtual class defining drawing routines.
Definition Drawing.h:16
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
This class creates a list of strings.
Definition Strings.h:5
This class plots cross section grid.
Definition XSectionPlot.h:10
int getNumFrames()
Definition XSectionPlot.cc:122
int print()
Definition XSectionPlot.cc:271
int draw(Plot &plot)
Definition XSectionPlot.cc:202
int getInitDate(Date &date)
Definition XSectionPlot.cc:130
int getDate(Date &date)
Definition XSectionPlot.cc:115
int setFilename()
Definition XSectionPlot.cc:82
int getDateOffset()
Definition XSectionPlot.cc:138
int getSync()
Definition XSectionPlot.h:38
int setParam(const char *str)
Definition XSectionPlot.cc:37
int setForeTime(const char *fore)
Definition XSectionPlot.h:31
int getLoopType()
Definition XSectionPlot.cc:145
int setFile()
Definition XSectionPlot.cc:63
int getDomain(Domain &domain)
Definition XSectionPlot.cc:46
int init()
Definition XSectionPlot.cc:29
int setNameConv(const char *name)
Definition XSectionPlot.cc:75
int setInput(const char *str)
Definition XSectionPlot.cc:67
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This structure defines rectangle coordinates.
Definition Rect.h:5