Rosetta 3.4
Public Member Functions | Static Public Member Functions
core::fragment::BBTorsionAndAnglesSRFD Class Reference

#include <BBTorsionAndAnglesSRFD.hh>

Inheritance diagram for core::fragment::BBTorsionAndAnglesSRFD:
Inheritance graph
[legend]
Collaboration diagram for core::fragment::BBTorsionAndAnglesSRFD:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BBTorsionAndAnglesSRFD ()
 default constructor
 BBTorsionAndAnglesSRFD (utility::vector1< AngleInfo > &angles_in, Size const nbb_in=3, char secstruct= 'X', char sequence= 'X')
SingleResidueFragDataOP clone () const
 clone this object
virtual SingleResidueFragDataOP create () const
 create a new instance of this object
virtual bool apply (pose::Pose &, Size seq_pos) const
 insert all backbone torsions into pose at position seq_pos
virtual bool apply (kinematics::MoveMap const &movemap, pose::Pose &pose, Size const seqpos) const
 insert backbone torsions and angles into pose at position seqpos if all bb torsions are moveable in MoveMap
virtual bool steal (pose::Pose const &, Size seq_pos)
 insert fragment_data into pose at position seq_pos
virtual bool is_compatible (SingleResidueFragData const &) const
 check weather SRFD applies to same dofs and is of same type
virtual bool is_applicable (kinematics::MoveMap const &, Size seq_pos) const
virtual void show (std::ostream &out) const
virtual void read (std::istream &in)
virtual std::string type () const
core::Size nangles () const

Static Public Member Functions

static std::string _static_type_name ()

Constructor & Destructor Documentation

core::fragment::BBTorsionAndAnglesSRFD::BBTorsionAndAnglesSRFD ( ) [inline]

default constructor

Referenced by clone(), and create().

core::fragment::BBTorsionAndAnglesSRFD::BBTorsionAndAnglesSRFD ( utility::vector1< AngleInfo > &  angles_in,
Size const  nbb_in = 3,
char  secstruct = 'X',
char  sequence = 'X' 
) [inline]

Member Function Documentation

static std::string core::fragment::BBTorsionAndAnglesSRFD::_static_type_name ( ) [inline, static]

Reimplemented from core::fragment::BBTorsionSRFD.

Referenced by type().

bool core::fragment::BBTorsionAndAnglesSRFD::apply ( pose::Pose pose,
Size  seq_pos 
) const [virtual]

insert all backbone torsions into pose at position seq_pos

Reimplemented from core::fragment::BBTorsionSRFD.

References core::fragment::BBTorsionSRFD::apply(), core::pose::Pose::conformation(), and core::conformation::Conformation::set_bond_angle().

bool core::fragment::BBTorsionAndAnglesSRFD::apply ( kinematics::MoveMap const &  movemap,
pose::Pose pose,
Size const  seqpos 
) const [virtual]

insert backbone torsions and angles into pose at position seqpos if all bb torsions are moveable in MoveMap

Returns:
True if *all* torsions and angles are inserted and superclass apply() is successful, otherwise False.
Remarks:
This is currently all or nothing -- all torsions for seqpos must be moveable because it's not entirely clear what the behavior of partial angle insertion is. In addition, DOF_IDs are not made explicitly available within this class, meaning there is no way to look them up within the MoveMap; the implementation in this class must be changed if this is desired.

Reimplemented from core::fragment::BBTorsionSRFD.

References core::fragment::BBTorsionSRFD::apply(), core::id::BB, core::pose::Pose::conformation(), core::kinematics::MoveMap::get(), core::fragment::BBTorsionSRFD::nbb(), and core::conformation::Conformation::set_bond_angle().

SingleResidueFragDataOP core::fragment::BBTorsionAndAnglesSRFD::clone ( ) const [inline, virtual]

clone this object

Reimplemented from core::fragment::BBTorsionSRFD.

References BBTorsionAndAnglesSRFD().

virtual SingleResidueFragDataOP core::fragment::BBTorsionAndAnglesSRFD::create ( ) const [inline, virtual]

create a new instance of this object

Reimplemented from core::fragment::BBTorsionSRFD.

References BBTorsionAndAnglesSRFD().

bool core::fragment::BBTorsionAndAnglesSRFD::is_applicable ( kinematics::MoveMap const &  move_map,
Size  seqpos 
) const [virtual]

there is no information in the MoveMap as to which angles can be moved, so this function

will return its value solely based on the parent

Reimplemented from core::fragment::BBTorsionSRFD.

References core::fragment::BBTorsionSRFD::is_applicable().

bool core::fragment::BBTorsionAndAnglesSRFD::is_compatible ( SingleResidueFragData const &  ) const [virtual]

check weather SRFD applies to same dofs and is of same type

Reimplemented from core::fragment::BBTorsionSRFD.

References nangles(), and core::fragment::BBTorsionSRFD::nbb().

core::Size core::fragment::BBTorsionAndAnglesSRFD::nangles ( ) const [inline]

Referenced by is_compatible().

void core::fragment::BBTorsionAndAnglesSRFD::read ( std::istream &  in) [virtual]
void core::fragment::BBTorsionAndAnglesSRFD::show ( std::ostream &  out) const [virtual]
bool core::fragment::BBTorsionAndAnglesSRFD::steal ( pose::Pose const &  pose,
Size  seq_pos 
) [virtual]
virtual std::string core::fragment::BBTorsionAndAnglesSRFD::type ( ) const [inline, virtual]

Reimplemented from core::fragment::BBTorsionSRFD.

References _static_type_name().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines