#ifndef __LOGREADER_H #define __LOGREADER_H #include #include #include #include "common.h" #include "Containers.h" #include "LogReader.h" namespace GtpVisibilityPreprocessor { struct ViewCellInfo { int mPiercingRays; }; typedef std::vector ViewCellInfoContainer; //typedef std::map ViewCellHistoryContainer; class LogReader { void SetFilename(const std::string &filename); /** Reads the info for several #samples. */ //void Read(ViewCellHistoryContainer &history); /** Reads the viewcells info from disc */ void Read(const int numSamples, ViewCellInfoContainer &infos); protected: std::string mFilename; }; } #endif