29 #ifndef CDPL_VIS_REACTIONFUNCTIONS_HPP
30 #define CDPL_VIS_REACTIONFUNCTIONS_HPP
48 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 for chemical reactions composed of role-tagged Chem::Molecule components.
Definition: Reaction.hpp:59
Specifies a color in terms of its red, green and blue components and an alpha-channel for transparenc...
Definition: Color.hpp:52
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 setAgentLayoutDirection(Chem::Reaction &rxn, unsigned int dir)
Sets the value of the Vis::ReactionProperty::AGENT_LAYOUT_DIRECTION property of the reaction rxn to d...
CDPL_VIS_API bool getShowAgents(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::SHOW_AGENTS property of the reaction rxn.
CDPL_VIS_API bool hasComponentMargin(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::COMPONENT_MARGIN property of the reaction rxn is set.
CDPL_VIS_API bool hasArrowLength(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::ARROW_LENGTH property of the reaction rxn is set.
CDPL_VIS_API void clearAgentAlignment(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::AGENT_ALIGNMENT property of the reaction rxn.
CDPL_VIS_API void clearComponentMargin(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::COMPONENT_MARGIN property of the reaction rxn.
CDPL_VIS_API const SizeSpecification & getArrowHeadLength(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::ARROW_HEAD_LENGTH property of the reaction rxn.
CDPL_VIS_API void setComponentLayout(Chem::Reaction &rxn, unsigned int layout)
Sets the value of the Vis::ReactionProperty::COMPONENT_LAYOUT property of the reaction rxn to layout.
CDPL_VIS_API bool hasArrowLineWidth(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::ARROW_LINE_WIDTH property of the reaction rxn is set.
CDPL_VIS_API const SizeSpecification & getArrowLineWidth(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::ARROW_LINE_WIDTH property of the reaction rxn.
CDPL_VIS_API bool getShowPlusSigns(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::SHOW_PLUS_SIGNS property of the reaction rxn.
CDPL_VIS_API void clearShowReactants(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::SHOW_REACTANTS property of the reaction rxn.
CDPL_VIS_API const Color & getArrowColor(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::ARROW_COLOR property of the reaction rxn.
CDPL_VIS_API void clearAgentLayout(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::AGENT_LAYOUT property of the reaction rxn.
CDPL_VIS_API void setArrowLength(Chem::Reaction &rxn, const SizeSpecification &length)
Sets the value of the Vis::ReactionProperty::ARROW_LENGTH property of the reaction rxn to length.
CDPL_VIS_API void clearPlusSignColor(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::PLUS_SIGN_COLOR property of the reaction rxn.
CDPL_VIS_API unsigned int getArrowStyle(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::ARROW_STYLE property of the reaction rxn.
CDPL_VIS_API bool hasPlusSignColor(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::PLUS_SIGN_COLOR property of the reaction rxn is set.
CDPL_VIS_API void clearPlusSignLineWidth(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::PLUS_SIGN_LINE_WIDTH property of the reaction rxn.
CDPL_VIS_API const SizeSpecification & getPlusSignLineWidth(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::PLUS_SIGN_LINE_WIDTH property of the reaction rxn.
CDPL_VIS_API bool hasPlusSignLineWidth(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::PLUS_SIGN_LINE_WIDTH property of the reaction rxn is set.
CDPL_VIS_API void prepareFor2DVisualization(Chem::MolecularGraph &molgraph)
Prepares molgraph for 2D visualization by perceiving all properties (aromaticity, hybridization,...
CDPL_VIS_API bool getShowProducts(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::SHOW_PRODUCTS property of the reaction rxn.
CDPL_VIS_API bool hasArrowStyle(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::ARROW_STYLE property of the reaction rxn is set.
CDPL_VIS_API void clearShowPlusSigns(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::SHOW_PLUS_SIGNS property of the reaction rxn.
CDPL_VIS_API bool hasArrowShaftWidth(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::ARROW_SHAFT_WIDTH property of the reaction rxn is set.
CDPL_VIS_API void setShowProducts(Chem::Reaction &rxn, bool show)
Sets the value of the Vis::ReactionProperty::SHOW_PRODUCTS property of the reaction rxn to show.
CDPL_VIS_API bool hasShowPlusSigns(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::SHOW_PLUS_SIGNS property of the reaction rxn is set.
CDPL_VIS_API bool hasArrowHeadWidth(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::ARROW_HEAD_WIDTH property of the reaction rxn is set.
CDPL_VIS_API const SizeSpecification & getPlusSignSize(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::PLUS_SIGN_SIZE property of the reaction rxn.
CDPL_VIS_API const SizeSpecification & getArrowLength(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::ARROW_LENGTH property of the reaction rxn.
CDPL_VIS_API void setArrowStyle(Chem::Reaction &rxn, unsigned int style)
Sets the value of the Vis::ReactionProperty::ARROW_STYLE property of the reaction rxn to style.
CDPL_VIS_API void clearPlusSignSize(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::PLUS_SIGN_SIZE property of the reaction rxn.
CDPL_VIS_API void setShowPlusSigns(Chem::Reaction &rxn, bool show)
Sets the value of the Vis::ReactionProperty::SHOW_PLUS_SIGNS property of the reaction rxn to show.
CDPL_VIS_API void setPlusSignSize(Chem::Reaction &rxn, const SizeSpecification &size)
Sets the value of the Vis::ReactionProperty::PLUS_SIGN_SIZE property of the reaction rxn to size.
CDPL_VIS_API void clearComponentLayout(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::COMPONENT_LAYOUT property of the reaction rxn.
CDPL_VIS_API void clearShowProducts(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::SHOW_PRODUCTS property of the reaction rxn.
CDPL_VIS_API unsigned int getAgentLayoutDirection(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::AGENT_LAYOUT_DIRECTION property of the reaction rxn.
CDPL_VIS_API void clearArrowHeadLength(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::ARROW_HEAD_LENGTH property of the reaction rxn.
CDPL_VIS_API void setAgentLayout(Chem::Reaction &rxn, unsigned int layout)
Sets the value of the Vis::ReactionProperty::AGENT_LAYOUT property of the reaction rxn to layout.
CDPL_VIS_API void clearArrowStyle(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::ARROW_STYLE property of the reaction rxn.
CDPL_VIS_API unsigned int getComponentLayoutDirection(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::COMPONENT_LAYOUT_DIRECTION property of the reaction r...
CDPL_VIS_API void clearArrowColor(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::ARROW_COLOR property of the reaction rxn.
CDPL_VIS_API void setArrowLineWidth(Chem::Reaction &rxn, const SizeSpecification &width)
Sets the value of the Vis::ReactionProperty::ARROW_LINE_WIDTH property of the reaction rxn to width.
CDPL_VIS_API unsigned int getComponentLayout(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::COMPONENT_LAYOUT property of the reaction rxn.
CDPL_VIS_API unsigned int getAgentLayout(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::AGENT_LAYOUT property of the reaction rxn.
CDPL_VIS_API bool hasShowProducts(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::SHOW_PRODUCTS property of the reaction rxn is set.
CDPL_VIS_API bool hasShowAgents(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::SHOW_AGENTS property of the reaction rxn is set.
CDPL_VIS_API void setPlusSignColor(Chem::Reaction &rxn, const Color &color)
Sets the value of the Vis::ReactionProperty::PLUS_SIGN_COLOR property of the reaction rxn to color.
CDPL_VIS_API void setShowReactants(Chem::Reaction &rxn, bool show)
Sets the value of the Vis::ReactionProperty::SHOW_REACTANTS property of the reaction rxn to show.
CDPL_VIS_API void clearComponentLayoutDirection(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::COMPONENT_LAYOUT_DIRECTION property of the reaction rx...
CDPL_VIS_API bool hasAgentLayout(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::AGENT_LAYOUT property of the reaction rxn is set.
CDPL_VIS_API void clearArrowLineWidth(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::ARROW_LINE_WIDTH property of the reaction rxn.
CDPL_VIS_API void setShowAgents(Chem::Reaction &rxn, bool show)
Sets the value of the Vis::ReactionProperty::SHOW_AGENTS property of the reaction rxn to show.
CDPL_VIS_API void clearArrowHeadWidth(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::ARROW_HEAD_WIDTH property of the reaction rxn.
CDPL_VIS_API void clearArrowLength(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::ARROW_LENGTH property of the reaction rxn.
CDPL_VIS_API bool hasPlusSignSize(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::PLUS_SIGN_SIZE property of the reaction rxn is set.
CDPL_VIS_API void setArrowHeadWidth(Chem::Reaction &rxn, const SizeSpecification &width)
Sets the value of the Vis::ReactionProperty::ARROW_HEAD_WIDTH property of the reaction rxn to width.
CDPL_VIS_API void clearArrowShaftWidth(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::ARROW_SHAFT_WIDTH property of the reaction rxn.
CDPL_VIS_API void setPlusSignLineWidth(Chem::Reaction &rxn, const SizeSpecification &width)
Sets the value of the Vis::ReactionProperty::PLUS_SIGN_LINE_WIDTH property of the reaction rxn to wid...
CDPL_VIS_API void clearShowAgents(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::SHOW_AGENTS property of the reaction rxn.
CDPL_VIS_API void setComponentMargin(Chem::Reaction &rxn, const SizeSpecification &margin)
Sets the value of the Vis::ReactionProperty::COMPONENT_MARGIN property of the reaction rxn to margin.
CDPL_VIS_API const SizeSpecification & getArrowHeadWidth(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::ARROW_HEAD_WIDTH property of the reaction rxn.
CDPL_VIS_API void setAgentAlignment(Chem::Reaction &rxn, unsigned int alignment)
Sets the value of the Vis::ReactionProperty::AGENT_ALIGNMENT property of the reaction rxn to alignmen...
CDPL_VIS_API void setArrowHeadLength(Chem::Reaction &rxn, const SizeSpecification &length)
Sets the value of the Vis::ReactionProperty::ARROW_HEAD_LENGTH property of the reaction rxn to length...
CDPL_VIS_API bool hasAgentLayoutDirection(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::AGENT_LAYOUT_DIRECTION property of the reaction rxn is set.
CDPL_VIS_API bool hasAgentAlignment(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::AGENT_ALIGNMENT property of the reaction rxn is set.
CDPL_VIS_API const SizeSpecification & getArrowShaftWidth(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::ARROW_SHAFT_WIDTH property of the reaction rxn.
CDPL_VIS_API unsigned int getAgentAlignment(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::AGENT_ALIGNMENT property of the reaction rxn.
CDPL_VIS_API bool hasComponentLayout(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::COMPONENT_LAYOUT property of the reaction rxn is set.
CDPL_VIS_API void setComponentLayoutDirection(Chem::Reaction &rxn, unsigned int dir)
Sets the value of the Vis::ReactionProperty::COMPONENT_LAYOUT_DIRECTION property of the reaction rxn ...
CDPL_VIS_API bool hasShowReactants(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::SHOW_REACTANTS property of the reaction rxn is set.
CDPL_VIS_API void clearAgentLayoutDirection(Chem::Reaction &rxn)
Clears the value of the Vis::ReactionProperty::AGENT_LAYOUT_DIRECTION property of the reaction rxn.
CDPL_VIS_API const Color & getPlusSignColor(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::PLUS_SIGN_COLOR property of the reaction rxn.
CDPL_VIS_API bool hasArrowHeadLength(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::ARROW_HEAD_LENGTH property of the reaction rxn is set.
CDPL_VIS_API void setArrowColor(Chem::Reaction &rxn, const Color &color)
Sets the value of the Vis::ReactionProperty::ARROW_COLOR property of the reaction rxn to color.
CDPL_VIS_API bool getShowReactants(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::SHOW_REACTANTS property of the reaction rxn.
CDPL_VIS_API bool hasComponentLayoutDirection(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::COMPONENT_LAYOUT_DIRECTION property of the reaction rxn is s...
CDPL_VIS_API bool hasArrowColor(const Chem::Reaction &rxn)
Tells whether the Vis::ReactionProperty::ARROW_COLOR property of the reaction rxn is set.
CDPL_VIS_API const SizeSpecification & getComponentMargin(const Chem::Reaction &rxn)
Returns the value of the Vis::ReactionProperty::COMPONENT_MARGIN property of the reaction rxn.
CDPL_VIS_API void setArrowShaftWidth(Chem::Reaction &rxn, const SizeSpecification &width)
Sets the value of the Vis::ReactionProperty::ARROW_SHAFT_WIDTH property of the reaction rxn to width.
The namespace of the Chemical Data Processing Library.