WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Drawing.h
1#ifndef _WINC_DRAWING
2#define _WINC_DRAWING
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Plot.h>
7
8namespace WXP {
16 class Drawing {
17 public:
18 virtual ~Drawing() {}
19 /**********************************************************************/
22 virtual int init() = 0;
23 /**********************************************************************/
28 virtual int getDomain( Domain &domain ) = 0;
29 /**********************************************************************/
32 virtual int setFile() = 0;
33 /**********************************************************************/
37 virtual int setInput( const char *type ) = 0;
38 /**********************************************************************/
42 virtual int setNameConv( const char *name ) = 0;
43 /**********************************************************************/
46 virtual int setFilename() = 0;
47 /**********************************************************************/
51 virtual int setFilename( const char *file ) = 0;
52 /**********************************************************************/
56 virtual int setFilename( Date &date ) = 0;
57 /**********************************************************************/
62 virtual int setFilename( Date &date, const char *param ) = 0;
63 /**********************************************************************/
67 virtual int setForeTime( const char *fore ) = 0;
68 /**********************************************************************/
72 virtual int setParam( const char *str ) = 0;
73 /**********************************************************************/
77 virtual int getDate( Date &date ) = 0;
78 /**********************************************************************/
82 virtual int getLoopType() = 0;
83 /**********************************************************************/
87 virtual int getInitDate( Date &date ) = 0;
88 /**********************************************************************/
92 virtual int getDateOffset() = 0;
93 /**********************************************************************/
97 virtual int getNumFrames() = 0;
98 /**********************************************************************/
102 virtual int getSync() = 0;
103 /**********************************************************************/
108 virtual int draw( Plot &plot ) = 0;
109
110 /**********************************************************************/
113 virtual int print() = 0;
114
115 static const int LOOP_NONE = 0;
116 static const int LOOP_DATE = 1;
117 static const int LOOP_FORE = 2;
118 };
119}
120#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
virtual int getLoopType()=0
static const int LOOP_NONE
Definition Drawing.h:115
virtual int print()=0
static const int LOOP_FORE
Definition Drawing.h:117
virtual int getSync()=0
static const int LOOP_DATE
Definition Drawing.h:116
virtual int getDate(Date &date)=0
virtual int setFilename()=0
virtual int getNumFrames()=0
virtual int setFilename(const char *file)=0
virtual int getInitDate(Date &date)=0
virtual int getDateOffset()=0
virtual int setNameConv(const char *name)=0
virtual int setParam(const char *str)=0
virtual int setFilename(Date &date)=0
virtual int draw(Plot &plot)=0
virtual int init()=0
virtual int setFilename(Date &date, const char *param)=0
virtual int setFile()=0
virtual int getDomain(Domain &domain)=0
virtual int setForeTime(const char *fore)=0
virtual int setInput(const char *type)=0
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
All WXP classes fall under the WXP namespace.
Definition Angle.h:4