29 #ifndef CDPL_VIS_ATOMFUNCTIONS_HPP
30 #define CDPL_VIS_ATOMFUNCTIONS_HPP
53 class SizeSpecification;
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 representing a chemical atom and its bonded neighborhood.
Definition: Atom.hpp:57
Specifies the fill pattern and fill color of shapes.
Definition: Brush.hpp:50
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
CDPL_VIS_API bool hasSecondaryLabelFont(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::SECONDARY_LABEL_FONT property of the atom atom is set.
CDPL_VIS_API const std::string & getCustomLabel(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::CUSTOM_LABEL property of the atom atom.
CDPL_VIS_API void clearCustomLabel(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::CUSTOM_LABEL property of the atom atom.
CDPL_VIS_API const Color & getCustomLabelColor(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::CUSTOM_LABEL_COLOR property of the atom atom.
CDPL_VIS_API void setCustomLabelSize(Chem::Atom &atom, const SizeSpecification &size)
Sets the value of the Vis::AtomProperty::CUSTOM_LABEL_SIZE property of the atom atom to size.
CDPL_VIS_API bool hasSecondaryLabelSize(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::SECONDARY_LABEL_SIZE property of the atom atom is set.
CDPL_VIS_API void clearConfigurationLabelFont(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::CONFIGURATION_LABEL_FONT property of the atom atom.
CDPL_VIS_API void setColor(Chem::Atom &atom, const Color &color)
Sets the value of the Vis::AtomProperty::COLOR property of the atom atom to color.
CDPL_VIS_API void setConfigurationLabelFont(Chem::Atom &atom, const Font &font)
Sets the value of the Vis::AtomProperty::CONFIGURATION_LABEL_FONT property of the atom atom to font.
CDPL_VIS_API bool hasConfigurationLabelFont(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::CONFIGURATION_LABEL_FONT property of the atom atom is set.
CDPL_VIS_API void clearLabelFont(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::LABEL_FONT property of the atom atom.
CDPL_VIS_API void clearHighlightedFlag(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::HIGHLIGHTED_FLAG property of the atom atom.
CDPL_VIS_API bool hasColor(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::COLOR property of the atom atom is set.
CDPL_VIS_API const SizeSpecification & getLabelMargin(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::LABEL_MARGIN property of the atom atom.
CDPL_VIS_API void clearCustomLabelSize(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::CUSTOM_LABEL_SIZE property of the atom atom.
CDPL_VIS_API void clearConfigurationLabelSize(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::CONFIGURATION_LABEL_SIZE property of the atom atom.
CDPL_VIS_API void setHighlightAreaBrush(Chem::Atom &atom, const Brush &brush)
Sets the value of the Vis::AtomProperty::HIGHLIGHT_AREA_BRUSH property of the atom atom to brush.
CDPL_VIS_API void setHighlightAreaOutlinePen(Chem::Atom &atom, const Pen &pen)
Sets the value of the Vis::AtomProperty::HIGHLIGHT_AREA_OUTLINE_PEN property of the atom atom to pen.
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 clearCustomLabelColor(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::CUSTOM_LABEL_COLOR property of the atom atom.
CDPL_VIS_API void clearSecondaryLabelFont(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::SECONDARY_LABEL_FONT property of the atom atom.
CDPL_VIS_API const Color & getConfigurationLabelColor(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::CONFIGURATION_LABEL_COLOR property of the atom atom.
CDPL_VIS_API const Font & getConfigurationLabelFont(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::CONFIGURATION_LABEL_FONT property of the atom atom.
CDPL_VIS_API const SizeSpecification & getCustomLabelSize(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::CUSTOM_LABEL_SIZE property of the atom atom.
CDPL_VIS_API const Font & getLabelFont(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::LABEL_FONT property of the atom atom.
CDPL_VIS_API bool hasLabelSize(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::LABEL_SIZE property of the atom atom is set.
CDPL_VIS_API const Color & getColor(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::COLOR property of the atom atom.
CDPL_VIS_API void clearLabelSize(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::LABEL_SIZE property of the atom atom.
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 setLabelSize(Chem::Atom &atom, const SizeSpecification &size)
Sets the value of the Vis::AtomProperty::LABEL_SIZE property of the atom atom to size.
CDPL_VIS_API void setSecondaryLabelSize(Chem::Atom &atom, const SizeSpecification &size)
Sets the value of the Vis::AtomProperty::SECONDARY_LABEL_SIZE property of the atom atom to size.
CDPL_VIS_API void clearHighlightAreaBrush(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::HIGHLIGHT_AREA_BRUSH property of the atom atom.
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 void setLabelFont(Chem::Atom &atom, const Font &font)
Sets the value of the Vis::AtomProperty::LABEL_FONT property of the atom atom to font.
CDPL_VIS_API void clearLabelMargin(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::LABEL_MARGIN property of the atom atom.
CDPL_VIS_API bool hasCustomLabel(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::CUSTOM_LABEL property of the atom atom is set.
CDPL_VIS_API void clearHighlightAreaOutlinePen(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::HIGHLIGHT_AREA_OUTLINE_PEN property of the atom atom.
CDPL_VIS_API bool getHighlightedFlag(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::HIGHLIGHTED_FLAG property of the atom atom.
CDPL_VIS_API void clearConfigurationLabelColor(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::CONFIGURATION_LABEL_COLOR property of the atom atom.
CDPL_VIS_API void setLabelMargin(Chem::Atom &atom, const SizeSpecification &margin)
Sets the value of the Vis::AtomProperty::LABEL_MARGIN property of the atom atom to margin.
CDPL_VIS_API const Font & getSecondaryLabelFont(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::SECONDARY_LABEL_FONT property of the atom atom.
CDPL_VIS_API void setCustomLabelFont(Chem::Atom &atom, const Font &font)
Sets the value of the Vis::AtomProperty::CUSTOM_LABEL_FONT property of the atom atom to font.
CDPL_VIS_API bool hasLabelMargin(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::LABEL_MARGIN property of the atom atom is set.
CDPL_VIS_API bool hasCustomLabelColor(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::CUSTOM_LABEL_COLOR property of the atom atom is set.
CDPL_VIS_API void setHighlightedFlag(Chem::Atom &atom, bool highlighted)
Sets the value of the Vis::AtomProperty::HIGHLIGHTED_FLAG property of the atom atom to highlighted.
CDPL_VIS_API bool hasHighlightAreaOutlinePen(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::HIGHLIGHT_AREA_OUTLINE_PEN property of the atom atom is set.
CDPL_VIS_API void setSecondaryLabelFont(Chem::Atom &atom, const Font &font)
Sets the value of the Vis::AtomProperty::SECONDARY_LABEL_FONT property of the atom atom to font.
CDPL_VIS_API void setCustomLabel(Chem::Atom &atom, const std::string &text)
Sets the value of the Vis::AtomProperty::CUSTOM_LABEL property of the atom atom to text.
CDPL_VIS_API const Brush & getHighlightAreaBrush(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::HIGHLIGHT_AREA_BRUSH property of the atom atom.
CDPL_VIS_API bool hasLabelFont(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::LABEL_FONT property of the atom atom is set.
CDPL_VIS_API bool hasCustomLabelSize(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::CUSTOM_LABEL_SIZE property of the atom atom is set.
CDPL_VIS_API const SizeSpecification & getLabelSize(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::LABEL_SIZE property of the atom atom.
CDPL_VIS_API void clearSecondaryLabelSize(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::SECONDARY_LABEL_SIZE property of the atom atom.
CDPL_VIS_API bool hasCustomLabelFont(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::CUSTOM_LABEL_FONT property of the atom atom is set.
CDPL_VIS_API const Pen & getHighlightAreaOutlinePen(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::HIGHLIGHT_AREA_OUTLINE_PEN property of the atom atom.
CDPL_VIS_API void setConfigurationLabelColor(Chem::Atom &atom, const Color &color)
Sets the value of the Vis::AtomProperty::CONFIGURATION_LABEL_COLOR property of the atom atom to color...
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 bool hasConfigurationLabelColor(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::CONFIGURATION_LABEL_COLOR property of the atom atom is set.
CDPL_VIS_API void setCustomLabelColor(Chem::Atom &atom, const Color &color)
Sets the value of the Vis::AtomProperty::CUSTOM_LABEL_COLOR property of the atom atom to color.
CDPL_VIS_API void setConfigurationLabelSize(Chem::Atom &atom, const SizeSpecification &size)
Sets the value of the Vis::AtomProperty::CONFIGURATION_LABEL_SIZE property of the atom atom to size.
CDPL_VIS_API void clearColor(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::COLOR property of the atom atom.
CDPL_VIS_API bool hasHighlightAreaBrush(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::HIGHLIGHT_AREA_BRUSH property of the atom atom is set.
CDPL_VIS_API const SizeSpecification & getConfigurationLabelSize(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::CONFIGURATION_LABEL_SIZE property of the atom atom.
CDPL_VIS_API void clearCustomLabelFont(Chem::Atom &atom)
Clears the value of the Vis::AtomProperty::CUSTOM_LABEL_FONT property of the atom atom.
CDPL_VIS_API bool hasHighlightedFlag(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::HIGHLIGHTED_FLAG property of the atom atom is set.
CDPL_VIS_API const SizeSpecification & getSecondaryLabelSize(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::SECONDARY_LABEL_SIZE property of the atom atom.
CDPL_VIS_API bool hasConfigurationLabelSize(const Chem::Atom &atom)
Tells whether the Vis::AtomProperty::CONFIGURATION_LABEL_SIZE property of the atom atom is set.
CDPL_VIS_API const Font & getCustomLabelFont(const Chem::Atom &atom)
Returns the value of the Vis::AtomProperty::CUSTOM_LABEL_FONT property of the atom atom.
The namespace of the Chemical Data Processing Library.