OpenStructure
|
#include <binary_container.hh>
Public Member Functions | |
LinearPositionContainer () | |
void | Save (const std::string &filename) const |
void | AddPositions (const geom::Vec3List &positions) |
void | ClearRange (std::pair< uint64_t, uint64_t > range) |
void | GetPosition (uint64_t idx, geom::Vec3 &pos) const |
void | GetPositions (std::pair< uint64_t, uint64_t > range, geom::Vec3List &positions) const |
uint64_t | GetNumElements () const |
bool | operator== (const LinearPositionContainer &other) const |
bool | operator!= (const LinearPositionContainer &other) const |
Static Public Member Functions | |
static LinearPositionContainerPtr | Load (const std::string &filename) |
Definition at line 81 of file binary_container.hh.
|
inline |
Definition at line 85 of file binary_container.hh.
void AddPositions | ( | const geom::Vec3List & | positions | ) |
|
inline |
Definition at line 100 of file binary_container.hh.
void GetPosition | ( | uint64_t | idx, |
geom::Vec3 & | pos | ||
) | const |
void GetPositions | ( | std::pair< uint64_t, uint64_t > | range, |
geom::Vec3List & | positions | ||
) | const |
|
static |
|
inline |
Definition at line 107 of file binary_container.hh.
|
inline |
Definition at line 102 of file binary_container.hh.
void Save | ( | const std::string & | filename | ) | const |