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

#include <BBTorsionSRFD.hh>

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

List of all members.

Public Member Functions

 BBTorsionSRFD (Size const nbb_in=3, char secstruct= 'X', char sequence= 'X')
 constructor
BBTorsionSRFDoperator= (BBTorsionSRFD const &rval)
 copy assignment
virtual SingleResidueFragDataOP clone () const
 clone this object
virtual SingleResidueFragDataOP create () const
 create a new instance of this object
Size nbb () const
 number of backbone torsions described by this fragment
void set_torsion (Size const tor, Real const setting)
 set value for specific torsion in this piece of fragment.
Real torsion (Size const torsion_number) const
 get the value for a specific torsion in this fragment
bool has_coordinates () const
 Returns true if this instance contains cartesian coordinates, false otherwise. Coordinates are available if the <write_ca_coords> option is enabled in the new fragment picker and rosetta++ fragments are used.
Real x () const
 Returns the x coordinate of this residue's CA.
Real y () const
 Returns the y coordinate of this residue's CA.
Real z () const
 Returns the z coordinate of this residue's CA.
void set_coordinates (Real x, Real y, Real z)
 Convenience method for setting this residue's CA coordinates all at once.
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 all backbone torsions into pose at position seq_pos
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
 check if all backbone torsions at the sequence position moveable in the MoveMap
virtual void show (std::ostream &out) const
virtual void read_data (std::istream &in)
 Default implementation: noop.
virtual std::string type () const

Static Public Member Functions

static std::string _static_type_name ()

Constructor & Destructor Documentation

core::fragment::BBTorsionSRFD::BBTorsionSRFD ( Size const  nbb_in = 3,
char  secstruct = 'X',
char  sequence = 'X' 
) [inline]

constructor

Referenced by clone(), and create().


Member Function Documentation

static std::string core::fragment::BBTorsionSRFD::_static_type_name ( ) [inline, static]
bool core::fragment::BBTorsionSRFD::apply ( pose::Pose pose,
Size  seq_pos 
) const [virtual]

insert all backbone torsions into pose at position seq_pos

Reimplemented from core::fragment::SecstructSRFD.

Reimplemented in core::fragment::BBTorsionAndAnglesSRFD.

References core::fragment::SecstructSRFD::apply(), core::id::BB, nbb(), and core::pose::Pose::set_torsion().

Referenced by core::fragment::BBTorsionAndAnglesSRFD::apply().

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

insert all backbone torsions into pose at position seq_pos

Parameters:
[in]movemapThis MoveMap will be *ignored* at the BBTorsionSRFD level, but will be passed to any superclass apply().
[in,out]poseThe pose to modify.
[in]seqposSequence position to modify.
Returns:
True if apply() successful, False otherwise.
Warning:
MoveMap settings at the BBTorsionSRFD level are *ignored*. For speed, does not check to see whether or not all backbone torsions are moveable in MoveMap -- use is_applicable() for this purpose prior to calling apply().

Reimplemented from core::fragment::SecstructSRFD.

Reimplemented in core::fragment::BBTorsionAndAnglesSRFD, and core::fragment::IndependentBBTorsionSRFD.

References core::fragment::SecstructSRFD::apply(), core::id::BB, nbb(), and core::pose::Pose::set_torsion().

virtual SingleResidueFragDataOP core::fragment::BBTorsionSRFD::clone ( ) const [inline, virtual]
virtual SingleResidueFragDataOP core::fragment::BBTorsionSRFD::create ( ) const [inline, virtual]
bool core::fragment::BBTorsionSRFD::has_coordinates ( ) const [inline]

Returns true if this instance contains cartesian coordinates, false otherwise. Coordinates are available if the <write_ca_coords> option is enabled in the new fragment picker and rosetta++ fragments are used.

Referenced by show().

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

check if all backbone torsions at the sequence position moveable in the MoveMap

Returns:
True if all backbone torsions moveable and is_applicable() succeeded for superclass, otherwise False.

Reimplemented from core::fragment::SecstructSRFD.

Reimplemented in core::fragment::BBTorsionAndAnglesSRFD, and core::fragment::IndependentBBTorsionSRFD.

References core::id::BB, core::kinematics::MoveMap::get(), core::fragment::SecstructSRFD::is_applicable(), nbb(), and core::fragment::tr().

Referenced by core::fragment::BBTorsionAndAnglesSRFD::is_applicable().

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

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

Reimplemented from core::fragment::SecstructSRFD.

Reimplemented in core::fragment::BBTorsionAndAnglesSRFD.

References nbb().

Size core::fragment::BBTorsionSRFD::nbb ( ) const [inline]
BBTorsionSRFD & core::fragment::BBTorsionSRFD::operator= ( BBTorsionSRFD const &  rval)
void core::fragment::BBTorsionSRFD::read_data ( std::istream &  ) [virtual]
void core::fragment::BBTorsionSRFD::set_coordinates ( Real  x,
Real  y,
Real  z 
) [inline]

Convenience method for setting this residue's CA coordinates all at once.

References x(), y(), and z().

Referenced by protocols::frag_picker::VallResidue::bbtorsion_srfd().

void core::fragment::BBTorsionSRFD::set_torsion ( Size const  tor,
Real const  setting 
) [inline]

set value for specific torsion in this piece of fragment.

Referenced by protocols::frag_picker::VallResidue::bbtorsion_srfd().

void core::fragment::BBTorsionSRFD::show ( std::ostream &  out) const [virtual]
bool core::fragment::BBTorsionSRFD::steal ( pose::Pose const &  pose,
Size  seq_pos 
) [virtual]

insert fragment_data into pose at position seq_pos

Reimplemented from core::fragment::SecstructSRFD.

Reimplemented in core::fragment::BBTorsionAndAnglesSRFD.

References core::id::BB, nbb(), core::fragment::SecstructSRFD::steal(), and core::pose::Pose::torsion().

Referenced by core::fragment::BBTorsionAndAnglesSRFD::steal().

Real core::fragment::BBTorsionSRFD::torsion ( Size const  torsion_number) const [inline]

get the value for a specific torsion in this fragment

Referenced by core::fragment::IndependentBBTorsionSRFD::apply().

virtual std::string core::fragment::BBTorsionSRFD::type ( ) const [inline, virtual]
Real core::fragment::BBTorsionSRFD::x ( ) const [inline]

Returns the x coordinate of this residue's CA.

Referenced by core::fragment::make_pose_from_frags(), set_coordinates(), and show().

Real core::fragment::BBTorsionSRFD::y ( ) const [inline]

Returns the y coordinate of this residue's CA.

Referenced by core::fragment::make_pose_from_frags(), set_coordinates(), and show().

Real core::fragment::BBTorsionSRFD::z ( ) const [inline]

Returns the z coordinate of this residue's CA.

Referenced by core::fragment::make_pose_from_frags(), set_coordinates(), and show().


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