|
Rosetta 3.5
|
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... | |
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_ |
| 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
Definition at line 54 of file ConformationViewer.hh.
| typedef utility::vector1< core::conformation::ResidueCOP > protocols::viewer::ConformationViewer::ResidueCOPs |
Definition at line 62 of file ConformationViewer.hh.
Definition at line 58 of file ConformationViewer.hh.
| 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 |
Definition at line 129 of file ConformationViewer.hh.
References current_gs_.
|
inline |
Definition at line 123 of file ConformationViewer.hh.
References length_.
|
inline |
Definition at line 117 of file ConformationViewer.hh.
References width_.
| core::conformation::Conformation const* protocols::viewer::ConformationViewer::is_observing | ( | ) | const |
is currently observing a Conformation?
|
inline |
Definition at line 135 of file ConformationViewer.hh.
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 |
Definition at line 104 of file ConformationViewer.hh.
References my_window_.
|
inline |
Definition at line 111 of file ConformationViewer.hh.
References my_window_.
|
private |
Definition at line 171 of file ConformationViewer.hh.
|
private |
the Conformation being observed, we need this to ensure debug_pause is reset upon detachment
Definition at line 188 of file ConformationViewer.hh.
|
private |
Definition at line 183 of file ConformationViewer.hh.
|
private |
Definition at line 166 of file ConformationViewer.hh.
Referenced by get_gs().
|
private |
Definition at line 178 of file ConformationViewer.hh.
Referenced by get_length().
|
private |
Definition at line 177 of file ConformationViewer.hh.
Referenced by window().
|
private |
Definition at line 173 of file ConformationViewer.hh.
Referenced by name().
|
private |
Definition at line 175 of file ConformationViewer.hh.
|
private |
Definition at line 164 of file ConformationViewer.hh.
|
private |
Definition at line 165 of file ConformationViewer.hh.
|
private |
Definition at line 169 of file ConformationViewer.hh.
|
private |
Definition at line 181 of file ConformationViewer.hh.
|
private |
Definition at line 179 of file ConformationViewer.hh.
Referenced by get_width().
|
private |
Definition at line 184 of file ConformationViewer.hh.
1.8.4