Chemical Data Processing Library C++ API - Version 1.1.1
Vis/ControlParameterDefault.hpp
Go to the documentation of this file.
1 /*
2  * ControlParameterDefault.hpp
3  *
4  * This file is part of the Chemical Data Processing Toolkit
5  *
6  * Copyright (C) 2003 Thomas Seidel <thomas.seidel@univie.ac.at>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; see the file COPYING. If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
29 #ifndef CDPL_VIS_CONTROLPARAMETERDEFAULT_HPP
30 #define CDPL_VIS_CONTROLPARAMETERDEFAULT_HPP
31 
32 #include "CDPL/Vis/APIPrefix.hpp"
33 #include "CDPL/Vis/ColorTable.hpp"
34 
35 
36 namespace CDPL
37 {
38 
39  namespace Vis
40  {
41 
42  class Color;
43  class Font;
44  class SizeSpecification;
45  class Rectangle2D;
46 
50  namespace ControlParameterDefault
51  {
52 
56  extern CDPL_VIS_API const Rectangle2D VIEWPORT;
57 
61  extern CDPL_VIS_API const unsigned int SIZE_ADJUSTMENT;
62 
66  extern CDPL_VIS_API const unsigned int ALIGNMENT;
67 
71  extern CDPL_VIS_API const Color BACKGROUND_COLOR;
72 
76  extern CDPL_VIS_API const unsigned int REACTION_ARROW_STYLE;
77 
82 
87 
92 
97 
102 
107 
111  extern CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT;
112 
116  extern CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT_DIRECTION;
117 
122 
126  extern CDPL_VIS_API const bool SHOW_REACTION_REACTANTS;
127 
131  extern CDPL_VIS_API const bool SHOW_REACTION_AGENTS;
132 
136  extern CDPL_VIS_API const bool SHOW_REACTION_PRODUCTS;
137 
141  extern CDPL_VIS_API const unsigned int REACTION_AGENT_ALIGNMENT;
142 
146  extern CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT;
147 
151  extern CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT_DIRECTION;
152 
157 
162 
167 
171  extern CDPL_VIS_API const bool SHOW_REACTION_PLUS_SIGNS;
172 
176  extern CDPL_VIS_API const Color ATOM_COLOR;
177 
182 
187 
191  extern CDPL_VIS_API const Font ATOM_LABEL_FONT;
192 
197 
202 
207 
213 
219 
224 
229 
233  extern CDPL_VIS_API const bool SHOW_CARBONS;
234 
238  extern CDPL_VIS_API const bool SHOW_EXPLICIT_HYDROGENS;
239 
243  extern CDPL_VIS_API const bool SHOW_CHARGES;
244 
248  extern CDPL_VIS_API const bool SHOW_ISOTOPES;
249 
253  extern CDPL_VIS_API const bool SHOW_HYDROGEN_COUNTS;
254 
259 
263  extern CDPL_VIS_API const bool SHOW_ATOM_QUERY_INFOS;
264 
268  extern CDPL_VIS_API const bool SHOW_ATOM_REACTION_INFOS;
269 
273  extern CDPL_VIS_API const bool SHOW_RADICAL_ELECTRONS;
274 
280 
284  extern CDPL_VIS_API const Color BOND_COLOR;
285 
290 
295 
300 
305 
310 
315 
320 
325 
330 
334  extern CDPL_VIS_API const Font BOND_LABEL_FONT;
335 
340 
346 
352 
357 
361  extern CDPL_VIS_API const bool SHOW_BOND_REACTION_INFOS;
362 
366  extern CDPL_VIS_API const bool SHOW_BOND_QUERY_INFOS;
367 
371  extern CDPL_VIS_API const bool SHOW_STEREO_BONDS;
372 
378  } // namespace ControlParameterDefault
379  } // namespace Vis
380 } // namespace CDPL
381 
382 #endif // CDPL_VIS_CONTROLPARAMETERDEFAULT_HPP
CDPL::Vis::SizeSpecification
Specifies the value and type of a size attribute and defines how the value may change during processi...
Definition: SizeSpecification.hpp:45
CDPL::Vis::ControlParameterDefault::REACTION_CENTER_LINE_SPACING
CDPL_VIS_API const SizeSpecification REACTION_CENTER_LINE_SPACING
Default setting (= SizeSpecification(0.1, true, true, true)) for the control-parameter Vis::ControlPa...
CDPL::Vis::ControlParameterDefault::SHOW_REACTION_REACTANTS
CDPL_VIS_API const bool SHOW_REACTION_REACTANTS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_REACTANTS.
CDPL::Vis::ControlParameterDefault::REACTION_PLUS_SIGN_LINE_WIDTH
CDPL_VIS_API const SizeSpecification REACTION_PLUS_SIGN_LINE_WIDTH
Default setting (= SizeSpecification(3.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::SHOW_ATOM_QUERY_INFOS
CDPL_VIS_API const bool SHOW_ATOM_QUERY_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_ATOM_QUERY_INFOS.
CDPL::Vis::ControlParameterDefault::STEREO_BOND_WEDGE_WIDTH
CDPL_VIS_API const SizeSpecification STEREO_BOND_WEDGE_WIDTH
Default setting (= SizeSpecification(0.15, true, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::ATOM_COLOR_TABLE
CDPL_VIS_API const ColorTable::SharedPointer ATOM_COLOR_TABLE
Default setting (= ColorTable()) for the control-parameter Vis::ControlParameter::ATOM_COLOR_TABLE.
CDPL::Vis::ControlParameterDefault::DOUBLE_BOND_TRIM_LENGTH
CDPL_VIS_API const SizeSpecification DOUBLE_BOND_TRIM_LENGTH
Default setting (= SizeSpecification(0.1, true, true, true)) for the control-parameter Vis::ControlPa...
CDPL::Vis::ControlParameterDefault::USE_CALCULATED_ATOM_COORDINATES
CDPL_VIS_API const bool USE_CALCULATED_ATOM_COORDINATES
Default setting (= false) for the control-parameter Vis::ControlParameter::USE_CALCULATED_ATOM_COORDI...
CDPL::Vis::ControlParameterDefault::ATOM_LABEL_FONT
CDPL_VIS_API const Font ATOM_LABEL_FONT
Default setting (= Font()) for the control-parameter Vis::ControlParameter::ATOM_LABEL_FONT.
CDPL::Vis::ControlParameterDefault::BOND_CONFIGURATION_LABEL_FONT
CDPL_VIS_API const Font BOND_CONFIGURATION_LABEL_FONT
Default setting (= Font("", 8.0, false, true)) for the control-parameter Vis::ControlParameter::BOND_...
CDPL::Vis::ControlParameterDefault::SHOW_REACTION_AGENTS
CDPL_VIS_API const bool SHOW_REACTION_AGENTS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_AGENTS.
CDPL::Vis::ControlParameterDefault::REACTION_PLUS_SIGN_COLOR
CDPL_VIS_API const Color REACTION_PLUS_SIGN_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::REACTION_PLUS_SIGN_...
CDPL::Vis::ControlParameterDefault::ATOM_LABEL_MARGIN
CDPL_VIS_API const SizeSpecification ATOM_LABEL_MARGIN
Default setting (= SizeSpecification(2.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::REACTION_COMPONENT_MARGIN
CDPL_VIS_API const SizeSpecification REACTION_COMPONENT_MARGIN
Default setting (= SizeSpecification(5.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::ATOM_CONFIGURATION_LABEL_SIZE
CDPL_VIS_API const SizeSpecification ATOM_CONFIGURATION_LABEL_SIZE
Default setting (= SizeSpecification(8.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::ATOM_CONFIGURATION_LABEL_FONT
CDPL_VIS_API const Font ATOM_CONFIGURATION_LABEL_FONT
Default setting (= Font("", 8.0, false, true)) for the control-parameter Vis::ControlParameter::ATOM_...
CDPL::Vis::ControlParameterDefault::REACTION_ARROW_LENGTH
CDPL_VIS_API const SizeSpecification REACTION_ARROW_LENGTH
Default setting (= SizeSpecification(35.0, true, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::REACTION_COMPONENT_LAYOUT_DIRECTION
CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT_DIRECTION
Default setting (= LayoutDirection::HORIZONTAL) for the control-parameter Vis::ControlParameter::REAC...
CDPL::Vis::ControlParameterDefault::SECONDARY_ATOM_LABEL_SIZE
CDPL_VIS_API const SizeSpecification SECONDARY_ATOM_LABEL_SIZE
Default setting (= SizeSpecification(6.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::BOND_LENGTH
CDPL_VIS_API const SizeSpecification BOND_LENGTH
Default setting (= SizeSpecification(30.0)) for the control-parameter Vis::ControlParameter::BOND_LEN...
CDPL::Vis::ControlParameterDefault::REACTION_CENTER_LINE_LENGTH
CDPL_VIS_API const SizeSpecification REACTION_CENTER_LINE_LENGTH
Default setting (= SizeSpecification(0.4, true, true, true)) for the control-parameter Vis::ControlPa...
CDPL::Vis::ControlParameterDefault::BOND_LABEL_SIZE
CDPL_VIS_API const SizeSpecification BOND_LABEL_SIZE
Default setting (= SizeSpecification(8.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::BOND_COLOR
CDPL_VIS_API const Color BOND_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::BOND_COLOR.
CDPL::Vis::ControlParameterDefault::SHOW_ATOM_REACTION_INFOS
CDPL_VIS_API const bool SHOW_ATOM_REACTION_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_ATOM_REACTION_INFOS.
CDPL::Vis::Font
Specifies a font for drawing text.
Definition: Font.hpp:54
CDPL::Vis::ControlParameterDefault::REACTION_ARROW_HEAD_LENGTH
CDPL_VIS_API const SizeSpecification REACTION_ARROW_HEAD_LENGTH
Default setting (= SizeSpecification(8.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::SHOW_RADICAL_ELECTRONS
CDPL_VIS_API const bool SHOW_RADICAL_ELECTRONS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_RADICAL_ELECTRONS.
CDPL::Vis::ControlParameterDefault::SHOW_REACTION_PRODUCTS
CDPL_VIS_API const bool SHOW_REACTION_PRODUCTS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_PRODUCTS.
CDPL::Vis::ControlParameterDefault::BOND_LABEL_MARGIN
CDPL_VIS_API const SizeSpecification BOND_LABEL_MARGIN
Default setting (= SizeSpecification(2.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::REACTION_AGENT_ALIGNMENT
CDPL_VIS_API const unsigned int REACTION_AGENT_ALIGNMENT
Default setting (= Alignment::V_CENTER) for the control-parameter Vis::ControlParameter::REACTION_AGE...
CDPL::Vis::ColorTable::SharedPointer
std::shared_ptr< ColorTable > SharedPointer
Definition: ColorTable.hpp:51
CDPL::Vis::ControlParameterDefault::ATOM_LABEL_SIZE
CDPL_VIS_API const SizeSpecification ATOM_LABEL_SIZE
Default setting (= SizeSpecification(10.0, false, false, true)) for the control-parameter Vis::Contro...
CDPL_VIS_API
#define CDPL_VIS_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
CDPL::Vis::ControlParameterDefault::RADICAL_ELECTRON_DOT_SIZE
CDPL_VIS_API const SizeSpecification RADICAL_ELECTRON_DOT_SIZE
Default setting (= SizeSpecification(1.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::SHOW_EXPLICIT_HYDROGENS
CDPL_VIS_API const bool SHOW_EXPLICIT_HYDROGENS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_EXPLICIT_HYDROGENS.
CDPL::Vis::ControlParameterDefault::BOND_LINE_SPACING
CDPL_VIS_API const SizeSpecification BOND_LINE_SPACING
Default setting (= SizeSpecification(0.15, true, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::REACTION_ARROW_COLOR
CDPL_VIS_API const Color REACTION_ARROW_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::REACTION_ARROW_COLO...
CDPL::Vis::ControlParameterDefault::BOND_LABEL_FONT
CDPL_VIS_API const Font BOND_LABEL_FONT
Default setting (= Font()) for the control-parameter Vis::ControlParameter::BOND_LABEL_FONT.
CDPL::Vis::ControlParameterDefault::REACTION_PLUS_SIGN_SIZE
CDPL_VIS_API const SizeSpecification REACTION_PLUS_SIGN_SIZE
Default setting (= SizeSpecification(10.0, false, true, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::SHOW_STEREO_BONDS
CDPL_VIS_API const bool SHOW_STEREO_BONDS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_STEREO_BONDS.
CDPL::Vis::ControlParameterDefault::BOND_CONFIGURATION_LABEL_SIZE
CDPL_VIS_API const SizeSpecification BOND_CONFIGURATION_LABEL_SIZE
Default setting (= SizeSpecification(8.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::TRIPLE_BOND_TRIM_LENGTH
CDPL_VIS_API const SizeSpecification TRIPLE_BOND_TRIM_LENGTH
Default setting (= SizeSpecification(0.1, true, true, true)) for the control-parameter Vis::ControlPa...
CDPL::Vis::ControlParameterDefault::SHOW_BOND_REACTION_INFOS
CDPL_VIS_API const bool SHOW_BOND_REACTION_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_BOND_REACTION_INFOS.
CDPL::Vis::ControlParameterDefault::SHOW_BOND_QUERY_INFOS
CDPL_VIS_API const bool SHOW_BOND_QUERY_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_BOND_QUERY_INFOS.
CDPL::Vis::ControlParameterDefault::ATOM_COLOR
CDPL_VIS_API const Color ATOM_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::ATOM_COLOR.
CDPL::Vis::ControlParameterDefault::REACTION_AGENT_LAYOUT_DIRECTION
CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT_DIRECTION
Default setting (= LayoutDirection::HORIZONTAL) for the control-parameter Vis::ControlParameter::REAC...
CDPL
The namespace of the Chemical Data Processing Library.
CDPL::Vis::Rectangle2D
Specifies an axis aligned rectangular area in 2D space.
Definition: Rectangle2D.hpp:51
CDPL::Vis::ControlParameterDefault::SHOW_ATOM_CONFIGURATION_LABELS
CDPL_VIS_API const bool SHOW_ATOM_CONFIGURATION_LABELS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_ATOM_CONFIGURATION_LA...
CDPL::Vis::ControlParameterDefault::REACTION_ARROW_LINE_WIDTH
CDPL_VIS_API const SizeSpecification REACTION_ARROW_LINE_WIDTH
Default setting (= SizeSpecification(1.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::BOND_LINE_WIDTH
CDPL_VIS_API const SizeSpecification BOND_LINE_WIDTH
Default setting (= SizeSpecification(1.0, false, false, true)) for the control-parameter Vis::Control...
CDPL::Vis::ControlParameterDefault::VIEWPORT
CDPL_VIS_API const Rectangle2D VIEWPORT
Default setting (= Rectangle2D()) for the control-parameter Vis::ControlParameter::VIEWPORT.
CDPL::Vis::ControlParameterDefault::REACTION_ARROW_HEAD_WIDTH
CDPL_VIS_API const SizeSpecification REACTION_ARROW_HEAD_WIDTH
Default setting (= SizeSpecification(5.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::BACKGROUND_COLOR
CDPL_VIS_API const Color BACKGROUND_COLOR
Default setting (= Color::TRANSPARENT) for the control-parameter Vis::ControlParameter::BACKGROUND_CO...
CDPL::Vis::ControlParameterDefault::REACTION_COMPONENT_LAYOUT
CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT
Default setting (= LayoutStyle::PACKED) for the control-parameter Vis::ControlParameter::REACTION_COM...
CDPL::Vis::ControlParameterDefault::REACTION_AGENT_LAYOUT
CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT
Default setting (= LayoutStyle::LINEAR) for the control-parameter Vis::ControlParameter::REACTION_AGE...
CDPL::Vis::ControlParameterDefault::SHOW_REACTION_PLUS_SIGNS
CDPL_VIS_API const bool SHOW_REACTION_PLUS_SIGNS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_PLUS_SIGNS.
CDPL::Vis::ControlParameterDefault::REACTION_ARROW_STYLE
CDPL_VIS_API const unsigned int REACTION_ARROW_STYLE
Default setting (= ArrowStyle::REACTION_SOLID) for the control-parameter Vis::ControlParameter::REACT...
APIPrefix.hpp
Definition of the preprocessor macro CDPL_VIS_API.
CDPL::Vis::ControlParameterDefault::REACTION_ARROW_SHAFT_WIDTH
CDPL_VIS_API const SizeSpecification REACTION_ARROW_SHAFT_WIDTH
Default setting (= SizeSpecification(0.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL::Vis::ControlParameterDefault::SHOW_NON_CARBON_HYDROGEN_COUNTS
CDPL_VIS_API const bool SHOW_NON_CARBON_HYDROGEN_COUNTS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_NON_CARBON_HYDROGEN_CO...
CDPL::Vis::ControlParameterDefault::SECONDARY_ATOM_LABEL_FONT
CDPL_VIS_API const Font SECONDARY_ATOM_LABEL_FONT
Default setting (= Font()) for the control-parameter Vis::ControlParameter::SECONDARY_ATOM_LABEL_FONT...
CDPL::Vis::ControlParameterDefault::STEREO_BOND_HASH_SPACING
CDPL_VIS_API const SizeSpecification STEREO_BOND_HASH_SPACING
Default setting (= SizeSpecification(0.1, true, true, true)) for the control-parameter Vis::ControlPa...
CDPL::Vis::ControlParameterDefault::ALIGNMENT
CDPL_VIS_API const unsigned int ALIGNMENT
Default setting (= Alignment::CENTER) for the control-parameter Vis::ControlParameter::ALIGNMENT.
CDPL::Vis::ControlParameterDefault::SIZE_ADJUSTMENT
CDPL_VIS_API const unsigned int SIZE_ADJUSTMENT
Default setting (= SizeAdjustment::IF_REQUIRED) for the control-parameter Vis::ControlParameter::SIZE...
CDPL::Vis::ControlParameterDefault::SHOW_BOND_CONFIGURATION_LABELS
CDPL_VIS_API const bool SHOW_BOND_CONFIGURATION_LABELS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_BOND_CONFIGURATION_LA...
ColorTable.hpp
Definition of the type CDPL::Vis::ColorTable.
CDPL::Vis::ControlParameterDefault::SHOW_CHARGES
CDPL_VIS_API const bool SHOW_CHARGES
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_CHARGES.
CDPL::Vis::ControlParameterDefault::SHOW_ISOTOPES
CDPL_VIS_API const bool SHOW_ISOTOPES
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_ISOTOPES.
CDPL::Vis::ControlParameterDefault::SHOW_CARBONS
CDPL_VIS_API const bool SHOW_CARBONS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_CARBONS.
CDPL::Vis::Color
Specifies a color in terms of its red, green and blue components and an alpha-channel for transparenc...
Definition: Color.hpp:52
CDPL::Vis::ControlParameterDefault::SHOW_HYDROGEN_COUNTS
CDPL_VIS_API const bool SHOW_HYDROGEN_COUNTS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_HYDROGEN_COUNTS.