g4display
Loading...
Searching...
No Matches
g4display_options.h
Go to the documentation of this file.
1#pragma once
2
18#include "goptions.h"
19
20constexpr const char* G4DISPLAY_LOGGER = "g4display";
21constexpr const char* G4SCENE_LOGGER = "g4scene";
22
23namespace g4display {
34struct G4View
35{
36 std::string driver;
37 std::string dimension;
38 std::string position;
40};
41
48G4View getG4View(const std::shared_ptr<GOptions>& gopts);
49
58{
59 std::string phi;
60 std::string theta;
61};
62
69G4Camera getG4Camera(const std::shared_ptr<GOptions>& gopts);
70
77struct G4Dawn
78{
79 std::string phi;
80 std::string theta;
81};
82
91G4Dawn getG4Dawn(const std::shared_ptr<GOptions>& gopts);
92
105} // namespace g4display
constexpr const char * G4SCENE_LOGGER
constexpr const char * G4DISPLAY_LOGGER
G4Dawn getG4Dawn(const std::shared_ptr< GOptions > &gopts)
Read the dawn option node and return a projected G4Dawn struct.
G4View getG4View(const std::shared_ptr< GOptions > &gopts)
Read the g4view option node and return a projected G4View struct.
GOptions defineOptions()
Define the full set of g4display options.
G4Camera getG4Camera(const std::shared_ptr< GOptions > &gopts)
Read the g4camera option node and return a projected G4Camera struct.
Camera angle configuration derived from the g4camera option node.
DAWN view configuration derived from the dawn option node.
Viewer configuration derived from the g4view option node.