SVG visualization plugin based on the ActSVG library.
|
| ProtoIndexedSurfaceGrid | ActsPlugins::Svg::SurfaceArrayConverter::convert (const Acts::GeometryContext &gctx, const Acts::SurfaceArray &surfaceArray, const Options &cOptions=Options()) |
| | Convert a surface array into needed constituents.
|
| template<typename view_type> |
| actsvg::svg::object | ActsPlugins::Svg::EventDataConverter::point (const Acts::Vector3 &pos, double size, const Style &style, unsigned int idx) |
| | Write/create a 3D point in a given view.
|
| actsvg::svg::object | ActsPlugins::Svg::EventDataConverter::pointXY (const Acts::Vector3 &pos, double size, const Style &style, unsigned int idx=0) |
| | Write/create a 3D point in XY view.
|
| actsvg::svg::object | ActsPlugins::Svg::EventDataConverter::pointZR (const Acts::Vector3 &pos, double size, const Style &style, unsigned int idx=0) |
| | Write/create a 3D point in ZR view.
|
◆ Sheets
The enumeration for sheets.
| Enumerator |
|---|
| eModuleInfo | |
| eGridInfo | |
| eCrossSectionXY | |
| eCrossSectionZR | |
◆ convert()
Convert a surface array into needed constituents.
- Parameters
-
| gctx | is the geometry context of the conversion call |
| surfaceArray | is the surface to convert |
| cOptions | the conversion options |
- Note
- the type of view is auto-generated from the binning information, it transforms the surface array into an indexed array of surfaces and then uses these proto objects, one can thus directly use the view function of the indexed surface grid
- Returns
- a collection of proto surface object and a grid, and associations
◆ point()
template<typename view_type>
| actsvg::svg::object ActsPlugins::Svg::EventDataConverter::point |
( |
const Acts::Vector3 & | pos, |
|
|
double | size, |
|
|
const Style & | style, |
|
|
unsigned int | idx ) |
Write/create a 3D point in a given view.
- Parameters
-
| pos | the position |
| size | the size of the object |
| style | the style of the object |
| idx | the running index |
- Returns
- a vector of svg objects
◆ pointXY()
| actsvg::svg::object ActsPlugins::Svg::EventDataConverter::pointXY |
( |
const Acts::Vector3 & | pos, |
|
|
double | size, |
|
|
const Style & | style, |
|
|
unsigned int | idx = 0 ) |
Write/create a 3D point in XY view.
- Parameters
-
| pos | the position |
| size | the size of the object |
| style | the style of the object |
| idx | the running index |
- Returns
- a vector of svg objects
◆ pointZR()
| actsvg::svg::object ActsPlugins::Svg::EventDataConverter::pointZR |
( |
const Acts::Vector3 & | pos, |
|
|
double | size, |
|
|
const Style & | style, |
|
|
unsigned int | idx = 0 ) |
Write/create a 3D point in ZR view.
- Parameters
-
| pos | the position |
| size | the size of the object |
| style | the style of the object |
| idx | the running index |
- Returns
- a vector of svg objects