LOOS  v2.3.2
loos::DensityTools::WaterFilterRadius Class Reference

Pick waters within a given radius of a group of atoms. More...

#include <internal-water-filter.hpp>

Inheritance diagram for loos::DensityTools::WaterFilterRadius:
Collaboration diagram for loos::DensityTools::WaterFilterRadius:

Public Member Functions

 WaterFilterRadius (const double radius)
 
virtual std::vector< int > filter (const loos::AtomicGroup &, const loos::AtomicGroup &)
 Given a molecule and a set of waters, pick which waters are inside. More...
 
virtual std::vector< loos::GCoordboundingBox (const loos::AtomicGroup &)
 Calculate the appropriate bounding box (given the molecule)
 
virtual double volume (void)
 Calculate the volume of the region we can pick waters from...
 
virtual std::string name (void) const
 Just states the name of the filter/picker.
 

Additional Inherited Members

- Protected Attributes inherited from loos::DensityTools::WaterFilterBase
std::vector< loos::GCoordbdd_
 

Detailed Description

Pick waters within a given radius of a group of atoms.

Important note: the volume returned is NOT the real molecular volume, but just the volume of the bounding box for the passed atoms

Definition at line 100 of file internal-water-filter.hpp.

Member Function Documentation

vector< int > loos::DensityTools::WaterFilterRadius::filter ( const loos::AtomicGroup ,
const loos::AtomicGroup  
)
virtual

Given a molecule and a set of waters, pick which waters are inside.

The result is a map of which waters are inside (1 = inside, 0 = not)

Implements loos::DensityTools::WaterFilterBase.

Definition at line 89 of file internal-water-filter.cpp.


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