![]() |
Rosetta Protocols
2014.35
|
observer that attaches to a Conformation and displays graphics More...
#include <ConformationViewer.hh>
Public Types | |
typedef utility::vector1 < core::conformation::ResidueCOP > | ResidueCOPs |
Public Member Functions | |
ConformationViewer () | |
default constructor More... | |
ConformationViewer (std::string const &name) | |
constructor More... | |
ConformationViewer (std::string const &name, int length, int width, bool debug_pause) | |
constructor More... | |
~ConformationViewer () | |
void | display_func () |
called by glutDisplayFunc More... | |
void | display_if_necessary () |
called by glutIdleFunc More... | |
int | window () const |
void | window (int const setting) |
int | get_width () const |
int | get_length () const |
protocols::viewer::GraphicsState & | get_gs () |
std::string const & | name () const |
core::conformation::Conformation const * | is_observing () const |
is currently observing a Conformation? More... | |
void | attach_to (core::conformation::Conformation const &conf) |
attach to Conformation More... | |
void | detach_from () |
detach from Conformation More... | |
void | on_connection_change (core::conformation::signals::ConnectionEvent const &event) |
upon receiving a ConnectionEvent do... More... | |
void | on_xyz_change (core::conformation::signals::XYZEvent const &event) |
upon receiving a GeneralEvent update the residues and atom tree root More... | |
void | set_center_vector (core::Vector const &setting) |
Private Types | |
typedef utility::pointer::ReferenceCount | Super |
Private Member Functions | |
ConformationViewer (ConformationViewer const &rval) | |
disallow copy constructor More... | |
ConformationViewer & | operator= (ConformationViewer const &rval) |
disallow copy assignment More... | |
Private Attributes | |
ResidueCOPs | residues_ |
utility::vector1< char > | secstruct_ |
protocols::viewer::GraphicsState | current_gs_ |
utility::vector1< triangle > | triangles_ |
core::id::AtomID | anchor_id_ |
std::string const | name_ |
bool | new_conformation_ |
int | my_window_ |
int | length_ |
int | width_ |
bool | use_debug_pause_ |
bool | center_vector_defined_ |
core::Vector | center_vector_ |
utility::signals::Link | connection_event_link_ |
utility::signals::Link | xyz_event_link_ |
core::conformation::Conformation const * | conf_ |
the Conformation being observed, we need this to ensure debug_pause is reset upon detachment More... | |
observer that attaches to a Conformation and displays graphics
typedef utility::vector1< core::conformation::ResidueCOP > protocols::viewer::ConformationViewer::ResidueCOPs |
protocols::viewer::ConformationViewer::ConformationViewer | ( | ) |
default constructor
protocols::viewer::ConformationViewer::ConformationViewer | ( | std::string const & | name | ) |
constructor
protocols::viewer::ConformationViewer::ConformationViewer | ( | std::string const & | name, |
int | length, | ||
int | width, | ||
bool | debug_pause | ||
) |
constructor
protocols::viewer::ConformationViewer::~ConformationViewer | ( | ) |
|
private |
disallow copy constructor
void protocols::viewer::ConformationViewer::attach_to | ( | core::conformation::Conformation const & | conf | ) |
attach to Conformation
void protocols::viewer::ConformationViewer::detach_from | ( | ) |
detach from Conformation
void protocols::viewer::ConformationViewer::display_func | ( | ) |
called by glutDisplayFunc
void protocols::viewer::ConformationViewer::display_if_necessary | ( | ) |
called by glutIdleFunc
|
inline |
References current_gs_.
core::conformation::Conformation const* protocols::viewer::ConformationViewer::is_observing | ( | ) | const |
is currently observing a Conformation?
|
inline |
References name_.
void protocols::viewer::ConformationViewer::on_connection_change | ( | core::conformation::signals::ConnectionEvent const & | event | ) |
upon receiving a ConnectionEvent do...
void protocols::viewer::ConformationViewer::on_xyz_change | ( | core::conformation::signals::XYZEvent const & | event | ) |
upon receiving a GeneralEvent update the residues and atom tree root
|
private |
disallow copy assignment
|
inline |
References center_vector_, and center_vector_defined_.
|
inline |
References my_window_.
|
inline |
References my_window_.
|
private |
|
private |
Referenced by set_center_vector().
|
private |
Referenced by set_center_vector().
|
private |
the Conformation being observed, we need this to ensure debug_pause is reset upon detachment
|
private |
|
private |
Referenced by get_gs().
|
private |
Referenced by get_length().
|
private |
Referenced by name().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by get_width().
|
private |