Chemical Data Processing Library C++ API - Version 1.4.0
Vis/MolecularGraphFunctions.hpp
Go to the documentation of this file.
1 /*
2  * MolecularGraphFunctions.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_MOLECULARGRAPHFUNCTIONS_HPP
30 #define CDPL_VIS_MOLECULARGRAPHFUNCTIONS_HPP
31 
32 #include "CDPL/Vis/APIPrefix.hpp"
33 #include "CDPL/Vis/ColorTable.hpp"
34 
35 
36 namespace CDPL
37 {
38 
39  namespace Chem
40  {
41 
42  class MolecularGraph;
43  }
44 
45  namespace Vis
46  {
47 
48  class Color;
49  class Font;
50  class Pen;
51  class Brush;
52  class SizeSpecification;
53 
60 
67 
74 
80 
81 
88 
94  CDPL_VIS_API void setAtomColor(Chem::MolecularGraph& molgraph, const Color& color);
95 
102 
108 
109 
116 
123 
130 
136 
137 
144 
151 
158 
164 
165 
172 
179 
186 
192 
193 
200 
207 
214 
220 
221 
228 
235 
242 
248 
249 
256 
263 
270 
276 
284 
292 
300 
307 
315 
323 
331 
338 
346 
354 
362 
369 
377 
385 
393 
400 
408 
416 
424 
431 
439 
447 
455 
462 
470 
478 
486 
493 
501 
509 
517 
524 
532 
540 
548 
555 
563 
571 
579 
586 
587 
594 
600  CDPL_VIS_API void setBondColor(Chem::MolecularGraph& molgraph, const Color& color);
601 
608 
614 
615 
622 
629 
636 
642 
643 
650 
657 
664 
670 
671 
678 
685 
692 
698 
699 
706 
713 
720 
726 
727 
734 
741 
748 
754 
755 
762 
769 
776 
782 
783 
790 
797 
804 
810 
811 
818 
825 
832 
838 
839 
846 
853 
860 
866 
867 
874 
881 
888 
894 
895 
902 
909 
916 
922 
930 
938 
946 
953 
961 
969 
977 
984 
992 
1000 
1008 
1015 
1023 
1031 
1039 
1046 
1054 
1062 
1070 
1077 
1085 
1093 
1101 
1108 
1116 
1124 
1132 
1139 
1147 
1155 
1163 
1170 
1178 
1186 
1194 
1201 
1209 
1210  } // namespace Vis
1211 } // namespace CDPL
1212 
1213 #endif // CDPL_VIS_MOLECULARGRAPHFUNCTIONS_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.
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
Specifies the fill pattern and fill color of shapes.
Definition: Brush.hpp:50
std::shared_ptr< ColorTable > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ColorTable instances.
Definition: ColorTable.hpp:54
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 the value and type of a size attribute and defines how the value may change during processi...
Definition: SizeSpecification.hpp:45
VectorNorm2< E >::ResultType length(const VectorExpression< E > &e)
Returns the length (L2 norm) of the vector expression e (alias of norm2()).
Definition: VectorExpression.hpp:979
CDPL_VIS_API void clearAtomColorTable(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_COLOR_TABLE property of the molecular graph...
CDPL_VIS_API void setBondConfigurationLabelFont(Chem::MolecularGraph &molgraph, const Font &font)
Sets the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_FONT property of the mole...
CDPL_VIS_API void setReactionCenterLineSpacing(Chem::Bond &bond, const SizeSpecification &spacing)
Sets the value of the Vis::BondProperty::REACTION_CENTER_LINE_SPACING property of the bond bond to sp...
CDPL_VIS_API void setBondCustomLabelFont(Chem::MolecularGraph &molgraph, const Font &font)
Sets the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_FONT property of the molecular g...
CDPL_VIS_API bool hasBondCustomLabelFont(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_FONT property of the molecular graph...
CDPL_VIS_API void setAtomHighlightAreaBrush(Chem::MolecularGraph &molgraph, const Brush &brush)
Sets the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_BRUSH property of the molecula...
CDPL_VIS_API void setStereoBondWedgeWidth(Chem::Bond &bond, const SizeSpecification &width)
Sets the value of the Vis::BondProperty::STEREO_BOND_WEDGE_WIDTH property of the bond bond to width.
CDPL_VIS_API void clearStereoBondWedgeWidth(Chem::Bond &bond)
Clears the value of the Vis::BondProperty::STEREO_BOND_WEDGE_WIDTH property of the bond bond.
CDPL_VIS_API void setBondConfigurationLabelColor(Chem::MolecularGraph &molgraph, const Color &color)
Sets the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_COLOR property of the mol...
CDPL_VIS_API void clearBondHighlightAreaBrush(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_BRUSH property of the molecu...
CDPL_VIS_API const Color & getBondCustomLabelColor(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_COLOR property of the molecul...
CDPL_VIS_API void clearSecondaryAtomLabelFont(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_FONT property of the molecu...
CDPL_VIS_API void clearBondConfigurationLabelSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_SIZE property of the mo...
CDPL_VIS_API void clearAtomHighlightAreaSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_SIZE property of the molecul...
CDPL_VIS_API void setAtomCustomLabelColor(Chem::MolecularGraph &molgraph, const Color &color)
Sets the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_COLOR property of the molecular ...
CDPL_VIS_API bool hasHighlightAreaOutlineWidth(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::HIGHLIGHT_AREA_OUTLINE_WIDTH property of the molecular...
CDPL_VIS_API void clearBondLabelFont(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_LABEL_FONT property of the molecular graph ...
CDPL_VIS_API void clearBondLineWidth(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_LINE_WIDTH property of the molecular graph ...
CDPL_VIS_API void clearBondConfigurationLabelFont(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_FONT property of the mo...
CDPL_VIS_API const Font & getAtomLabelFont(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_LABEL_FONT property of the molecular graph...
CDPL_VIS_API bool hasStereoBondHashSpacing(const Chem::Bond &bond)
Tells whether the Vis::BondProperty::STEREO_BOND_HASH_SPACING property of the bond bond is set.
CDPL_VIS_API void setAtomColor(Chem::MolecularGraph &molgraph, const Color &color)
Sets the value of the Vis::MolecularGraphProperty::ATOM_COLOR property of the molecular graph molgrap...
CDPL_VIS_API bool hasBondColor(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_COLOR property of the molecular graph molgraph is...
CDPL_VIS_API void clearBondCustomLabelSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_SIZE property of the molecular...
CDPL_VIS_API bool hasBondConfigurationLabelSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_SIZE property of the molecula...
CDPL_VIS_API bool hasAtomConfigurationLabelFont(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_FONT property of the molecula...
CDPL_VIS_API void setStereoBondHashSpacing(Chem::Bond &bond, const SizeSpecification &spacing)
Sets the value of the Vis::BondProperty::STEREO_BOND_HASH_SPACING property of the bond bond to spacin...
CDPL_VIS_API const SizeSpecification & getBondConfigurationLabelSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_SIZE property of the m...
CDPL_VIS_API void clearAtomConfigurationLabelSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_SIZE property of the mo...
CDPL_VIS_API const ColorTable::SharedPointer & getAtomColorTable(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_COLOR_TABLE property of the molecular grap...
CDPL_VIS_API bool hasBondConfigurationLabelColor(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_COLOR property of the molecul...
CDPL_VIS_API bool hasBondCustomLabelSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_SIZE property of the molecular graph...
CDPL_VIS_API void clearBondHighlightAreaWidth(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_WIDTH property of the molecu...
CDPL_VIS_API bool hasAtomLabelMargin(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_LABEL_MARGIN property of the molecular graph molg...
CDPL_VIS_API bool hasSecondaryAtomLabelFont(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_FONT property of the molecular gr...
CDPL_VIS_API void setAtomConfigurationLabelColor(Chem::MolecularGraph &molgraph, const Color &color)
Sets the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_COLOR property of the mol...
CDPL_VIS_API void setAtomHighlightAreaSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_SIZE property of the molecular...
CDPL_VIS_API void setBondCustomLabelColor(Chem::MolecularGraph &molgraph, const Color &color)
Sets the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_COLOR property of the molecular ...
CDPL_VIS_API bool hasAtomColorTable(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_COLOR_TABLE property of the molecular graph molgr...
CDPL_VIS_API const Font & getBondConfigurationLabelFont(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_FONT property of the m...
CDPL_VIS_API void setAtomLabelSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::ATOM_LABEL_SIZE property of the molecular graph mo...
CDPL_VIS_API void prepareFor2DVisualization(Chem::MolecularGraph &molgraph)
Prepares molgraph for 2D visualization by perceiving all properties (aromaticity, hybridization,...
CDPL_VIS_API void clearAtomColor(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_COLOR property of the molecular graph molgr...
CDPL_VIS_API void clearBondHighlightAreaOutlinePen(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_OUTLINE_PEN property of the ...
CDPL_VIS_API void clearAtomLabelMargin(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_LABEL_MARGIN property of the molecular grap...
CDPL_VIS_API bool hasBondHighlightAreaOutlinePen(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_OUTLINE_PEN property of the molecu...
CDPL_VIS_API const SizeSpecification & getBondCustomLabelSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_SIZE property of the molecula...
CDPL_VIS_API void setAtomHighlightAreaOutlinePen(Chem::MolecularGraph &molgraph, const Pen &pen)
Sets the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_OUTLINE_PEN property of the mo...
CDPL_VIS_API const SizeSpecification & getBondLabelSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_LABEL_SIZE property of the molecular graph...
CDPL_VIS_API void setAtomLabelMargin(Chem::MolecularGraph &molgraph, const SizeSpecification &margin)
Sets the value of the Vis::MolecularGraphProperty::ATOM_LABEL_MARGIN property of the molecular graph ...
CDPL_VIS_API void clearAtomHighlightAreaBrush(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_BRUSH property of the molecu...
CDPL_VIS_API const Font & getAtomCustomLabelFont(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_FONT property of the molecula...
CDPL_VIS_API void clearReactionCenterLineLength(Chem::Bond &bond)
Clears the value of the Vis::BondProperty::REACTION_CENTER_LINE_LENGTH property of the bond bond.
CDPL_VIS_API bool hasBondHighlightAreaWidth(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_WIDTH property of the molecular gr...
CDPL_VIS_API void clearBondConfigurationLabelColor(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_COLOR property of the m...
CDPL_VIS_API const Brush & getBondHighlightAreaBrush(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_BRUSH property of the molec...
CDPL_VIS_API void clearAtomHighlightAreaOutlinePen(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_OUTLINE_PEN property of the ...
CDPL_VIS_API void clearHighlightAreaOutlineWidth(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::HIGHLIGHT_AREA_OUTLINE_WIDTH property of the mol...
CDPL_VIS_API void setBondConfigurationLabelSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_SIZE property of the mole...
CDPL_VIS_API const SizeSpecification & getRadicalElectronDotSize(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::RADICAL_ELECTRON_DOT_SIZE property of the atom atom.
CDPL_VIS_API void clearBondLabelMargin(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_LABEL_MARGIN property of the molecular grap...
CDPL_VIS_API void clearStereoBondHashSpacing(Chem::Bond &bond)
Clears the value of the Vis::BondProperty::STEREO_BOND_HASH_SPACING property of the bond bond.
CDPL_VIS_API bool hasAtomCustomLabelColor(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_COLOR property of the molecular grap...
CDPL_VIS_API void setSecondaryAtomLabelFont(Chem::MolecularGraph &molgraph, const Font &font)
Sets the value of the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_FONT property of the molecula...
CDPL_VIS_API void clearSecondaryAtomLabelSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_SIZE property of the molecu...
CDPL_VIS_API void clearReactionCenterLineSpacing(Chem::Bond &bond)
Clears the value of the Vis::BondProperty::REACTION_CENTER_LINE_SPACING property of the bond bond.
CDPL_VIS_API const SizeSpecification & getSecondaryAtomLabelSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_SIZE property of the molec...
CDPL_VIS_API void clearAtomLabelSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_LABEL_SIZE property of the molecular graph ...
CDPL_VIS_API bool hasReactionCenterLineLength(const Chem::Bond &bond)
Tells whether the Vis::BondProperty::REACTION_CENTER_LINE_LENGTH property of the bond bond is set.
CDPL_VIS_API bool hasTripleBondTrimLength(const Chem::Bond &bond)
Tells whether the Vis::BondProperty::TRIPLE_BOND_TRIM_LENGTH property of the bond bond is set.
CDPL_VIS_API void setBondColor(Chem::MolecularGraph &molgraph, const Color &color)
Sets the value of the Vis::MolecularGraphProperty::BOND_COLOR property of the molecular graph molgrap...
CDPL_VIS_API bool hasAtomConfigurationLabelColor(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_COLOR property of the molecul...
CDPL_VIS_API void setAtomLabelFont(Chem::MolecularGraph &molgraph, const Font &font)
Sets the value of the Vis::MolecularGraphProperty::ATOM_LABEL_FONT property of the molecular graph mo...
CDPL_VIS_API const Font & getBondCustomLabelFont(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_FONT property of the molecula...
CDPL_VIS_API bool hasAtomConfigurationLabelSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_SIZE property of the molecula...
CDPL_VIS_API bool hasAtomHighlightAreaSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_SIZE property of the molecular gra...
CDPL_VIS_API void setRadicalElectronDotSize(Chem::Atom &atom, const SizeSpecification &size)
Sets the value of the Vis::AtomProperty::RADICAL_ELECTRON_DOT_SIZE property of the atom atom to size.
CDPL_VIS_API void setBondLineSpacing(Chem::MolecularGraph &molgraph, const SizeSpecification &spacing)
Sets the value of the Vis::MolecularGraphProperty::BOND_LINE_SPACING property of the molecular graph ...
CDPL_VIS_API bool hasRadicalElectronDotSize(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::RADICAL_ELECTRON_DOT_SIZE property of the atom atom is set.
CDPL_VIS_API const SizeSpecification & getAtomConfigurationLabelSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_SIZE property of the m...
CDPL_VIS_API const Color & getAtomConfigurationLabelColor(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_COLOR property of the ...
CDPL_VIS_API void setBondLabelMargin(Chem::MolecularGraph &molgraph, const SizeSpecification &margin)
Sets the value of the Vis::MolecularGraphProperty::BOND_LABEL_MARGIN property of the molecular graph ...
CDPL_VIS_API void setBondHighlightAreaOutlinePen(Chem::MolecularGraph &molgraph, const Pen &pen)
Sets the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_OUTLINE_PEN property of the mo...
CDPL_VIS_API void clearBondLabelSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_LABEL_SIZE property of the molecular graph ...
CDPL_VIS_API bool hasReactionCenterLineSpacing(const Chem::Bond &bond)
Tells whether the Vis::BondProperty::REACTION_CENTER_LINE_SPACING property of the bond bond is set.
CDPL_VIS_API void setAtomCustomLabelSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_SIZE property of the molecular g...
CDPL_VIS_API bool hasBondLabelFont(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_LABEL_FONT property of the molecular graph molgra...
CDPL_VIS_API void setBondLabelFont(Chem::MolecularGraph &molgraph, const Font &font)
Sets the value of the Vis::MolecularGraphProperty::BOND_LABEL_FONT property of the molecular graph mo...
CDPL_VIS_API const SizeSpecification & getAtomLabelMargin(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_LABEL_MARGIN property of the molecular gra...
CDPL_VIS_API void setBondHighlightAreaWidth(Chem::MolecularGraph &molgraph, const SizeSpecification &width)
Sets the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_WIDTH property of the molecula...
CDPL_VIS_API bool hasDoubleBondTrimLength(const Chem::Bond &bond)
Tells whether the Vis::BondProperty::DOUBLE_BOND_TRIM_LENGTH property of the bond bond is set.
CDPL_VIS_API bool hasSecondaryAtomLabelSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_SIZE property of the molecular gr...
CDPL_VIS_API bool hasAtomHighlightAreaBrush(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_BRUSH property of the molecular gr...
CDPL_VIS_API void setBondLabelSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::BOND_LABEL_SIZE property of the molecular graph mo...
CDPL_VIS_API bool hasBondCustomLabelColor(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_COLOR property of the molecular grap...
CDPL_VIS_API void setTripleBondTrimLength(Chem::Bond &bond, const SizeSpecification &length)
Sets the value of the Vis::BondProperty::TRIPLE_BOND_TRIM_LENGTH property of the bond bond to length.
CDPL_VIS_API bool hasBondLabelSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_LABEL_SIZE property of the molecular graph molgra...
CDPL_VIS_API const SizeSpecification & getAtomCustomLabelSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_SIZE property of the molecula...
CDPL_VIS_API const SizeSpecification & getBondLabelMargin(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_LABEL_MARGIN property of the molecular gra...
CDPL_VIS_API void setAtomConfigurationLabelFont(Chem::MolecularGraph &molgraph, const Font &font)
Sets the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_FONT property of the mole...
CDPL_VIS_API void clearAtomConfigurationLabelColor(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_COLOR property of the m...
CDPL_VIS_API void setAtomConfigurationLabelSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_SIZE property of the mole...
CDPL_VIS_API void setDoubleBondTrimLength(Chem::Bond &bond, const SizeSpecification &length)
Sets the value of the Vis::BondProperty::DOUBLE_BOND_TRIM_LENGTH property of the bond bond to length.
CDPL_VIS_API void clearAtomCustomLabelSize(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_SIZE property of the molecular...
CDPL_VIS_API const Color & getBondColor(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_COLOR property of the molecular graph molg...
CDPL_VIS_API void setBondCustomLabelSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_SIZE property of the molecular g...
CDPL_VIS_API bool hasAtomLabelFont(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_LABEL_FONT property of the molecular graph molgra...
CDPL_VIS_API const SizeSpecification & getDoubleBondTrimLength(const Chem::Bond &bond)
Returns the value of the Vis::BondProperty::DOUBLE_BOND_TRIM_LENGTH property of the bond bond.
CDPL_VIS_API const SizeSpecification & getReactionCenterLineLength(const Chem::Bond &bond)
Returns the value of the Vis::BondProperty::REACTION_CENTER_LINE_LENGTH property of the bond bond.
CDPL_VIS_API void clearBondLineSpacing(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_LINE_SPACING property of the molecular grap...
CDPL_VIS_API void setBondLineWidth(Chem::MolecularGraph &molgraph, const SizeSpecification &width)
Sets the value of the Vis::MolecularGraphProperty::BOND_LINE_WIDTH property of the molecular graph mo...
CDPL_VIS_API void setReactionCenterLineLength(Chem::Bond &bond, const SizeSpecification &length)
Sets the value of the Vis::BondProperty::REACTION_CENTER_LINE_LENGTH property of the bond bond to len...
CDPL_VIS_API const SizeSpecification & getAtomLabelSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_LABEL_SIZE property of the molecular graph...
CDPL_VIS_API void setAtomCustomLabelFont(Chem::MolecularGraph &molgraph, const Font &font)
Sets the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_FONT property of the molecular g...
CDPL_VIS_API const SizeSpecification & getBondHighlightAreaWidth(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_WIDTH property of the molec...
CDPL_VIS_API const Color & getAtomCustomLabelColor(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_COLOR property of the molecul...
CDPL_VIS_API void clearAtomConfigurationLabelFont(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_FONT property of the mo...
CDPL_VIS_API bool hasBondLineWidth(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_LINE_WIDTH property of the molecular graph molgra...
CDPL_VIS_API const Font & getSecondaryAtomLabelFont(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_FONT property of the molec...
CDPL_VIS_API void clearAtomCustomLabelFont(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_FONT property of the molecular...
CDPL_VIS_API void clearAtomCustomLabelColor(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_COLOR property of the molecula...
CDPL_VIS_API bool hasAtomLabelSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_LABEL_SIZE property of the molecular graph molgra...
CDPL_VIS_API bool hasAtomCustomLabelFont(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_FONT property of the molecular graph...
CDPL_VIS_API const SizeSpecification & getStereoBondHashSpacing(const Chem::Bond &bond)
Returns the value of the Vis::BondProperty::STEREO_BOND_HASH_SPACING property of the bond bond.
CDPL_VIS_API bool hasBondConfigurationLabelFont(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_FONT property of the molecula...
CDPL_VIS_API const Font & getAtomConfigurationLabelFont(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_CONFIGURATION_LABEL_FONT property of the m...
CDPL_VIS_API void clearRadicalElectronDotSize(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::RADICAL_ELECTRON_DOT_SIZE property of the atom atom.
CDPL_VIS_API const SizeSpecification & getHighlightAreaOutlineWidth(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::HIGHLIGHT_AREA_OUTLINE_WIDTH property of the mo...
CDPL_VIS_API void clearTripleBondTrimLength(Chem::Bond &bond)
Clears the value of the Vis::BondProperty::TRIPLE_BOND_TRIM_LENGTH property of the bond bond.
CDPL_VIS_API void setBondHighlightAreaBrush(Chem::MolecularGraph &molgraph, const Brush &brush)
Sets the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_BRUSH property of the molecula...
CDPL_VIS_API const SizeSpecification & getTripleBondTrimLength(const Chem::Bond &bond)
Returns the value of the Vis::BondProperty::TRIPLE_BOND_TRIM_LENGTH property of the bond bond.
CDPL_VIS_API const SizeSpecification & getAtomHighlightAreaSize(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_SIZE property of the molecu...
CDPL_VIS_API const SizeSpecification & getBondLineWidth(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_LINE_WIDTH property of the molecular graph...
CDPL_VIS_API bool hasStereoBondWedgeWidth(const Chem::Bond &bond)
Tells whether the Vis::BondProperty::STEREO_BOND_WEDGE_WIDTH property of the bond bond is set.
CDPL_VIS_API const Pen & getAtomHighlightAreaOutlinePen(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_OUTLINE_PEN property of the...
CDPL_VIS_API void setHighlightAreaOutlineWidth(Chem::MolecularGraph &molgraph, const SizeSpecification &width)
Sets the value of the Vis::MolecularGraphProperty::HIGHLIGHT_AREA_OUTLINE_WIDTH property of the molec...
CDPL_VIS_API void clearBondCustomLabelFont(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_FONT property of the molecular...
CDPL_VIS_API const SizeSpecification & getStereoBondWedgeWidth(const Chem::Bond &bond)
Returns the value of the Vis::BondProperty::STEREO_BOND_WEDGE_WIDTH property of the bond bond.
CDPL_VIS_API bool hasAtomHighlightAreaOutlinePen(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_OUTLINE_PEN property of the molecu...
CDPL_VIS_API void clearAtomLabelFont(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::ATOM_LABEL_FONT property of the molecular graph ...
CDPL_VIS_API const Brush & getAtomHighlightAreaBrush(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_HIGHLIGHT_AREA_BRUSH property of the molec...
CDPL_VIS_API void setAtomColorTable(Chem::MolecularGraph &molgraph, const ColorTable::SharedPointer &colors)
Sets the value of the Vis::MolecularGraphProperty::ATOM_COLOR_TABLE property of the molecular graph m...
CDPL_VIS_API void setSecondaryAtomLabelSize(Chem::MolecularGraph &molgraph, const SizeSpecification &size)
Sets the value of the Vis::MolecularGraphProperty::SECONDARY_ATOM_LABEL_SIZE property of the molecula...
CDPL_VIS_API bool hasAtomColor(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_COLOR property of the molecular graph molgraph is...
CDPL_VIS_API const Font & getBondLabelFont(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_LABEL_FONT property of the molecular graph...
CDPL_VIS_API const SizeSpecification & getReactionCenterLineSpacing(const Chem::Bond &bond)
Returns the value of the Vis::BondProperty::REACTION_CENTER_LINE_SPACING property of the bond bond.
CDPL_VIS_API bool hasBondLineSpacing(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_LINE_SPACING property of the molecular graph molg...
CDPL_VIS_API bool hasAtomCustomLabelSize(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::ATOM_CUSTOM_LABEL_SIZE property of the molecular graph...
CDPL_VIS_API void clearBondColor(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_COLOR property of the molecular graph molgr...
CDPL_VIS_API const Pen & getBondHighlightAreaOutlinePen(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_OUTLINE_PEN property of the...
CDPL_VIS_API void clearBondCustomLabelColor(Chem::MolecularGraph &molgraph)
Clears the value of the Vis::MolecularGraphProperty::BOND_CUSTOM_LABEL_COLOR property of the molecula...
CDPL_VIS_API const Color & getAtomColor(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::ATOM_COLOR property of the molecular graph molg...
CDPL_VIS_API const Color & getBondConfigurationLabelColor(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_CONFIGURATION_LABEL_COLOR property of the ...
CDPL_VIS_API bool hasBondHighlightAreaBrush(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_HIGHLIGHT_AREA_BRUSH property of the molecular gr...
CDPL_VIS_API void clearDoubleBondTrimLength(Chem::Bond &bond)
Clears the value of the Vis::BondProperty::DOUBLE_BOND_TRIM_LENGTH property of the bond bond.
CDPL_VIS_API const SizeSpecification & getBondLineSpacing(const Chem::MolecularGraph &molgraph)
Returns the value of the Vis::MolecularGraphProperty::BOND_LINE_SPACING property of the molecular gra...
CDPL_VIS_API bool hasBondLabelMargin(const Chem::MolecularGraph &molgraph)
Tells whether the Vis::MolecularGraphProperty::BOND_LABEL_MARGIN property of the molecular graph molg...
The namespace of the Chemical Data Processing Library.