g4display
Loading...
Searching...
No Matches
g4SceneProperties.h
Go to the documentation of this file.
1#pragma once
2
17// C++
18#include <string>
19#include <vector>
20
21// gemc
22#include <gemc/gbase/gbase.h>
23
24// g4display
25#include "g4display_options.h"
26
39class G4SceneProperties : public GBase<G4SceneProperties>
40{
41public:
47 explicit G4SceneProperties(const std::shared_ptr<GOptions>& gopts)
48 : GBase(gopts, G4SCENE_LOGGER) {
49 }
50
68 std::vector<std::string> addSceneTexts(const std::shared_ptr<GOptions>& gopts);
69
76 std::vector<std::string> addSceneDecorations(const std::shared_ptr<GOptions>& gopts);
77
90 std::vector<std::string> scene_commands(const std::shared_ptr<GOptions>& gopts);
91};
Helper for constructing Geant4 visualization command sequences.
std::vector< std::string > addSceneTexts(const std::shared_ptr< GOptions > &gopts)
Build commands that insert configured text annotations into the scene.
G4SceneProperties(const std::shared_ptr< GOptions > &gopts)
Construct a scene-properties helper bound to a set of options.
std::vector< std::string > addSceneDecorations(const std::shared_ptr< GOptions > &gopts)
Build commands for optional scene decorations such as scale, axes, logos, and frame.
std::vector< std::string > scene_commands(const std::shared_ptr< GOptions > &gopts)
Build the full command sequence for scene initialization.
Option structures and helpers for g4display configuration.
constexpr const char * G4SCENE_LOGGER