![]() |
|
Creator of SVG image elements located in a SVG group with fixed structure. More...
#include <ImageSVG.h>

Public Member Functions | |
| ImagePanel (drain::image::TreeSVG &imagePanelGroup, const drain::image::Image &src, const drain::FilePath &filePath) | |
| Recommended constructor, if Image is defined: stores also METADATA. | |
| ImagePanel (drain::image::TreeSVG &imagePanelGroup, const drain::FilePath &filePath, const drain::Frame2D< drain::image::svg::coord_t > &geom={0, 0}) | |
| ImagePanel (drain::image::TreeSVG &imagePanelGroup, const drain::Frame2D< int > &geom={0, 0}) | |
| Retrieves the group defined last, or creates... | |
| drain::image::TreeSVG & | getImage (const drain::FilePath &filePath=drain::FilePath(), const drain::Frame2D< drain::image::svg::coord_t > &geom={0, 0}) const |
| drain::image::TreeSVG & | getImage (const drain::image::Image &src, const drain::FilePath &filepath) const |
| Recommended version, if image is defined. | |
| drain::image::TreeSVG & | getMetadata () const |
| drain::image::TreeSVG & | getOverlayGroup () const |
| drain::image::TreeSVG & | getBackGround () const |
| drain::image::TreeSVG & | getImageBorder () const |
| drain::image::TreeSVG & | getVectorOverlayGroup (const std::string &key="", const drain::Frame2D< drain::image::svg::coord_t > &geom={0, 0}) const |
| For vector graphics (grids, sectors) | |
| drain::image::TreeSVG & | getMouseListenerElem () const |
| drain::image::TreeSVG & | getDataImage (const drain::FilePath &filepath=drain::FilePath(), const drain::Frame2D< drain::image::svg::coord_t > &geom={0, 0}) const |
| drain::image::TreeSVG & | getDescription () |
| Return a description element (of the image). | |
| drain::image::TreeSVG & | getSelectionVisualisation () |
| Return a SELECTOR element or group. | |
Static Public Attributes | |
| static const ClassXML | IMAGE_PANEL |
| Group containing and image and, potentially, title TEXTs. | |
| static const ClassXML | BACKGROUND |
| RECT, by default invisible, used for aligning other objects, like titles. | |
| static const ClassXML | OVERLAY |
| Group for vector graphics. | |
| static const ClassXML | SELECTOR |
| static const ClassXML | DATA_ARRAY |
| Optional image serving as a data block. | |
| static const ClassXML | IMAGE_BORDER |
| Topmost layer, optionally with a visible border. | |
Protected Member Functions | |
| drain::image::TreeSVG & | getUniqueElem (drain::image::TreeSVG &parent, const drain::ClassXML &cls, drain::image::svg::tag_t type=drain::image::svg::GROUP) const |
| drain::image::TreeSVG & | getUniqueElem (drain::image::TreeSVG &parent, drain::image::svg::tag_t type=drain::image::svg::GROUP) const |
Protected Attributes | |
| drain::image::TreeSVG & | imagePanelGroup |
Creator of SVG image elements located in a SVG group with fixed structure.
Preferred way to add images (and related vector overlays. Creates a structure accessible with methods.
The panel structure consists of a group (svg::GROUP.IMAGE_PANEL) with
|
inline |
Recommended version, if image is defined.
Note: current version does not store METADATA.
|
inline |
Return a SELECTOR element or group.
Notice: the element type is not set by this function.
| drain::image::TreeSVG & getVectorOverlayGroup | ( | const std::string & | key = "", |
| const drain::Frame2D< drain::image::svg::coord_t > & | geom = {0,0} |
||
| ) | const |
For vector graphics (grids, sectors)
For
|
static |
Topmost layer, optionally with a visible border.
Optionally, this layer can be attached mouse event listener(s).
1.9.8