Rosetta
Public Member Functions | Private Attributes | List of all members
core::scoring::power_diagram::PowerDiagram Class Reference

#include <PowerDiagram.hh>

Public Member Functions

 PowerDiagram ()
 default constructor More...
 
 PowerDiagram (core::pose::Pose &pose)
 power diagram from pose More...
 
 PowerDiagram (PowerDiagram const &)
 copy constructor More...
 
 ~PowerDiagram ()
 default destructor More...
 
PowerDiagramoperator= (PowerDiagram const &pd)
 copy assignment More...
 
PDsphereOP make_new_sphere (core::pose::Pose &p, Size ires, Size iatm)
 
PDsphereOP make_new_sphere (Vector &pos, Real rad)
 
void construct_from_pose (core::pose::Pose &p)
 
void make_initial_power_diagram ()
 
void add_single_atom_to_power_diagram (PDsphereOP &new_atm)
 
void store_new_sphere (PDsphereOP new_sph)
 
std::list< PDinterOPget_intersections_for_atom (Size ires, Size iatm)
 
std::list< PDinterOPget_intersections_for_atom (PDsphere *patom)
 
PDspheresphere_lookup (Size ires, Size iatm)
 
core::Real extract_sasa_for_atom (Size ires, Size iatm)
 
void clear ()
 Clear all data from power diagram. More...
 
Size const & vertex_count ()
 

Private Attributes

Size vertex_count_
 
utility::vector1< PDsphereOPspheres_
 
std::list< PDvertexOPfinite_vertices_
 
std::list< PDvertexOPinfinite_vertices_
 
utility::vector1< utility::vector1< PDsphere * > > sphere_lookup_
 

Constructor & Destructor Documentation

◆ PowerDiagram() [1/3]

core::scoring::power_diagram::PowerDiagram::PowerDiagram ( )
inline

default constructor

Warning
no initialization of corners for speed, make sure you reset()
or otherwise set corners before adding points

◆ PowerDiagram() [2/3]

core::scoring::power_diagram::PowerDiagram::PowerDiagram ( core::pose::Pose pose)

power diagram from pose

◆ PowerDiagram() [3/3]

core::scoring::power_diagram::PowerDiagram::PowerDiagram ( PowerDiagram const &  )
inline

copy constructor

References finite_vertices_, infinite_vertices_, sphere_lookup_, and spheres_.

◆ ~PowerDiagram()

core::scoring::power_diagram::PowerDiagram::~PowerDiagram ( )
inline

default destructor

Member Function Documentation

◆ add_single_atom_to_power_diagram()

void core::scoring::power_diagram::PowerDiagram::add_single_atom_to_power_diagram ( PDsphereOP new_atm)

◆ clear()

void core::scoring::power_diagram::PowerDiagram::clear ( )

Clear all data from power diagram.

◆ construct_from_pose()

void core::scoring::power_diagram::PowerDiagram::construct_from_pose ( core::pose::Pose p)

◆ extract_sasa_for_atom()

Real core::scoring::power_diagram::PowerDiagram::extract_sasa_for_atom ( Size  ires,
Size  iatm 
)

◆ get_intersections_for_atom() [1/2]

std::list< PDinterOP > core::scoring::power_diagram::PowerDiagram::get_intersections_for_atom ( PDsphere patom)

◆ get_intersections_for_atom() [2/2]

std::list< PDinterOP > core::scoring::power_diagram::PowerDiagram::get_intersections_for_atom ( Size  ires,
Size  iatm 
)

◆ make_initial_power_diagram()

void core::scoring::power_diagram::PowerDiagram::make_initial_power_diagram ( )

◆ make_new_sphere() [1/2]

PDsphereOP core::scoring::power_diagram::PowerDiagram::make_new_sphere ( core::pose::Pose p,
Size  ires,
Size  iatm 
)

◆ make_new_sphere() [2/2]

PDsphereOP core::scoring::power_diagram::PowerDiagram::make_new_sphere ( Vector pos,
Real  rad 
)

◆ operator=()

PowerDiagram& core::scoring::power_diagram::PowerDiagram::operator= ( PowerDiagram const &  pd)
inline

copy assignment

References finite_vertices_, infinite_vertices_, sphere_lookup_, and spheres_.

◆ sphere_lookup()

PDsphere* core::scoring::power_diagram::PowerDiagram::sphere_lookup ( Size  ires,
Size  iatm 
)
inline

References sphere_lookup_.

◆ store_new_sphere()

void core::scoring::power_diagram::PowerDiagram::store_new_sphere ( PDsphereOP  new_sph)
inline

References sphere_lookup_, and spheres_.

◆ vertex_count()

Size const& core::scoring::power_diagram::PowerDiagram::vertex_count ( )
inline

References vertex_count_.

Member Data Documentation

◆ finite_vertices_

std::list< PDvertexOP > core::scoring::power_diagram::PowerDiagram::finite_vertices_
private

Referenced by operator=(), and PowerDiagram().

◆ infinite_vertices_

std::list< PDvertexOP > core::scoring::power_diagram::PowerDiagram::infinite_vertices_
private

Referenced by operator=(), and PowerDiagram().

◆ sphere_lookup_

utility::vector1< utility::vector1< PDsphere* > > core::scoring::power_diagram::PowerDiagram::sphere_lookup_
private

◆ spheres_

utility::vector1< PDsphereOP > core::scoring::power_diagram::PowerDiagram::spheres_
private

◆ vertex_count_

Size core::scoring::power_diagram::PowerDiagram::vertex_count_
private

Referenced by vertex_count().


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