Rosetta
|
#include <NeighborTypeFilter.hh>
Public Member Functions | |
NeighborTypeFilter () | |
NeighborTypeFilter (std::string const &target_residue, utility::vector1< bool > const &residue_types, core::Real const distance_threshold) | |
bool | apply (core::pose::Pose const &pose) const override |
Returns true if the given pose passes the filter, false otherwise. More... | |
void | report (std::ostream &out, core::pose::Pose const &pose) const override |
core::Real | report_sm (core::pose::Pose const &pose) const override |
used to report filter internals through a score or silent file More... | |
std::vector< core::Size > | compute (core::pose::Pose const &pose) const |
filters::FilterOP | clone () const override |
filters::FilterOP | fresh_instance () const override |
void | clear () override |
used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More... | |
~NeighborTypeFilter () override | |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override |
Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing. More... | |
std::string | name () const override |
![]() | |
Filter () | |
Filter (std::string const &) | |
~Filter () override | |
virtual std::string | get_type () const |
std::string | get_user_defined_name () const |
void | set_user_defined_name (std::string const &name) |
virtual core::Real | score (core::pose::Pose &pose) |
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 | |
std::string | target_residue_ |
utility::vector1< bool > | residue_types_ |
core::Real | distance_threshold_ |
Additional Inherited Members | |
![]() | |
std::string | scorename_ |
|
inline |
|
inline |
|
overridedefault |
|
overridevirtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
References compute(), core::conformation::Residue::name3(), protocols::simple_filters::neighbor_type_filter_tracer(), core::pose::Pose::residue(), and target_residue_.
|
static |
Referenced by protocols::simple_filters::NeighborTypeFilterCreator::keyname(), name(), and provide_xml_schema().
|
inlineoverridevirtual |
used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual
Reimplemented from protocols::filters::Filter.
References residue_types_.
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
std::vector< core::Size > protocols::simple_filters::NeighborTypeFilter::compute | ( | core::pose::Pose const & | pose | ) | const |
References core::conformation::Residue::aa(), core::conformation::Conformation::chain_begin(), core::pose::Pose::conformation(), core::kinematics::distance(), distance_threshold_, core::sequence::end, core::conformation::Residue::nbr_atom(), core::pose::parse_resnum(), core::pose::Pose::residue(), residue_types_, core::pose::Pose::size(), protocols::loops::start, target_residue_, and core::conformation::Residue::xyz().
Referenced by apply(), report(), and report_sm().
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
|
overridevirtual |
Reimplemented from protocols::filters::Filter.
References class_name().
|
overridevirtual |
Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing.
Reimplemented from protocols::filters::Filter.
References core::chemical::aa_from_name(), distance_threshold_, core::pose::get_resnum_string(), protocols::simple_filters::neighbor_type_filter_tracer(), core::chemical::num_canonical_aas, residue_types_, and target_residue_.
|
static |
|
overridevirtual |
Reimplemented from protocols::filters::Filter.
References compute(), core::conformation::Residue::name3(), core::conformation::membrane::out, core::pose::Pose::residue(), and target_residue_.
|
overridevirtual |
used to report filter internals through a score or silent file
Reimplemented from protocols::filters::Filter.
References compute().
|
private |
Referenced by compute(), and parse_my_tag().
|
private |
Referenced by clear(), compute(), and parse_my_tag().
|
private |
Referenced by apply(), compute(), parse_my_tag(), and report().