![]() |
Rosetta Core
2014.35
|
A lightweight version of the RotamerDots class. Used to cache overlap between interaction graph Nodes and BGNodes. More...
#include <RotamerDots.hh>
Public Member Functions | |
RotamerDotsCache () | |
RotamerDotsCache (core::Size num_atoms) | |
RotamerDotsCache (RotamerDotsCache const &rhs) | |
copy constructor More... | |
RotamerDotsCache const & | operator= (RotamerDotsCache const &rhs) |
assignment operator More... | |
~RotamerDotsCache () | |
void | resize (core::Size num_atoms) |
void | zero () |
sets the dot counts to zero for all atoms More... | |
void | increment_count (utility::vector1< utility::vector1< ObjexxFCL::ubyte > > &covered) |
increments the dot coverage counts for all atoms in the cache More... | |
void | write_to_compact_array (utility::vector1< utility::vector1< ObjexxFCL::ubyte > > &compact) const |
void | print_bit_string (utility::vector1< ObjexxFCL::ubyte > &values) const |
void | print (std::ostream &os) const |
utility::vector1< DotSphere > const & | get_atom_counts () const |
Private Attributes | |
utility::vector1< DotSphere > | atom_counts_ |
Friends | |
class | RotamerDots |
A lightweight version of the RotamerDots class. Used to cache overlap between interaction graph Nodes and BGNodes.
core::pack::interaction_graph::RotamerDotsCache::RotamerDotsCache | ( | ) |
core::pack::interaction_graph::RotamerDotsCache::RotamerDotsCache | ( | core::Size | num_atoms | ) |
core::pack::interaction_graph::RotamerDotsCache::RotamerDotsCache | ( | RotamerDotsCache const & | rhs | ) |
copy constructor
core::pack::interaction_graph::RotamerDotsCache::~RotamerDotsCache | ( | ) |
|
inline |
References atom_counts_.
void core::pack::interaction_graph::RotamerDotsCache::increment_count | ( | utility::vector1< utility::vector1< ObjexxFCL::ubyte > > & | covered | ) |
increments the dot coverage counts for all atoms in the cache
RotamerDotsCache::increment_count
covered | - [in] - compact ubyte array of dots; '1' for any covered dot for the vdw + 1.4 A sphere |
References atom_counts_.
Referenced by core::pack::interaction_graph::RotamerDots::get_overlap_cache().
RotamerDotsCache const & core::pack::interaction_graph::RotamerDotsCache::operator= | ( | RotamerDotsCache const & | rhs | ) |
void core::pack::interaction_graph::RotamerDotsCache::print | ( | std::ostream & | os | ) | const |
References atom_counts_, and core::chemical::element::I.
void core::pack::interaction_graph::RotamerDotsCache::print_bit_string | ( | utility::vector1< ObjexxFCL::ubyte > & | values | ) | const |
void core::pack::interaction_graph::RotamerDotsCache::resize | ( | core::Size | num_atoms | ) |
References atom_counts_.
void core::pack::interaction_graph::RotamerDotsCache::write_to_compact_array | ( | utility::vector1< utility::vector1< ObjexxFCL::ubyte > > & | compact | ) | const |
RotamerDotsCache::write_to_compact_array
Note: This method only writes the standard SASA dot counts to the passed in array. No version of this function exists for expanded polar atom SASA dot counts.
References atom_counts_.
void core::pack::interaction_graph::RotamerDotsCache::zero | ( | ) |
sets the dot counts to zero for all atoms
References atom_counts_.
Referenced by core::pack::interaction_graph::RotamerDots::get_overlap_cache(), and core::pack::interaction_graph::RotamerDots::increment_both().
|
friend |
|
private |