35 #ifndef LAS_VEGAS_NODEDATA_H
36 #define LAS_VEGAS_NODEDATA_H
37 #include <boost/timer/timer.hpp>
51 template <
typename BaseVecT>
54 static boost::timer::cpu_timer
itimer;
55 static boost::timer::cpu_timer
otimer;
86 void open(
string path);
98 const string getFolder()
const {
return to_string(c_tstamp).insert(0,
"node-"); }
121 void remove(
unsigned int i);
127 void add(BaseVecT input);
129 void addNormal(BaseVecT input);
135 void addBuffered(BaseVecT input);
137 void addBufferedNormal(BaseVecT input);
148 size_t getMaxWriteBufferSize();
155 BaseVecT getNormal(
int);
172 size_t getBufferSize();
176 std::cout <<
"IO-Timer of Octree:" << std::endl
177 <<
"READ: " << itimer.format() << std::endl
178 <<
"WRITE: " << otimer.format() << std::endl;
185 void fillBuffer(
size_t start_id);
186 void fillBufferNormal(
size_t start_id);
221 template <
typename BaseVecT>
254 #include "NodeData.tcc"
256 #endif // LAS_VEGAS_NODEDATA_H