#include <metadata.h>
Public Member Functions | |
void | deserialize (const ByteVec &data) |
MetaData () | |
MetaData (unsigned _version, unsigned _subtree_width, unsigned _subfolder_depth, double _min_cell_size, double _root_size, const std::vector< double > &_root_center) | |
void | serialize (ByteVec &data) |
Public Attributes | |
double | min_cell_size |
std::vector< double > | root_center |
double | root_size |
unsigned | subfolder_depth |
unsigned | subtree_width |
unsigned | version |
Definition at line 9 of file metadata.h.
megatree::MetaData::MetaData | ( | ) | [inline] |
Definition at line 12 of file metadata.h.
megatree::MetaData::MetaData | ( | unsigned | _version, |
unsigned | _subtree_width, | ||
unsigned | _subfolder_depth, | ||
double | _min_cell_size, | ||
double | _root_size, | ||
const std::vector< double > & | _root_center | ||
) | [inline] |
Definition at line 13 of file metadata.h.
void megatree::MetaData::deserialize | ( | const ByteVec & | data | ) |
Definition at line 13 of file metadata.cpp.
void megatree::MetaData::serialize | ( | ByteVec & | data | ) |
Definition at line 63 of file metadata.cpp.
Definition at line 24 of file metadata.h.
std::vector<double> megatree::MetaData::root_center |
Definition at line 25 of file metadata.h.
Definition at line 24 of file metadata.h.
unsigned megatree::MetaData::subfolder_depth |
Definition at line 23 of file metadata.h.
unsigned megatree::MetaData::subtree_width |
Definition at line 23 of file metadata.h.
unsigned megatree::MetaData::version |
Definition at line 23 of file metadata.h.