g4display
Loading...
Searching...
No Matches
g4display_options.h
Go to the documentation of this file.
1#pragma once
2
3// gemc
4#include "goptions.h"
5
6
7constexpr const char* G4DISPLAY_LOGGER = "g4display";
8constexpr const char* G4SCENE_LOGGER = "g4scene";
9
10namespace g4display {
11
12// G4View
13struct G4View {
14 std::string driver;
15 std::string dimension;
16 std::string position;
18};
19
20G4View getG4View(const std::shared_ptr<GOptions>& gopts);
21
22
23// G4Camera
24struct G4Camera {
25 std::string phi;
26 std::string theta;
27};
28
29G4Camera getG4Camera(const std::shared_ptr<GOptions>& gopts);
30
31// Dawn
32struct G4Dawn {
33 std::string phi;
34 std::string theta;
35};
36
37G4Dawn getG4Dawn(const std::shared_ptr<GOptions>& gopts);
38
39GOptions defineOptions();
40}
constexpr const char * G4SCENE_LOGGER
constexpr const char * G4DISPLAY_LOGGER
G4Dawn getG4Dawn(const std::shared_ptr< GOptions > &gopts)
G4View getG4View(const std::shared_ptr< GOptions > &gopts)
GOptions defineOptions()
G4Camera getG4Camera(const std::shared_ptr< GOptions > &gopts)