33#ifndef RACK_GRAPHICS_PANEL
34#define RACK_GRAPHICS_PANEL
37#include <drain/image/FilePng.h>
38#include <drain/image/TreeSVG.h>
39#include <drain/prog/Command.h>
40#include <drain/prog/CommandInstaller.h>
41#include <drain/prog/CommandBank.h>
42#include <drain/util/Output.h>
43#include <drain/image/TreeSVG.h>
44#include "data/SourceODIM.h"
48#include "graphics-radar.h"
49#include "graphics-panel.h"
79 int visitPostfix(
TreeSVG &root,
const TreeSVG::path_t &path)
override;
115 void exec()
const override;
119 typedef drain::image::AlignBase::Axis orientation_enum;
120 typedef drain::image::LayoutSVG::DirectionVert dir_vert_enum;
121 typedef drain::image::LayoutSVG::DirectionHorz dir_horz_enum;
125 std::string orientation;
129 std::string directionVert;
132 std::string directionHorz;
189 void exec()
const override;
193 std::string position;
222 getParameters().link(
"translate", transform.translate.tuple());
233 void exec()
const override;
326 void exec()
const override;
340 void exec()
const override;
352 void exec()
const override;
375 void exec()
const override;
437 getParameters().link(
"title",
ctx.svgPanelConf.mainTitle,
"<empty>|<string>|'auto'");
493 void exec()
const override;
Simple implementation of Command: adds name , description and parameters .
Definition Command.h:461
virtual const drain::ReferenceMap & getParameters() const
Returns the command parameters.
Definition Command.h:396
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:326
void copyStruct(const ReferenceMap &m, const T &src, T &dst, extLinkPolicy policy=RESERVE)
Experimental. Copies references and values of a structure to another.
Definition ReferenceMap.h:425
@ LINK
Definition ReferenceMap.h:410
A single-parameter command.
Definition Command.h:487
char separator
Default character used for splitting input and output. See setValues.
Definition SmartMap.h:81
Default implementation of a tree visitor (concept) compatible TreeUtils::traverser()
Definition TreeUtils.h:266
"Virtual" command base for FontSizes and HeaderSizes
Definition graphics-panel.h:264
Definition graphics-panel.h:147
virtual void exec() const override
Definition graphics-panel.cpp:499
Definition graphics-panel.h:317
virtual void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:640
Definition graphics-panel.h:379
void exec() const override
Run the command with current parameter values.
Definition graphics-panel.h:393
Definition graphics-panel.h:359
void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:721
Definition graphics-panel.h:485
void exec() const override
Definition graphics-panel.cpp:823
Definition graphics-panel.h:94
virtual void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:440
Definition graphics-panel.h:344
void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:673
Definition graphics-panel.h:331
virtual void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:653
Definition graphics-panel.h:427
A map of radar data, indexed by quantity code (DBZH, VRAD, etc).
Definition Data.h:1293
Resources provided separately for each thread.
Definition resources.h:70
Formats titles from metadata. Invoked by drain::TreeUtils::traverse()
Definition graphics-panel.h:68
void formatTitle(TreeSVG &group, const NodeSVG::map_t &attributes) const
Definition graphics-panel.cpp:249
Namespace for images and image processing tools.
Definition AccumulationArray.cpp:45
Definition AltitudeOp.cpp:42
A container for a static dictionary of enumeration values.
Definition Enum.h:51
Definition AlignAnchorSVG.h:77
Definition resources-svg.h:48