source: GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/LogReader.h @ 2584

Revision 2584, 778 bytes checked in by mattausch, 16 years ago (diff)
RevLine 
[2578]1#ifndef __LOGREADER_H
2#define __LOGREADER_H
3
4#include <iostream>
5#include <fstream>
6#include <string>
7#include "common.h"
8#include "Containers.h"
9#include "LogReader.h"
10
11
12
13namespace GtpVisibilityPreprocessor
14{
15
16
17struct ViewCellInfo
18{
19        int mPiercingRays;
[2581]20        int mPvsSize;
[2578]21};
22
23typedef std::vector<ViewCellInfo> ViewCellInfoContainer;
[2580]24//typedef std::map<int, ViewCellInfoContainer *> ViewCellHistoryContainer;
[2578]25
26
27class LogReader
28{
[2584]29public:
[2578]30        void SetFilename(const std::string &filename);
31
32        /** Reads the info for several #samples.
33        */
[2580]34        //void Read(ViewCellHistoryContainer &history);
35        /** Reads the viewcells info from disc
[2578]36        */
[2584]37        void Read(int &numSamples, ViewCellInfoContainer &infos);
[2578]38
39
40protected:
41
42        std::string mFilename;
43};
44
45}
46
47#endif
Note: See TracBrowser for help on using the repository browser.