Rosetta
|
#include <NumNeighborsSelector.hh>
Public Member Functions | |
NumNeighborsSelector () | |
NumNeighborsSelector (NumNeighborsSelector const &src) | |
Copy constructor. More... | |
ResidueSelectorOP | clone () const override |
Clone operator. More... | |
NumNeighborsSelector (Size threshold, core::Real distance_cutoff) | |
~NumNeighborsSelector () override | |
ResidueSubset | apply (core::pose::Pose const &pose) const override |
Return a ResidueSubset indicating a selection of Residues from the input Pose; the ResidueSubset is an array of booleans where a value of "true" for position i indicates that residue i is a part of the selected subset – and a value of "false" would indicate that it is not. More... | |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &datamap) override |
Initialize any data members of this instance from an input tag and a DataMap object. More... | |
std::string | get_name () const override |
bool | count_water () const |
Size | threshold () const |
Real | distance_cutoff () const |
void | count_water (bool setting) |
void | threshold (Size setting) |
void | distance_cutoff (Size setting) |
![]() | |
ResidueSelector () | |
Constructor. More... | |
~ResidueSelector () override | |
Destructor. More... | |
utility::vector1< core::Size > | selection_positions (core::pose::Pose const &pose) const |
Calls apply and returns the Rosetta numbering corresponding to the selected residues. More... | |
virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
static std::string | class_name () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
bool | count_water_ |
Size | threshold_ |
Real | distance_cutoff_ |
core::select::residue_selector::NumNeighborsSelector::NumNeighborsSelector | ( | ) |
core::select::residue_selector::NumNeighborsSelector::NumNeighborsSelector | ( | NumNeighborsSelector const & | src | ) |
Copy constructor.
core::select::residue_selector::NumNeighborsSelector::NumNeighborsSelector | ( | Size | threshold, |
core::Real | distance_cutoff | ||
) |
|
overridedefault |
|
overridevirtual |
Return a ResidueSubset indicating a selection of Residues from the input Pose; the ResidueSubset is an array of booleans where a value of "true" for position i indicates that residue i is a part of the selected subset – and a value of "false" would indicate that it is not.
Implements core::select::residue_selector::ResidueSelector.
References core::chemical::ResidueTypeBase::aa(), core::chemical::aa_h2o, core::pose::Pose::conformation(), count_water_, distance_cutoff_, core::conformation::find_neighbors(), core::conformation::residue_point_graph_from_conformation(), core::pose::Pose::residue_type(), core::pose::Pose::size(), and threshold_.
|
static |
|
overridevirtual |
Clone operator.
Copy this object and return an owning pointer to the new object.
Implements core::select::residue_selector::ResidueSelector.
bool core::select::residue_selector::NumNeighborsSelector::count_water | ( | ) | const |
References count_water_.
Referenced by parse_my_tag().
void core::select::residue_selector::NumNeighborsSelector::count_water | ( | bool | setting | ) |
References count_water_.
Real core::select::residue_selector::NumNeighborsSelector::distance_cutoff | ( | ) | const |
References distance_cutoff_.
void core::select::residue_selector::NumNeighborsSelector::distance_cutoff | ( | Size | setting | ) |
References distance_cutoff_.
|
overridevirtual |
Implements core::select::residue_selector::ResidueSelector.
References class_name().
|
overridevirtual |
Initialize any data members of this instance from an input tag and a DataMap object.
Noop implementation in the base class in the case that a derived class has no need to read data from an input tag
Reimplemented from core::select::residue_selector::ResidueSelector.
References count_water(), distance_cutoff_, and threshold().
|
static |
Size core::select::residue_selector::NumNeighborsSelector::threshold | ( | ) | const |
References threshold_.
Referenced by parse_my_tag().
void core::select::residue_selector::NumNeighborsSelector::threshold | ( | Size | setting | ) |
References threshold_.
|
private |
Referenced by apply(), and count_water().
|
private |
Referenced by apply(), distance_cutoff(), and parse_my_tag().
|
private |
Referenced by apply(), and threshold().