Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GraphicsState.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 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file
11 /// @brief
12 /// @author
13 
14 #ifndef INCLUDED_protocols_viewer_GraphicsState_hh
15 #define INCLUDED_protocols_viewer_GraphicsState_hh
16 
17 // Unit headers
18 
19 // Package headers
20 #include <core/types.hh>
21 #include <numeric/xyzVector.hh>
22 
23 // Project headers
24 
25 // C++ Headers
26 
27 namespace protocols {
28 namespace viewer {
29 namespace graphics_states_param {
30  //lin backbone display state
31  const size_t Num_BBdisplayState = 3;
33 
34  //lin sidechain display state
35  const size_t Num_SCdisplayState = 3;
37 
38  //lin color state
39  const size_t Num_ColorModes = 8;
41 
42  //lin trajectory state
43  const size_t Num_TrajectoryState = 5;
45 
46  // H state
47  const size_t Num_ShowHState = 2;
49 
50 }
51 using namespace graphics_states_param;
52 
53 //lin define the graphics state
55  public:
61  core::Vector previous_vertex1, previous_vertex2, previous_width_vector;
62 
63  core::Real density_sigma; // contour level of density
65 
67  BBdisplay_state (SHOW_CARTOON),//default
68  SCdisplay_state (SHOW_STICK),//default
69  Color_mode (RAINBOW_COLOR),//default
70  Trajectory_state (SHOW_ALL_TRIALS),//default
71  show_H_state (SHOW_NO_H), //default
72  previous_vertex1( 0.0 ), previous_vertex2( 0.0 ), previous_width_vector( 0.0 ),
73  density_sigma( 2.0 ), density_redraw(true) //default
74  {}
76  BBdisplayState BBdisplay_state_in,
77  SCdisplayState SCdisplay_state_in,
78  ColorMode Color_mode_in,
79  TrajectoryState Trajectory_state_in,
80  ShowHState show_H_state_in
81  ) :
82  BBdisplay_state (BBdisplay_state_in),
83  SCdisplay_state (SCdisplay_state_in),
84  Color_mode (Color_mode_in),
85  Trajectory_state (Trajectory_state_in),
86  show_H_state (show_H_state_in),
87  previous_vertex1( 0.0 ), previous_vertex2( 0.0 ), previous_width_vector( 0.0 ),
88  density_sigma( 2.0 ), density_redraw(true) // default
89  {}
90 };
91 
92 } // viewer
93 } // protocols
94 
95 
96 #endif