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 "gbase.h"
23
24// g4display
25#include "g4display_options.h"
26
40class G4SceneProperties : public GBase<G4SceneProperties>
41{
42public:
48 explicit G4SceneProperties(const std::shared_ptr<GOptions>& gopts)
49 : GBase(gopts, G4SCENE_LOGGER) {
50 }
51
68 std::vector<std::string> addSceneTexts(const std::shared_ptr<GOptions>& gopts);
69
83 std::vector<std::string> scene_commands(const std::shared_ptr<GOptions>& gopts);
84};
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 > 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