Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
protocols::viewer Namespace Reference

Namespaces

 graphics_states_param
 

Classes

class  GraphicsState
 
class  SilentObserver
 
class  triangle
 
class  triangleIterator
 

Typedefs

typedef
utility::pointer::shared_ptr
< ConformationViewer > 
ConformationViewerOP
 
typedef
utility::pointer::shared_ptr
< SilentObserver
SilentObserverOP
 
typedef void *(* VoidFunc )(void *)
 

Enumerations

enum  spheremode { SPHERE_MODE_BB, SPHERE_MODE_SC, SPHERE_MODE_LIGAND }
 

Functions

void clear_conformation_viewers ()
 Allows for graceful exit of graphics viewers. More...
 
static std::string empty_string ("")
 
void add_conformation_viewer (core::conformation::Conformation &, std::string const &=empty_string, int const =900, int const =900, bool const =false, bool const =false, core::Vector const =core::Vector(0.0))
 
void add_monte_carlo_viewer (moves::MonteCarlo &, std::string const &=empty_string, int const =900, int const =900, bool=false)
 
int viewer_main (VoidFunc worker_main)
 
void print_node (std::ostream &out, int residue_num, int atom_num, core::conformation::Conformation const &conf, std::string const &extras="")
 
void print_node (std::ostream &out, int residue_num, std::string atom_name, core::conformation::Conformation const &conf, std::string const &extras="")
 
void print_interres_bond (std::ostream &out, core::conformation::Residue const &rsd1, core::conformation::Residue const &rsd2, core::conformation::Conformation const &conf)
 
void dump_residue_kinemage (std::ostream &out, core::conformation::Residue const &rsd, core::conformation::Conformation const &conf)
 
void dump_structure_kinemage (std::ostream &out, core::conformation::Conformation const &conf)
 A better way to visualize the structure is use Prekin or KiNG's File | Import | Molecules command. More...
 
void dump_foldtree_kinemage (std::ostream &out, core::kinematics::FoldTree const &fold_tree, core::conformation::Conformation const &conf)
 
void visit_atomtree_node (std::ostream &out, core::kinematics::tree::Atom const &katom, core::conformation::Conformation const &conf)
 
void dump_atomtree_kinemage (std::ostream &out, core::kinematics::AtomTree const &atom_tree, core::conformation::Conformation const &conf)
 
void dump_pose_kinemage (std::string const &filename, core::pose::Pose const &pose)
 

Variables

const int POLY_CASES [][21]
 
const int VERTEX_OFF [][3]
 
const int EDGE_NGHBRS [][3]
 

Typedef Documentation

typedef utility::pointer::shared_ptr< ConformationViewer > protocols::viewer::ConformationViewerOP
typedef utility::pointer::shared_ptr< SilentObserver > protocols::viewer::SilentObserverOP
typedef void*(* protocols::viewer::VoidFunc)(void *)

Enumeration Type Documentation

Enumerator
SPHERE_MODE_BB 
SPHERE_MODE_SC 
SPHERE_MODE_LIGAND 

Function Documentation

void protocols::viewer::add_conformation_viewer ( core::conformation::Conformation ,
std::string const &  = empty_string,
int  const = 900,
int  const = 900,
bool  const = false,
bool  const = false,
core::Vector  const = core::Vector( 0.0 ) 
)
inline
void protocols::viewer::add_monte_carlo_viewer ( moves::MonteCarlo &  ,
std::string const &  = empty_string,
int  const = 900,
int  const = 900,
bool  = false 
)
inline
void protocols::viewer::clear_conformation_viewers ( )
void protocols::viewer::dump_atomtree_kinemage ( std::ostream &  out,
core::kinematics::AtomTree const &  atom_tree,
core::conformation::Conformation const &  conf 
)
void protocols::viewer::dump_foldtree_kinemage ( std::ostream &  out,
core::kinematics::FoldTree const &  fold_tree,
core::conformation::Conformation const &  conf 
)
void protocols::viewer::dump_pose_kinemage ( std::string const &  filename,
core::pose::Pose const &  pose 
)
void protocols::viewer::dump_residue_kinemage ( std::ostream &  out,
core::conformation::Residue const &  rsd,
core::conformation::Conformation const &  conf 
)
void protocols::viewer::dump_structure_kinemage ( std::ostream &  out,
core::conformation::Conformation const &  conf 
)

A better way to visualize the structure is use Prekin or KiNG's File | Import | Molecules command.

References dump_residue_kinemage(), core::conformation::Conformation::residue(), and core::conformation::Conformation::size().

Referenced by dump_pose_kinemage().

static std::string protocols::viewer::empty_string ( ""  )
static
void protocols::viewer::print_interres_bond ( std::ostream &  out,
core::conformation::Residue const &  rsd1,
core::conformation::Residue const &  rsd2,
core::conformation::Conformation const &  conf 
)
void protocols::viewer::print_node ( std::ostream &  out,
int  residue_num,
int  atom_num,
core::conformation::Conformation const &  conf,
std::string const &  extras = "" 
)
void protocols::viewer::print_node ( std::ostream &  out,
int  residue_num,
std::string  atom_name,
core::conformation::Conformation const &  conf,
std::string const &  extras = "" 
)
int protocols::viewer::viewer_main ( VoidFunc  worker_main)
inline
void protocols::viewer::visit_atomtree_node ( std::ostream &  out,
core::kinematics::tree::Atom const &  katom,
core::conformation::Conformation const &  conf 
)

Variable Documentation

const int protocols::viewer::EDGE_NGHBRS
Initial value:
= {
{-1, -1, -1},
{ 1, 2, 0},
{ 2, 3, 1},
{ 3, 4, 3},
{ 4, 1, 4},
{ 5, 6, 0},
{ 6, 7, 1},
{ 7, 8, 3},
{ 8, 5, 4},
{ 1, 5, 2},
{ 2, 6, 2},
{ 4, 8, 2},
{ 3, 7, 2}
}

Referenced by protocols::viewer::triangleIterator::aquireNextQueue().

const int protocols::viewer::POLY_CASES
const int protocols::viewer::VERTEX_OFF
Initial value:
= {
{-1, -1, -1},
{0, 0, 0},
{1, 0, 0},
{1, 1, 0},
{0, 1, 0},
{0, 0, 1},
{1, 0, 1},
{1, 1, 1},
{0, 1, 1}
}

Referenced by protocols::viewer::triangleIterator::aquireNextQueue().