source: pacpusframework/branches/2.0-beta1/include/extlib/qwtplot3d/qwt3d_io_reader.h@ 89

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
Line 
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
6namespace Qwt3D
7{
8
9/*!
10Functor for reading of native files containing grid data.
11As a standart input functor associated with "mes" and "MES"
12file extensions.
13*/
14class QWT3D_EXPORT NativeReader : public IO::Functor
15{
16friend class IO;
17
18public:
19 NativeReader();
20
21private:
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.