g4display
Loading...
Searching...
No Matches
g4display_options.h File Reference

Option structures and helpers for g4display configuration. More...

#include "goptions.h"
Include dependency graph for g4display_options.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  g4display::G4View
 Viewer configuration derived from the g4view option node. More...
 
struct  g4display::G4Camera
 Camera angle configuration derived from the g4camera option node. More...
 
struct  g4display::G4Dawn
 DAWN view configuration derived from the dawn option node. More...
 

Namespaces

namespace  g4display
 

Functions

G4View g4display::getG4View (const std::shared_ptr< GOptions > &gopts)
 Read the g4view option node and return a projected G4View struct.
 
G4Camera g4display::getG4Camera (const std::shared_ptr< GOptions > &gopts)
 Read the g4camera option node and return a projected G4Camera struct.
 
G4Dawn g4display::getG4Dawn (const std::shared_ptr< GOptions > &gopts)
 Read the dawn option node and return a projected G4Dawn struct.
 
GOptions g4display::defineOptions ()
 Define the full set of g4display options.
 

Variables

constexpr const char * G4DISPLAY_LOGGER = "g4display"
 
constexpr const char * G4SCENE_LOGGER = "g4scene"
 

Detailed Description

This header defines lightweight structures that project portions of the GOptions configuration into strongly-typed fields used by the GUI and by scene initialization helpers.

The public API here is:

Definition in file g4display_options.h.

Variable Documentation

◆ G4DISPLAY_LOGGER

constexpr const char* G4DISPLAY_LOGGER = "g4display"
constexpr

Definition at line 20 of file g4display_options.h.

◆ G4SCENE_LOGGER

constexpr const char* G4SCENE_LOGGER = "g4scene"
constexpr

Definition at line 21 of file g4display_options.h.