Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pose_io.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file
12 ///
13 /// @brief
14 /// @author
15 
16 #ifndef INCLUDED_core_io_pdb_pose_io_hh
17 #define INCLUDED_core_io_pdb_pose_io_hh
18 
19 
20 #include <core/types.hh>
21 #include <core/pose/Pose.fwd.hh>
22 
24 // AUTO-REMOVED #include <core/chemical/ResidueTypeSet.fwd.hh>
26 
27 #include <basic/Tracer.fwd.hh>
28 
29 // Utility headers
30 #include <utility/io/ozstream.fwd.hh>
31 
32 // C++ headers
33 #include <iosfwd>
34 
35 #include <utility/vector1.hh>
36 
37 
38 namespace core {
39 namespace io {
40 namespace pdb {
41 
42 
43 /// @brief special Tracer instance acting as special param for all traced_dump_pdb functions
44 extern basic::Tracer TR_dump_pdb_dummy;
45 
46 /// @brief Writes pdb data
47 void
49  conformation::Residue const & rsd,
50  Size & atom_number,
51  std::ostream & out
52 );
53 
54 
55 /// @brief Writes <pose> bfactor data
56 void
58  pose::Pose const & pose,
59  id::AtomID_Map< Real > const & bfactor,
60  std::ostream & out,
61  std::string const & tag="1"
62 );
63 
64 
65 /// @brief Writes <pose> data
66 void
67 dump_pdb(
68  pose::Pose const & pose,
69  std::ostream & out,
70  id::AtomID_Mask const & mask,
71  std::string const & tag="1"
72 );
73 
74 /// @brief Writes <pose> data
75 void
76 dump_pdb(
77  pose::Pose const & pose,
78  std::ostream & out,
79  std::string const & tag="1"
80 );
81 
82 
83 /// @brief Writes the <pose> data to <filename>
84 ///
85 /// example(s):
86 /// dump_pdb(pose,'my_pose.pdb')
87 /// See also:
88 /// Pose
89 /// Pose.dump_pdb
90 void
91 dump_pdb(
92  pose::Pose const & pose,
93  std::string const & filename,
94  std::string const & tag="1"
95 );
96 
97 
98 /// @brief dump_pdb depending on visibility of tracer
99 /// @param[in] tr output performed if tracer is visible or if passed dummy
100 /// tracer core::io::pdb::TR_dump_pdb_dummy
101 void
103  basic::Tracer const & tr,
104  pose::Pose const & pose,
105  std::ostream & out,
106  std::string const & tag="1"
107 );
108 
109 
110 /// @brief dump_pdb depending on visibility of tracer
111 /// @param[in] tr output performed if tracer is visible or if passed dummy
112 /// tracer core::io::pdb::TR_dump_pdb_dummy
113 void
115  basic::Tracer const & tr,
116  pose::Pose const & pose,
117  std::string const & filename,
118  std::string const & tag="1"
119 );
120 
121 /// @brief Write <pose> Energies information into an output stream
122 /// (e.g. the tail of a pdb file)
123 void extract_scores(
124  pose::Pose const & pose,
125  utility::io::ozstream & out
126 );
127 
128 
129 /// @brief dump_connect_info Figure out CONECT fields for PDB output -- atoms that are bonded in Rosetta but won't look that way to RASMOL or Pymol because of distance -- useful for centroid poses.
130 void
132  pose::Pose const & pose,
133  std::ostream & out );
134 
135 } // namespace pdb
136 } // namespace io
137 } // namespace core
138 
139 
140 #endif // INCLUDED_core_io_pdb_pdb_file_data_HH