2024-04-23 13:41:16 +08:00
|
|
|
|
#pragma once
|
2024-03-26 10:33:00 +08:00
|
|
|
|
#include "MetaData.h"
|
|
|
|
|
|
|
|
|
|
class H3DFileProcessor;
|
|
|
|
|
class H3DMetaData : public MetaData
|
|
|
|
|
{
|
|
|
|
|
friend class H3DFileProcessor;
|
|
|
|
|
public:
|
|
|
|
|
H3DMetaData();
|
|
|
|
|
~H3DMetaData();
|
|
|
|
|
|
|
|
|
|
bool LoadLayerByIndex(unsigned int lindex);
|
2024-05-15 13:38:34 +08:00
|
|
|
|
bool GetLayerByIndex(unsigned int lindex, ::stream::ResponseAny** response);
|
2024-03-26 10:33:00 +08:00
|
|
|
|
bool LoadLayer(Layer* layer);
|
|
|
|
|
bool LoadPrevLayer(Layer* layer);
|
|
|
|
|
bool LoadRemoteLayerByIndex(unsigned int index);
|
|
|
|
|
bool LoadPrevLayerByIndex(unsigned int lindex);
|
|
|
|
|
bool LoadFirstLayer();
|
|
|
|
|
// float CalcEvaTime(float start_at = 0.0);
|
|
|
|
|
void AddHJobFile2Map(string name, ifstream* ifs, ifstream* pfs);
|
|
|
|
|
// void ReCalcEvaTime();
|
|
|
|
|
private:
|
|
|
|
|
bool ReadBDataBlock(JobDimensions* summary, Dimensions* partLayerDimensions, BPBinary::BinDataBlock* datablock, ifstream* ifs);
|
|
|
|
|
//void ReadBChains(BPBinary::ChainPoint* chainpoint, ifstream* ifs);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
map<int,BinaryFile*> binary_files;
|
|
|
|
|
};
|
|
|
|
|
|