34 #ifndef RACK_CART_BBOX
35 #define RACK_CART_BBOX
41 #include "resources.h"
61 getParameters().link(
"llLon", bbox.lowerLeft.x = 0.0,
"deg|m");
62 getParameters().link(
"llLat", bbox.lowerLeft.y = 0.0,
"deg|m");
63 getParameters().link(
"urLon", bbox.upperRight.x = 0.0,
"deg|m");
64 getParameters().link(
"urLat", bbox.upperRight.y = 0.0,
"deg|m");
68 getParameters().
copyStruct(cmd.getParameters(), cmd, *
this);
123 getParameters().link(
"mode", mode);
126 getParameters().
copyStruct(cmd.getParameters(), cmd, *
this);
151 CartesianBBoxTile() :
drain::BasicCommand(__FUNCTION__,
"Redefines bbox and compositing array size for several radars, applying original projection and resolution. See --cSize, --cBBox, --cProj.") {
152 getParameters().link(
"llLon", bbox.lowerLeft.x = 0.0,
"deg");
153 getParameters().link(
"llLat", bbox.lowerLeft.y = 0.0,
"deg");
154 getParameters().link(
"urLon", bbox.upperRight.x = 0.0,
"deg");
155 getParameters().link(
"urLat", bbox.upperRight.y = 0.0,
"deg");
159 getParameters().
copyStruct(cmd.getParameters(), cmd, *
this);
Simple implementation of Command: adds name , description and parameters .
Definition: Command.h:417
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:399
void setBoundingBox(double lonLL, double latLL, double lonUR, double latUR)
Sets bounding box in degrees OR in metres in the target coordinate system.
Definition: GeoFrame.cpp:90
Definition: cartesian-bbox.h:88
void exec() const
Run the command with current parameter values.
Definition: cartesian-bbox.h:95
Definition: cartesian-bbox.h:111
void exec() const
Run the command with current parameter values.
Definition: cartesian-bbox.cpp:56
Definition: cartesian-bbox.h:145
void exec() const
Run the command with current parameter values.
Definition: cartesian-bbox.cpp:180
Definition: cartesian-bbox.h:49
void exec() const
Run the command with current parameter values.
Definition: cartesian-bbox.h:72
Resources provided separately for each thread.
Definition: resources.h:67
Composite composite
TODO: inherit from ProductBase.
Definition: resources.h:119
Definition: DataSelector.cpp:44