|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Stores and formats vertical (+X) and horizontal (+Y) reference inspection markers. More...
#include <PlotMarkerManager.hpp>
Public Member Functions | |
| PlotMarkerManager ()=default | |
| Constructs an empty PlotMarkerManager. | |
| void | addMarker (real_t value, bool is_vertical) |
| Adds a reference guideline marker at the specified data coordinate. | |
| void | clearMarkers () noexcept |
| Clears all inspection reference markers. | |
| std::size_t | markersCount () const noexcept |
| Returns the total number of placed reference markers. | |
| std::span< const correlation::plotters::ReferenceLine > | markers () const noexcept |
| Returns a read-only view of all active reference markers. | |
| void | applyToConfig (correlation::plotters::PlotConfig &config) const |
| Populates reference markers into target PlotConfig. | |
Private Attributes | |
| std::vector< correlation::plotters::ReferenceLine > | markers_ |
Stores and formats vertical (+X) and horizontal (+Y) reference inspection markers.
|
default |
| void correlation::app::PlotMarkerManager::addMarker | ( | real_t | value, |
| bool | is_vertical ) |
Adds a reference guideline marker at the specified data coordinate.
| [in] | value | Data coordinate value. |
| [in] | is_vertical | True for vertical (+X) marker, false for horizontal (+Y) marker. |
| void correlation::app::PlotMarkerManager::applyToConfig | ( | correlation::plotters::PlotConfig & | config | ) | const |
Populates reference markers into target PlotConfig.
| [in,out] | config | Plot configuration to enrich. |

|
noexcept |
Clears all inspection reference markers.
|
nodiscardnoexcept |
Returns a read-only view of all active reference markers.

|
nodiscardnoexcept |
Returns the total number of placed reference markers.

|
private |