Interface to the container class to temporarily cache the ROOT objects to be drawn on a TCanvas and then saved to disk.
More...
#include <IRootVisualizationService.h>
Interface to the container class to temporarily cache the ROOT objects to be drawn on a TCanvas and then saved to disk.
Definition at line 61 of file IRootVisualizationService.h.
◆ AxisRanges
| enum MuonValR4::IRootVisualizationService::ICanvasObject::AxisRanges : std::uint8_t |
|
strong |
Enum to select the corner coordinates shown by the plot.
| Enumerator |
|---|
| xLow | |
| xHigh | |
| yLow | |
| yHigh | |
Definition at line 66 of file IRootVisualizationService.h.
67 xLow, xHigh, yLow, yHigh
◆ ~ICanvasObject()
| MuonValR4::IRootVisualizationService::ICanvasObject::~ICanvasObject |
( |
| ) |
|
|
default |
◆ add() [1/2]
| virtual void MuonValR4::IRootVisualizationService::ICanvasObject::add |
( |
PrimitivePtr_t && |
drawMe, |
|
|
const std::string & |
drawOpt = "" |
|
) |
| |
|
pure virtual |
◆ add() [2/2]
| virtual void MuonValR4::IRootVisualizationService::ICanvasObject::add |
( |
PrimitiveVec_t && |
drawMe | ) |
|
|
pure virtual |
Add a vector of TObjects to the ICanvasObject for later drawing onto a TCanvas.
- Parameters
-
| drawMe | List of unique TObject pointers |
◆ corner()
| virtual double MuonValR4::IRootVisualizationService::ICanvasObject::corner |
( |
const AxisRanges |
r | ) |
const |
|
pure virtual |
◆ expandPad()
| virtual void MuonValR4::IRootVisualizationService::ICanvasObject::expandPad |
( |
const double |
x, |
|
|
const double |
y |
|
) |
| |
|
pure virtual |
Expands the axes of the pad such that the coordinates are guaranteed to appear at least at the Canvas edges.
- Parameters
-
| x | Expansion in the width of the canvas |
| y | Expansion in the height of the canvas |
Implemented in MuonValR4::detail::DrawCanvasObject.
◆ setAxisTitles()
| virtual void MuonValR4::IRootVisualizationService::ICanvasObject::setAxisTitles |
( |
const std::string & |
xTitle = "", |
|
|
const std::string & |
yTitle = "", |
|
|
const std::string & |
zTitle = "" |
|
) |
| |
|
pure virtual |
Define the titles of the Canvas axes.
- Parameters
-
| xTitle | Title pf the x-axis |
| yTitle | Title pf the y-axis |
| zTitle | Title pf the z-axis |
Implemented in MuonValR4::detail::DrawCanvasObject.
◆ setRangeScale()
| virtual void MuonValR4::IRootVisualizationService::ICanvasObject::setRangeScale |
( |
const double |
s, |
|
|
bool |
quadCan = true |
|
) |
| |
|
pure virtual |
To ensure that the drawn objects are not cut by the axis limits, a flat scale-factor on the drawn axis intervals can be applied.
- Parameters
-
| s | scale-factor >1. |
| quadCan | Switch toggling whether the drawn intervals have an equal size |
Implemented in MuonValR4::detail::DrawCanvasObject.
◆ trash()
| virtual void MuonValR4::IRootVisualizationService::ICanvasObject::trash |
( |
| ) |
|
|
pure virtual |
The documentation for this struct was generated from the following file: