g4display
Loading...
Searching...
No Matches
g4Text.h
Go to the documentation of this file.
1#pragma once
2
3// g4display
5
6// gemc
7#include "goptions.h"
8
9
10namespace g4display {
11
12// G4SceneText: Text does not move with the view but belongs to the scene
14 std::string text;
15 std::string color;
16 double x;
17 double y;
19 int size;
20};
21
22// method to return a vector of G4SceneText from the options
23std::vector<G4SceneText> getSceneTexts(const std::shared_ptr<GOptions>& gopts);
24
25// returns the array of options definitions
26GOptions addSceneTextsOptions();
27
28}
#define GNOT_SPECIFIED_SCENE_TEXT_Z
GOptions addSceneTextsOptions()
Definition g4Text.cc:34
vector< G4SceneText > getSceneTexts(const std::shared_ptr< GOptions > &gopts)
Definition g4Text.cc:11
std::string color
Definition g4Text.h:15
std::string text
Definition g4Text.h:14