OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
LinearPositionContainer Class Reference

#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)
 

Detailed Description

Definition at line 81 of file binary_container.hh.

Constructor & Destructor Documentation

Definition at line 85 of file binary_container.hh.

Member Function Documentation

void AddPositions ( const geom::Vec3List positions)
void ClearRange ( std::pair< uint64_t, uint64_t range)
uint64_t GetNumElements ( ) const
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 LinearPositionContainerPtr Load ( const std::string &  filename)
static
bool operator!= ( const LinearPositionContainer other) const
inline

Definition at line 107 of file binary_container.hh.

bool operator== ( const LinearPositionContainer other) const
inline

Definition at line 102 of file binary_container.hh.

void Save ( const std::string &  filename) const

The documentation for this class was generated from the following file: