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"
96 int visitPostfix(
TreeSVG &root,
const TreeSVG::path_t &path)
override;
132 void exec()
const override;
136 typedef drain::image::AlignBase::Axis orientation_enum;
137 typedef drain::image::LayoutSVG::DirectionVert dir_vert_enum;
138 typedef drain::image::LayoutSVG::DirectionHorz dir_horz_enum;
142 std::string orientation;
146 std::string directionVert;
149 std::string directionHorz;
206 void exec()
const override;
210 std::string position;
239 getParameters().link(
"translate", transform.translate.tuple());
250 void exec()
const override;
343 void exec()
const override;
357 void exec()
const override;
369 void exec()
const override;
392 void exec()
const override;
454 getParameters().link(
"title",
ctx.svgPanelConf.mainTitle,
"<empty>|<string>|'auto'");
510 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:412
@ LINK
Definition ReferenceMap.h:397
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:253
"Virtual" command base for FontSizes and HeaderSizes
Definition graphics-panel.h:281
Definition graphics-panel.h:164
virtual void exec() const override
Definition graphics-panel.cpp:478
Definition graphics-panel.h:334
virtual void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:619
Definition graphics-panel.h:396
void exec() const override
Run the command with current parameter values.
Definition graphics-panel.h:410
Definition graphics-panel.h:376
void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:701
Definition graphics-panel.h:502
void exec() const override
Definition graphics-panel.cpp:803
Definition graphics-panel.h:111
virtual void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:419
Definition graphics-panel.h:361
void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:653
Definition graphics-panel.h:348
virtual void exec() const override
Run the command with current parameter values.
Definition graphics-panel.cpp:633
Definition graphics-panel.h:444
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:231
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