![]() |
Rosetta
2021.16
|
Rotation + translation class. More...
#include <RT.hh>
Public Types | |
| typedef numeric::xyzVector< Real > | Vector |
| typedef numeric::xyzMatrix< Real > | Matrix |
| typedef void | iterator_category |
| typedef void | difference_type |
Public Member Functions | |
| RT () | |
| Default constructor. More... | |
| RT (Matrix const &rot, Vector const &vec) | |
| matrix/vector constructor More... | |
| RT (Stub const &stub1, Stub const &stub2) | |
| construct from two stubs More... | |
| RT (RT const &src) | |
| copy constructor More... | |
| void | from_stubs (Stub const &stub1, Stub const &stub2) |
| update from stubs More... | |
| void | reverse () |
| reverse the "view" More... | |
| void | inverse () |
| reverse the "view" More... | |
| void | reset () |
| return to default-constructed state More... | |
| void | identity_transform () |
| return to default-constructed state (another name) More... | |
| void | set_translation (Vector const &t) |
| set the tranlsation More... | |
| void | set_rotation (Matrix const &r) |
| set the rotation More... | |
| Matrix const & | get_rotation () const |
| get the rotation More... | |
| Vector const & | get_translation () const |
| get the translation More... | |
| Real | distance_squared (RT const &b) const |
| void | fold_in_rb_deltas (utility::vector1< Real > const &rb, Vector const &rb_center) |
| update the transform to include small additional rigid-body rotations and translations More... | |
| void | make_jump (Stub const &stub1, Stub &stub2) const |
| should be inverse of RT::from_stubs More... | |
| RT & | operator= (RT const &)=default |
| copy operator More... | |
| bool | ortho_check () const |
| check for orthogonality More... | |
Private Attributes | |
| Matrix | rotation |
| rotation matrix, written in stub1 frame More... | |
| Vector | translation |
| tranlsation vector, written in stub1 frame More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, RT const &rt) |
| output operator More... | |
| std::istream & | operator>> (std::istream &is, RT &rt) |
| input operator More... | |
| Real | distance (RT const &a, RT const &b) |
| root squared devitation of two RTs More... | |
Rotation + translation class.
| typedef void core::kinematics::RT::difference_type |
| typedef void core::kinematics::RT::iterator_category |
| typedef numeric::xyzMatrix< Real > core::kinematics::RT::Matrix |
| typedef numeric::xyzVector< Real > core::kinematics::RT::Vector |
|
inline |
Default constructor.
matrix/vector constructor
construct from two stubs
References from_stubs().
|
inline |
copy constructor
References rotation, and translation.
Referenced by core::scoring::constraints::RTConstraint::dist(), and core::kinematics::AtomTree::insert_single_fragment().
| void core::kinematics::RT::fold_in_rb_deltas | ( | utility::vector1< Real > const & | rb, |
| Vector const & | rb_center | ||
| ) |
update the transform to include small additional rigid-body rotations and translations
rb are the small changes in translation and rotation, written in up-stream (jump_start) rb_center is the center of rotation, written in the down-stream (jump_end)
References rotation, and translation.
Referenced by core::kinematics::Jump::fold_in_rb_deltas(), and core::kinematics::Jump::make_jump().
update from stubs
References core::kinematics::Stub::M, rotation, translation, and core::kinematics::Stub::v.
Referenced by core::kinematics::Jump::from_bond_cst(), core::kinematics::Jump::from_stubs(), and RT().
|
inline |
get the rotation
References rotation.
Referenced by protocols::cryst::crystRMSfast(), core::kinematics::find_stub_transform(), protocols::sic_dock::get_leap_6dof(), core::kinematics::Jump::get_rotation(), protocols::loophash::get_rt_over_leap_without_foldtree_bs(), core::kinematics::AtomTree::insert_single_fragment(), core::scoring::constraints::RTConstraint::operator==(), core::kinematics::Jump::rotation_by_matrix(), core::scoring::motif::rt_to_real6(), core::scoring::disulfides::DisulfideMatchingPotential::score_disulfide(), core::kinematics::jacobian::ModuleType1::update_screw_vectors(), and protocols::loops::loop_closure::jacobi::JacobiLoopClosureMover::update_target().
|
inline |
get the translation
References translation.
Referenced by protocols::rigid::RigidBodyDofPerturbMover::apply(), protocols::sic_dock::count_linkers(), protocols::cryst::crystRMSfast(), core::kinematics::find_stub_transform(), protocols::sic_dock::get_leap_6dof(), protocols::loophash::get_rt_over_leap(), protocols::loophash::get_rt_over_leap_without_foldtree_bs(), core::kinematics::Jump::get_translation(), core::kinematics::AtomTree::insert_single_fragment(), core::scoring::constraints::RTConstraint::operator==(), core::kinematics::Jump::rotation_by_matrix(), core::scoring::motif::rt_to_real6(), core::scoring::disulfides::DisulfideMatchingPotential::score_disulfide(), core::kinematics::Jump::translation_along_axis(), core::kinematics::jacobian::ModuleType1::update_screw_vectors(), and protocols::loops::loop_closure::jacobi::JacobiLoopClosureMover::update_target().
|
inline |
return to default-constructed state (another name)
References rotation, and translation.
Referenced by core::kinematics::Jump::identity_transform().
|
inline |
reverse the "view"
References reverse().
Referenced by core::scoring::constraints::RTConstraint::fill_f1_f2().
should be inverse of RT::from_stubs
References core::kinematics::Stub::M, rotation, translation, and core::kinematics::Stub::v.
Referenced by protocols::simple_filters::JumpEvaluator::apply(), core::kinematics::Jump::make_jump(), protocols::hotspot_hashing::SICPatternAtTransform::Searchpoints(), and protocols::hotspot_hashing::ComposeSearchPatterns::Searchpoints().
| bool core::kinematics::RT::ortho_check | ( | ) | const |
check for orthogonality
References rotation.
Referenced by core::kinematics::operator<<(), core::kinematics::operator>>(), and core::kinematics::Jump::ortho_check().
|
inline |
return to default-constructed state
References rotation, and translation.
Referenced by core::kinematics::Jump::reset().
|
inline |
reverse the "view"
References rotation, and translation.
Referenced by core::kinematics::Jump::fold_in_rb_deltas(), inverse(), core::kinematics::Jump::make_jump(), protocols::jumping::PairingLibrary::read_from_file(), core::kinematics::Jump::reverse(), and core::kinematics::AtomTree::set_stub_transform().
|
inline |
set the rotation
References rotation.
Referenced by protocols::jumping::dis_RT_from_epos(), core::kinematics::Jump::rotation_by_matrix(), core::scoring::disulfides::RT_helper::RT_from_epos(), protocols::jumping::RT_from_epos(), and core::kinematics::Jump::set_rotation().
|
inline |
set the tranlsation
References protocols::hybridization::t, and translation.
Referenced by protocols::jumping::dis_RT_from_epos(), core::kinematics::Jump::random_trans(), core::kinematics::Jump::rotation_by_matrix(), core::scoring::disulfides::RT_helper::RT_from_epos(), protocols::jumping::RT_from_epos(), core::kinematics::Jump::set_translation(), and core::kinematics::Jump::translation_along_axis().
|
friend |
output operator
|
friend |
input operator
|
private |
rotation matrix, written in stub1 frame
Referenced by core::kinematics::distance(), distance_squared(), fold_in_rb_deltas(), from_stubs(), get_rotation(), identity_transform(), make_jump(), core::kinematics::operator<<(), core::kinematics::operator>>(), ortho_check(), reset(), reverse(), and set_rotation().
|
private |
tranlsation vector, written in stub1 frame
Referenced by core::kinematics::distance(), distance_squared(), fold_in_rb_deltas(), from_stubs(), get_translation(), identity_transform(), make_jump(), core::kinematics::operator<<(), core::kinematics::operator>>(), reset(), reverse(), and set_translation().
1.8.7