g4display
Loading...
Searching...
No Matches
g4SceneProperties.h
Go to the documentation of this file.
1#pragma once
2
30// C++
31#include <string>
32#include <vector>
33
34// gemc
35#include "gbase.h"
36
37// g4display
38#include "g4display_options.h"
39
40
49class G4SceneProperties : public GBase<G4SceneProperties> {
50
51public:
61 explicit G4SceneProperties(const std::shared_ptr<GOptions>& gopts) : GBase(gopts, G4SCENE_LOGGER) {}
62
73 std::vector<std::string> addSceneTexts(const std::shared_ptr<GOptions>& gopts);
74
75 std::vector<std::string> scene_commands(const std::shared_ptr<GOptions>& gopts);
76
77
78};
79
Initializes scene properties for the Geant4 visualization.
std::vector< std::string > addSceneTexts(const std::shared_ptr< GOptions > &gopts)
Generates a vector of scene text commands.
G4SceneProperties(const std::shared_ptr< GOptions > &gopts)
Constructs a G4SceneProperties object.
std::vector< std::string > scene_commands(const std::shared_ptr< GOptions > &gopts)
constexpr const char * G4SCENE_LOGGER