Rosetta Utilities  2014.35
Public Member Functions | Private Attributes | List of all members
basic::sampling::SphereNode Class Reference

#include <SphereSampler.hh>

Public Member Functions

 SphereNode (int level, numeric::xyzVector< Real > axis)
 
void reserve_child ()
 
void add_child (SphereNode const *c)
 
void add_neighbor (SphereNode const *n)
 
void add_parent (SphereNode const *p)
 
numeric::Size num_children () const
 
numeric::Size num_neighbor () const
 
numeric::Size num_parents () const
 
SphereNode const & child (numeric::Size i) const
 
SphereNode const & neighbor (numeric::Size i) const
 
SphereNode const & parent (numeric::Size i) const
 
int level () const
 
numeric::xyzVector< Real > const & axis () const
 

Private Attributes

int const level_
 
numeric::xyzVector< Real > const axis_
 
utility::vector1< SphereNode
const * > 
parents_
 
utility::vector1< SphereNode
const * > 
children_
 
utility::vector1< SphereNode
const * > 
neighbors_
 

Constructor & Destructor Documentation

basic::sampling::SphereNode::SphereNode ( int  level,
numeric::xyzVector< Real axis 
)
inline

References neighbors_.

Member Function Documentation

void basic::sampling::SphereNode::add_child ( SphereNode const *  c)
inline

References children_.

void basic::sampling::SphereNode::add_neighbor ( SphereNode const *  n)
inline

References neighbors_.

void basic::sampling::SphereNode::add_parent ( SphereNode const *  p)
inline

References parents_.

numeric::xyzVector<Real> const& basic::sampling::SphereNode::axis ( ) const
inline
SphereNode const& basic::sampling::SphereNode::child ( numeric::Size  i) const
inline
int basic::sampling::SphereNode::level ( ) const
inline
SphereNode const& basic::sampling::SphereNode::neighbor ( numeric::Size  i) const
inline
numeric::Size basic::sampling::SphereNode::num_children ( ) const
inline
numeric::Size basic::sampling::SphereNode::num_neighbor ( ) const
inline
numeric::Size basic::sampling::SphereNode::num_parents ( ) const
inline
SphereNode const& basic::sampling::SphereNode::parent ( numeric::Size  i) const
inline
void basic::sampling::SphereNode::reserve_child ( )
inline

References children_.

Member Data Documentation

numeric::xyzVector<Real> const basic::sampling::SphereNode::axis_
private

Referenced by axis().

utility::vector1<SphereNode const *> basic::sampling::SphereNode::children_
private
int const basic::sampling::SphereNode::level_
private

Referenced by level().

utility::vector1<SphereNode const *> basic::sampling::SphereNode::neighbors_
private
utility::vector1<SphereNode const *> basic::sampling::SphereNode::parents_
private

Referenced by add_parent(), num_parents(), and parent().


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