Chemical Data Processing Library C++ API - Version 1.2.0
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  class Pen;
47  class Brush;
48 
52  namespace ControlParameterDefault
53  {
54 
58  extern CDPL_VIS_API const double OUTPUT_SCALING_FACTOR;
59 
63  extern CDPL_VIS_API const Rectangle2D VIEWPORT;
64 
68  extern CDPL_VIS_API const unsigned int SIZE_ADJUSTMENT;
69 
73  extern CDPL_VIS_API const unsigned int ALIGNMENT;
74 
78  extern CDPL_VIS_API const Brush BACKGROUND_BRUSH;
79 
83  extern CDPL_VIS_API const unsigned int REACTION_ARROW_STYLE;
84 
89 
94 
99 
104 
109 
114 
118  extern CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT;
119 
123  extern CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT_DIRECTION;
124 
129 
133  extern CDPL_VIS_API const bool SHOW_REACTION_REACTANTS;
134 
138  extern CDPL_VIS_API const bool SHOW_REACTION_AGENTS;
139 
143  extern CDPL_VIS_API const bool SHOW_REACTION_PRODUCTS;
144 
148  extern CDPL_VIS_API const unsigned int REACTION_AGENT_ALIGNMENT;
149 
153  extern CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT;
154 
158  extern CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT_DIRECTION;
159 
164 
169 
174 
178  extern CDPL_VIS_API const bool SHOW_REACTION_PLUS_SIGNS;
179 
183  extern CDPL_VIS_API const Color ATOM_COLOR;
184 
189 
194 
198  extern CDPL_VIS_API const Font ATOM_LABEL_FONT;
199 
204 
209 
214 
220 
226 
232 
238 
244 
250 
255 
260 
266 
272 
278 
284 
288  extern CDPL_VIS_API const bool SHOW_CARBONS;
289 
293  extern CDPL_VIS_API const bool SHOW_EXPLICIT_HYDROGENS;
294 
298  extern CDPL_VIS_API const bool SHOW_CHARGES;
299 
303  extern CDPL_VIS_API const bool SHOW_ISOTOPES;
304 
308  extern CDPL_VIS_API const bool SHOW_HYDROGEN_COUNTS;
309 
314 
318  extern CDPL_VIS_API const bool SHOW_ATOM_QUERY_INFOS;
319 
323  extern CDPL_VIS_API const bool SHOW_ATOM_REACTION_INFOS;
324 
328  extern CDPL_VIS_API const bool SHOW_RADICAL_ELECTRONS;
329 
335 
340  extern CDPL_VIS_API const bool SHOW_ATOM_CUSTOM_LABELS;
341 
346  extern CDPL_VIS_API const bool ENABLE_ATOM_HIGHLIGHTING;
347 
353 
357  extern CDPL_VIS_API const Color BOND_COLOR;
358 
363 
368 
373 
378 
383 
388 
393 
398 
403 
407  extern CDPL_VIS_API const Font BOND_LABEL_FONT;
408 
413 
419 
425 
431 
437 
443 
449 
454 
460 
466 
472 
476  extern CDPL_VIS_API const bool SHOW_BOND_REACTION_INFOS;
477 
481  extern CDPL_VIS_API const bool SHOW_BOND_QUERY_INFOS;
482 
486  extern CDPL_VIS_API const bool SHOW_STEREO_BONDS;
487 
493 
498  extern CDPL_VIS_API const bool SHOW_BOND_CUSTOM_LABELS;
499 
504  extern CDPL_VIS_API const bool ENABLE_BOND_HIGHLIGHTING;
505 
511 
517 
523 
528  extern CDPL_VIS_API const double GRID_VIEW_MARGIN;
529 
534  extern CDPL_VIS_API const double GRID_VIEW_CELL_PADDING;
535 
541 
547 
548  } // namespace ControlParameterDefault
549  } // namespace Vis
550 } // namespace CDPL
551 
552 #endif // CDPL_VIS_CONTROLPARAMETERDEFAULT_HPP
Definition of the type CDPL::Vis::ColorTable.
Definition of the preprocessor macro CDPL_VIS_API.
#define CDPL_VIS_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Specifies the fill pattern and fill color of shapes.
Definition: Brush.hpp:50
std::shared_ptr< ColorTable > SharedPointer
Definition: ColorTable.hpp:51
Specifies a color in terms of its red, green and blue components and an alpha-channel for transparenc...
Definition: Color.hpp:52
Specifies a font for drawing text.
Definition: Font.hpp:54
Specifies how to draw lines and outlines of shapes.
Definition: Pen.hpp:53
Specifies an axis aligned rectangular area in 2D space.
Definition: Rectangle2D.hpp:51
Specifies the value and type of a size attribute and defines how the value may change during processi...
Definition: SizeSpecification.hpp:45
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_API const SizeSpecification REACTION_COMPONENT_MARGIN
Default setting (= SizeSpecification(5.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL_VIS_API const bool SHOW_HYDROGEN_COUNTS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_HYDROGEN_COUNTS.
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_API const bool SHOW_BOND_CUSTOM_LABELS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_BOND_CUSTOM_LABELS.
CDPL_VIS_API const Font SECONDARY_ATOM_LABEL_FONT
Default setting (= Font()) for the control-parameter Vis::ControlParameter::SECONDARY_ATOM_LABEL_FONT...
CDPL_VIS_API const Font BOND_CUSTOM_LABEL_FONT
Default setting (= Font("", 8.0, false, false)) for the control-parameter Vis::ControlParameter::BOND...
CDPL_VIS_API const Color BOND_CONFIGURATION_LABEL_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::BOND_CONFIGURATION_...
CDPL_VIS_API const Color BOND_CUSTOM_LABEL_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::BOND_CUSTOM_LABEL_C...
CDPL_VIS_API const SizeSpecification REACTION_ARROW_LENGTH
Default setting (= SizeSpecification(35.0, true, true, true)) for the control-parameter Vis::ControlP...
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_API const SizeSpecification BOND_CUSTOM_LABEL_SIZE
Default setting (= SizeSpecification(8.0, false, false, true)) for the control-parameter Vis::Control...
CDPL_VIS_API const Font BOND_LABEL_FONT
Default setting (= Font()) for the control-parameter Vis::ControlParameter::BOND_LABEL_FONT.
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_API const Brush BOND_HIGHLIGHT_AREA_BRUSH
Default setting (= Brush(Color(0.8, 0.8, 1.0)) for the control-parameter Vis::ControlParameter::BOND_...
CDPL_VIS_API const Pen GRID_VIEW_ROW_SEPARATOR_PEN
Default setting (= Pen(Pen::NO_LINE)) for the control-parameter Vis::ControlParameter::GRID_VIEW_ROW_...
CDPL_VIS_API const bool SHOW_ATOM_CONFIGURATION_LABELS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_ATOM_CONFIGURATION_LA...
CDPL_VIS_API const bool SHOW_STEREO_BONDS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_STEREO_BONDS.
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_API const double OUTPUT_SCALING_FACTOR
Default setting (= 1.0) for the control-parameter Vis::ControlParameter::OUTPUT_SCALING_FACTOR.
CDPL_VIS_API const SizeSpecification BOND_LINE_WIDTH
Default setting (= SizeSpecification(1.5, false, false, true)) for the control-parameter Vis::Control...
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_API const bool USE_CALCULATED_ATOM_COORDINATES
Default setting (= false) for the control-parameter Vis::ControlParameter::USE_CALCULATED_ATOM_COORDI...
CDPL_VIS_API const Pen ATOM_HIGHLIGHT_AREA_OUTLINE_PEN
Default setting (= Pen(Color(0.6, 0.6, 0.75)) for the control-parameter Vis::ControlParameter::ATOM_H...
CDPL_VIS_API const Color ATOM_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::ATOM_COLOR.
CDPL_VIS_API const bool SHOW_EXPLICIT_HYDROGENS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_EXPLICIT_HYDROGENS.
CDPL_VIS_API const Color ATOM_CUSTOM_LABEL_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::ATOM_CUSTOM_LABEL_C...
CDPL_VIS_API const bool SHOW_CHARGES
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_CHARGES.
CDPL_VIS_API const bool SHOW_REACTION_AGENTS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_AGENTS.
CDPL_VIS_API const bool ENABLE_BOND_HIGHLIGHTING
Default setting (= true) for the control-parameter Vis::ControlParameter::ENABLE_BOND_HIGHLIGHTING.
CDPL_VIS_API const Color ATOM_CONFIGURATION_LABEL_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::ATOM_CONFIGURATION_...
CDPL_VIS_API const unsigned int REACTION_AGENT_ALIGNMENT
Default setting (= Alignment::V_CENTER) for the control-parameter Vis::ControlParameter::REACTION_AGE...
CDPL_VIS_API const SizeSpecification BOND_LENGTH
Default setting (= SizeSpecification(30.0)) for the control-parameter Vis::ControlParameter::BOND_LEN...
CDPL_VIS_API const bool SHOW_REACTION_REACTANTS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_REACTANTS.
CDPL_VIS_API const bool SHOW_RADICAL_ELECTRONS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_RADICAL_ELECTRONS.
CDPL_VIS_API const Font ATOM_LABEL_FONT
Default setting (= Font()) for the control-parameter Vis::ControlParameter::ATOM_LABEL_FONT.
CDPL_VIS_API const bool ENABLE_ATOM_HIGHLIGHTING
Default setting (= true) for the control-parameter Vis::ControlParameter::ENABLE_ATOM_HIGHLIGHTING.
CDPL_VIS_API const SizeSpecification ATOM_CUSTOM_LABEL_SIZE
Default setting (= SizeSpecification(8.0, false, false, true)) for the control-parameter Vis::Control...
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_API const Pen BOND_HIGHLIGHT_AREA_OUTLINE_PEN
Default setting (= Pen(Color(0.6, 0.6, 0.75)) for the control-parameter Vis::ControlParameter::BOND_H...
CDPL_VIS_API const Pen GRID_VIEW_COLUMN_SEPARATOR_PEN
Default setting (= Pen(Pen::NO_LINE)) for the control-parameter Vis::ControlParameter::GRID_VIEW_COLU...
CDPL_VIS_API const SizeSpecification ATOM_HIGHLIGHT_AREA_SIZE
Default setting (= SizeSpecification(16.0, false, false, true)) for the control-parameter Vis::Contro...
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_API const SizeSpecification ATOM_LABEL_SIZE
Default setting (= SizeSpecification(10.0, false, false, true)) for the control-parameter Vis::Contro...
CDPL_VIS_API const SizeSpecification ATOM_LABEL_MARGIN
Default setting (= SizeSpecification(2.0, false, false, true)) for the control-parameter Vis::Control...
CDPL_VIS_API const Color REACTION_PLUS_SIGN_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::REACTION_PLUS_SIGN_...
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_API const Font ATOM_CUSTOM_LABEL_FONT
Default setting (= Font("", 8.0, false, false)) for the control-parameter Vis::ControlParameter::ATOM...
CDPL_VIS_API const Brush ATOM_HIGHLIGHT_AREA_BRUSH
Default setting (= Brush(Color(0.8, 0.8, 1.0)) for the control-parameter Vis::ControlParameter::ATOM_...
CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT
Default setting (= LayoutStyle::PACKED) for the control-parameter Vis::ControlParameter::REACTION_COM...
CDPL_VIS_API const bool SHOW_ATOM_CUSTOM_LABELS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_ATOM_CUSTOM_LABELS.
CDPL_VIS_API const bool SHOW_BOND_REACTION_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_BOND_REACTION_INFOS.
CDPL_VIS_API const unsigned int REACTION_COMPONENT_LAYOUT_DIRECTION
Default setting (= LayoutDirection::HORIZONTAL) for the control-parameter Vis::ControlParameter::REAC...
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_API const Rectangle2D VIEWPORT
Default setting (= Rectangle2D()) for the control-parameter Vis::ControlParameter::VIEWPORT.
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_API const bool SHOW_ATOM_QUERY_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_ATOM_QUERY_INFOS.
CDPL_VIS_API const SizeSpecification BOND_LABEL_SIZE
Default setting (= SizeSpecification(8.0, false, false, true)) for the control-parameter Vis::Control...
CDPL_VIS_API const Color REACTION_ARROW_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::REACTION_ARROW_COLO...
CDPL_VIS_API const SizeSpecification BOND_LINE_SPACING
Default setting (= SizeSpecification(0.15, true, true, true)) for the control-parameter Vis::ControlP...
CDPL_VIS_API const bool SHOW_CARBONS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_CARBONS.
CDPL_VIS_API const bool SHOW_ISOTOPES
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_ISOTOPES.
CDPL_VIS_API const bool SHOW_ATOM_REACTION_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_ATOM_REACTION_INFOS.
CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT
Default setting (= LayoutStyle::LINEAR) for the control-parameter Vis::ControlParameter::REACTION_AGE...
CDPL_VIS_API const Font GRID_VIEW_TEXT_FONT
Default setting (= Font("", 10.0)) for the control-parameter Vis::ControlParameter::GRID_VIEW_TEXT_FO...
CDPL_VIS_API const double GRID_VIEW_CELL_PADDING
Default setting (= 5.0) for the control-parameter Vis::ControlParameter::GRID_VIEW_CELL_PADDING.
CDPL_VIS_API const unsigned int ALIGNMENT
Default setting (= Alignment::CENTER) for the control-parameter Vis::ControlParameter::ALIGNMENT.
CDPL_VIS_API const SizeSpecification BOND_HIGHLIGHT_AREA_WIDTH
Default setting (= SizeSpecification(12.0, false, false, true)) for the control-parameter Vis::Contro...
CDPL_VIS_API const SizeSpecification BOND_LABEL_MARGIN
Default setting (= SizeSpecification(2.0, false, false, true)) for the control-parameter Vis::Control...
CDPL_VIS_API const bool SHOW_BOND_CONFIGURATION_LABELS
Default setting (= false) for the control-parameter Vis::ControlParameter::SHOW_BOND_CONFIGURATION_LA...
CDPL_VIS_API const bool SHOW_BOND_QUERY_INFOS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_BOND_QUERY_INFOS.
CDPL_VIS_API const bool SHOW_REACTION_PLUS_SIGNS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_PLUS_SIGNS.
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_API const SizeSpecification DOUBLE_BOND_TRIM_LENGTH
Default setting (= SizeSpecification(0.1, true, true, true)) for the control-parameter Vis::ControlPa...
CDPL_VIS_API const double GRID_VIEW_MARGIN
Default setting (= 0.0) for the control-parameter Vis::ControlParameter::GRID_VIEW_MARGIN.
CDPL_VIS_API const SizeSpecification HIGHLIGHT_AREA_OUTLINE_WIDTH
Default setting (= SizeSpecification(1.0, false, false, true)) for the control-parameter Vis::Control...
CDPL_VIS_API const unsigned int REACTION_ARROW_STYLE
Default setting (= ArrowStyle::REACTION_SOLID) for the control-parameter Vis::ControlParameter::REACT...
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_API const ColorTable::SharedPointer ATOM_COLOR_TABLE
Default setting (= ColorTable()) for the control-parameter Vis::ControlParameter::ATOM_COLOR_TABLE.
CDPL_VIS_API const unsigned int SIZE_ADJUSTMENT
Default setting (= SizeAdjustment::IF_REQUIRED) for the control-parameter Vis::ControlParameter::SIZE...
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_API const Color GRID_VIEW_TEXT_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::GRID_VIEW_TEXT_COLO...
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_API const bool BREAK_ATOM_HIGHLIGHT_AREA_OUTLINE
Default setting (= false) for the control-parameter Vis::ControlParameter::BREAK_ATOM_HIGHLIGHT_AREA_...
CDPL_VIS_API const Pen GRID_VIEW_BORDER_PEN
Default setting (= Pen(Pen::NO_LINE)) for the control-parameter Vis::ControlParameter::GRID_VIEW_BORD...
CDPL_VIS_API const Color BOND_COLOR
Default setting (= Color::BLACK) for the control-parameter Vis::ControlParameter::BOND_COLOR.
CDPL_VIS_API const unsigned int REACTION_AGENT_LAYOUT_DIRECTION
Default setting (= LayoutDirection::HORIZONTAL) for the control-parameter Vis::ControlParameter::REAC...
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_API const SizeSpecification REACTION_PLUS_SIGN_LINE_WIDTH
Default setting (= SizeSpecification(3.0, false, true, true)) for the control-parameter Vis::ControlP...
CDPL_VIS_API const bool SHOW_REACTION_PRODUCTS
Default setting (= true) for the control-parameter Vis::ControlParameter::SHOW_REACTION_PRODUCTS.
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_API const Brush BACKGROUND_BRUSH
Default setting (= Brush(Color::WHITE, Brush::NO_PATTERN)) for the control-parameter Vis::ControlPara...
The namespace of the Chemical Data Processing Library.