Last change
on this file since 89 was 89, checked in by morasjul, 11 years ago |
PACPUS 2.0 Beta deployed in new branch
Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support
|
-
Property svn:executable
set to
*
|
File size:
874 bytes
|
Rev | Line | |
---|
[89] | 1 | #ifndef qwt3d_reader_h__2004_03_07_14_03_begin_guarded_code
|
---|
| 2 | #define qwt3d_reader_h__2004_03_07_14_03_begin_guarded_code
|
---|
| 3 |
|
---|
| 4 | #include "qwt3d_io.h"
|
---|
| 5 |
|
---|
| 6 | namespace Qwt3D
|
---|
| 7 | {
|
---|
| 8 |
|
---|
| 9 | /*!
|
---|
| 10 | Functor for reading of native files containing grid data.
|
---|
| 11 | As a standart input functor associated with "mes" and "MES"
|
---|
| 12 | file extensions.
|
---|
| 13 | */
|
---|
| 14 | class QWT3D_EXPORT NativeReader : public IO::Functor
|
---|
| 15 | {
|
---|
| 16 | friend class IO;
|
---|
| 17 |
|
---|
| 18 | public:
|
---|
| 19 | NativeReader();
|
---|
| 20 |
|
---|
| 21 | private:
|
---|
| 22 | //! Provides new NativeReader object.
|
---|
| 23 | IO::Functor* clone() const{return new NativeReader(*this);}
|
---|
| 24 | //! Performs actual input
|
---|
| 25 | bool operator()(Plot3D* plot, QString const& fname);
|
---|
| 26 | static const char* magicstring;
|
---|
| 27 | double minz_, maxz_;
|
---|
| 28 | bool collectInfo(FILE*& file, QString const& fname, unsigned& xmesh, unsigned& ymesh,
|
---|
| 29 | double& minx, double& maxx, double& miny, double& maxy);
|
---|
| 30 | };
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 | } // ns
|
---|
| 34 |
|
---|
| 35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.