Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::pose::toolbox::AtomID_Mapper Class Reference

#include <AtomID_Mapper.hh>

Inheritance diagram for core::pose::toolbox::AtomID_Mapper:
Inheritance graph
[legend]

Public Member Functions

 AtomID_Mapper (core::pose::Pose const &pose, bool const map_to_vanilla_pose=false)
 
AtomID_MapperOP clone () const
 
bool has_atom_id (core::id::AtomID const &atom_id) const
 
void renumber_after_variant_changes (core::pose::Pose const &pose)
 
utility::vector1
< core::id::AtomID > const & 
atom_ids_in_res (Size const &n) const
 
std::map< core::id::AtomID,
core::id::AtomID
calculate_atom_id_map (core::pose::Pose const &target_pose, std::map< core::Size, core::Size > const &res_map, core::kinematics::FoldTree const &source_fold_tree, AtomID_MapperCOP source_mapper_to_vanilla=nullptr) const
 
core::id::AtomID const & map_to_reference (core::id::AtomID const &atom_id) const
 
core::id::AtomID const & map_from_reference (core::id::AtomID const &atom_id) const
 
bool in_map_from_reference (core::id::AtomID const &atom_id) const
 
core::Size nres () const
 

Private Member Functions

void initialize (core::pose::Pose const &pose, bool const map_to_vanilla_pose)
 
void initialize_from_pose (core::pose::Pose const &pose)
 

Private Attributes

std::map
< core::id::NamedAtomID,
core::id::AtomID
named_atom_id_map_
 
std::string sequence_
 
std::map< core::id::AtomID,
core::id::AtomID
map_to_reference_
 
std::map< core::id::AtomID,
core::id::AtomID
map_from_reference_
 
utility::vector1
< utility::vector1
< core::id::AtomID > > 
atom_ids_in_res_
 

Constructor & Destructor Documentation

core::pose::toolbox::AtomID_Mapper::AtomID_Mapper ( core::pose::Pose const &  pose,
bool const  map_to_vanilla_pose = false 
)

Member Function Documentation

utility::vector1< core::id::AtomID > const& core::pose::toolbox::AtomID_Mapper::atom_ids_in_res ( Size const &  n) const
inline

References atom_ids_in_res_.

std::map< AtomID, AtomID > core::pose::toolbox::AtomID_Mapper::calculate_atom_id_map ( core::pose::Pose const &  target_pose,
std::map< core::Size, core::Size > const &  res_map,
core::kinematics::FoldTree const &  source_fold_tree,
AtomID_MapperCOP  source_mapper_to_vanilla = nullptr 
) const
AtomID_MapperOP core::pose::toolbox::AtomID_Mapper::clone ( ) const
bool core::pose::toolbox::AtomID_Mapper::has_atom_id ( core::id::AtomID const &  atom_id) const
bool core::pose::toolbox::AtomID_Mapper::in_map_from_reference ( core::id::AtomID const &  atom_id) const
inline

References map_from_reference_.

void core::pose::toolbox::AtomID_Mapper::initialize ( core::pose::Pose const &  pose,
bool const  map_to_vanilla_pose 
)
private
void core::pose::toolbox::AtomID_Mapper::initialize_from_pose ( core::pose::Pose const &  pose)
private
AtomID const & core::pose::toolbox::AtomID_Mapper::map_from_reference ( core::id::AtomID const &  atom_id) const
AtomID const & core::pose::toolbox::AtomID_Mapper::map_to_reference ( core::id::AtomID const &  atom_id) const
core::Size core::pose::toolbox::AtomID_Mapper::nres ( ) const
inline

References atom_ids_in_res_.

void core::pose::toolbox::AtomID_Mapper::renumber_after_variant_changes ( core::pose::Pose const &  pose)

Member Data Documentation

utility::vector1< utility::vector1< core::id::AtomID > > core::pose::toolbox::AtomID_Mapper::atom_ids_in_res_
private

Referenced by atom_ids_in_res(), and nres().

std::map< core::id::AtomID, core::id::AtomID > core::pose::toolbox::AtomID_Mapper::map_from_reference_
private

Referenced by in_map_from_reference().

std::map< core::id::AtomID, core::id::AtomID > core::pose::toolbox::AtomID_Mapper::map_to_reference_
private
std::map< core::id::NamedAtomID, core::id::AtomID > core::pose::toolbox::AtomID_Mapper::named_atom_id_map_
private
std::string core::pose::toolbox::AtomID_Mapper::sequence_
private

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