#include <BALL/STRUCTURE/numericalSAS.h>
Classes | |
struct | Default |
struct | Option |
Public Member Functions | |
Constructors and Destructors. | |
NumericalSAS () | |
NumericalSAS (const Options &options) | |
~NumericalSAS () | |
Accessors. | |
void | operator() (const AtomContainer &fragment) |
float | getTotalArea () |
HashMap< const Atom *, float > & | getAtomAreas () |
const HashMap< const Atom *, float > & | getAtomAreas () const |
float | getTotalVolume () |
HashMap< const Atom *, float > & | getAtomVolumes () |
const HashMap< const Atom *, float > & | getAtomVolumes () const |
Surface & | getSurface () |
const Surface & | getSurface () const |
HashMap< const Atom *, Surface > & | getSurfacePerAtom () |
const HashMap< const Atom *, Surface > & | getSurfacePerAtom () const |
std::vector< std::pair < Vector3, Surface > > & | getSurfaceMap () |
const std::vector< std::pair < Vector3, Surface > > & | getSurfaceMap () const |
Public Attributes | |
Options | options |
Protected Member Functions | |
void | setDefaultOptions_ () |
Size | computeSphereTesselation_ (TriangulatedSphere &result, int num_points) |
Protected Attributes | |
AtomContainer const * | fragment_ |
the AtomContainer we are bound to | |
HashMap< Atom const *, float > | atom_areas_ |
mapping of atom to SAS area | |
float | total_area_ |
total solvent accessible area of the fragment | |
HashMap< Atom const *, float > | atom_volumes_ |
mapping of atom to SAS volume | |
float | total_volume_ |
total solvent accessible volume of the fragment | |
Surface | surface_ |
the SAS as a surface | |
HashMap< Atom const *, Surface > | atom_surfaces_ |
mapping of atom to surface | |
std::vector< std::pair < Vector3, Surface > > | atom_surface_map_ |
vector of (atom center, surface) |
BALL::NumericalSAS::NumericalSAS | ( | ) |
Default Constructor.
BALL::NumericalSAS::NumericalSAS | ( | const Options & | options | ) |
Detailed Constructor.
BALL::NumericalSAS::~NumericalSAS | ( | ) |
Destructor.
Size BALL::NumericalSAS::computeSphereTesselation_ | ( | TriangulatedSphere & | result, | |
int | num_points | |||
) | [protected] |
Precompute the sphere tesselation for the requested number of points.
Returns the area per atom of the fragment, const version.
This function only returns sensible values after a call to operator() and only if area computation has not been disabled through the options.
Returns the area per atom of the fragment.
This function only returns sensible values after a call to operator() and only if area computation has not been disabled through the options.
Returns the volume per atom of the fragment, const version.
This function only returns sensible values after a call to operator() and only if volume computation has not been disabled through the options.
Returns the volume per atom of the fragment.
This function only returns sensible values after a call to operator() and only if volume computation has not been disabled through the options.
const Surface& BALL::NumericalSAS::getSurface | ( | ) | const [inline] |
Returns the solvent accessible surface as a collection of points and normals, const version.
This function only returns sensible values after a call to operator() and only if surface computation has not been disabled through the options.
Surface& BALL::NumericalSAS::getSurface | ( | ) | [inline] |
Returns the solvent accessible surface as a collection of points and normals.
This function only returns sensible values after a call to operator() and only if surface computation has not been disabled through the options.
const std::vector< std::pair<Vector3, Surface> >& BALL::NumericalSAS::getSurfaceMap | ( | ) | const [inline] |
Returns the solvent accessible surface as a collection of points and normals per atom center, const version.
This function only returns sensible values after a call to operator() and only if surface computation per atom center has not been disabled through the options.
Returns the solvent accessible surface as a collection of points and normals per atom center.
This function only returns sensible values after a call to operator() and only if surface computation per atom center has not been disabled through the options.
Returns the solvent accessible surface as a collection of points and normals per atom, const version.
This function only returns sensible values after a call to operator() and only if surface computation per atom has not been disabled through the options.
Returns the solvent accessible surface as a collection of points and normals per atom.
This function only returns sensible values after a call to operator() and only if surface computation per atom has not been disabled through the options.
float BALL::NumericalSAS::getTotalArea | ( | ) | [inline] |
Returns the total area of the fragment.
This function only returns sensible values after a call to operator() and only if area computation has not been disabled through the options.
float BALL::NumericalSAS::getTotalVolume | ( | ) | [inline] |
Returns the total volume of the fragment.
This function only returns sensible values after a call to operator() and only if volume computation has not been disabled through the options.
void BALL::NumericalSAS::operator() | ( | const AtomContainer & | fragment | ) |
void BALL::NumericalSAS::setDefaultOptions_ | ( | ) | [protected] |
Set values from options.
HashMap<Atom const*, float> BALL::NumericalSAS::atom_areas_ [protected] |
mapping of atom to SAS area
std::vector< std::pair<Vector3, Surface> > BALL::NumericalSAS::atom_surface_map_ [protected] |
vector of (atom center, surface)
HashMap<Atom const*, Surface> BALL::NumericalSAS::atom_surfaces_ [protected] |
mapping of atom to surface
HashMap<Atom const*, float> BALL::NumericalSAS::atom_volumes_ [protected] |
mapping of atom to SAS volume
AtomContainer const* BALL::NumericalSAS::fragment_ [protected] |
the AtomContainer we are bound to
Surface BALL::NumericalSAS::surface_ [protected] |
the SAS as a surface
float BALL::NumericalSAS::total_area_ [protected] |
total solvent accessible area of the fragment
float BALL::NumericalSAS::total_volume_ [protected] |
total solvent accessible volume of the fragment