Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
basic::sampling::orientations::QuatSet Class Reference

#include <QuaternionGrid.hh>

Public Member Functions

Quaternion Orientation (size_t i) const
 
numeric::Real Weight (size_t i) const
 
size_t Number () const
 
void Add (const Quaternion &q, numeric::Real w=1)
 
void Clear ()
 
void Print (std::ostream &s, bool euler=false, std::size_t prec=6) const
 

Private Attributes

std::vector< Quaternionm_v
 
std::vector< numeric::Realm_w
 

Member Function Documentation

void basic::sampling::orientations::QuatSet::Add ( const Quaternion q,
numeric::Real  w = 1 
)
inline
void basic::sampling::orientations::QuatSet::Clear ( )
inline

References m_v, and m_w.

size_t basic::sampling::orientations::QuatSet::Number ( ) const
inline
Quaternion basic::sampling::orientations::QuatSet::Orientation ( size_t  i) const
inline
void basic::sampling::orientations::QuatSet::Print ( std::ostream &  s,
bool  euler = false,
std::size_t  prec = 6 
) const
numeric::Real basic::sampling::orientations::QuatSet::Weight ( size_t  i) const
inline

Member Data Documentation

std::vector<Quaternion> basic::sampling::orientations::QuatSet::m_v
private

Referenced by Add(), Clear(), Number(), and Orientation().

std::vector<numeric::Real> basic::sampling::orientations::QuatSet::m_w
private

Referenced by Add(), Clear(), and Weight().


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